InFact
Interpreter and factory for easily creating C++ objects at run-time
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
infact::Initializer< T > Class Template Reference

A class to initialize a Factory-constructible object. More...

#include <stream-init.h>

Inheritance diagram for infact::Initializer< T >:
infact::StreamInitializer

Public Member Functions

 Initializer (T *member)
 
virtual ~Initializer ()
 
virtual void Init (StreamTokenizer &st, Environment *env=nullptr)
 
- Public Member Functions inherited from infact::StreamInitializer
 StreamInitializer ()
 
virtual ~StreamInitializer ()
 

Detailed Description

template<typename T>
class infact::Initializer< T >

A class to initialize a Factory-constructible object.

Template Parameters
Ta shared_ptr to any type constructible by a Factory

Definition at line 84 of file stream-init.h.

Constructor & Destructor Documentation

template<typename T>
infact::Initializer< T >::Initializer ( T *  member)
inline

Definition at line 86 of file stream-init.h.

template<typename T>
virtual infact::Initializer< T >::~Initializer ( )
inlinevirtual

Definition at line 87 of file stream-init.h.

Member Function Documentation

template<typename T>
virtual void infact::Initializer< T >::Init ( StreamTokenizer st,
Environment env = nullptr 
)
inlinevirtual

Implements infact::StreamInitializer.

Definition at line 88 of file stream-init.h.


The documentation for this class was generated from the following file: