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::Constructor< T > Class Template Referenceabstract

An interface with a single virtual method that constructs a concrete instance of the abstract type T. More...

#include <factory.h>

Public Member Functions

virtual ~Constructor ()
 
virtual T * NewInstance () const =0
 

Detailed Description

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

An interface with a single virtual method that constructs a concrete instance of the abstract type T.

Definition at line 531 of file factory.h.

Constructor & Destructor Documentation

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

Definition at line 533 of file factory.h.

Member Function Documentation

template<typename T>
virtual T* infact::Constructor< T >::NewInstance ( ) const
pure virtual

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