AnimatLab  2
TestClassFactory Class Reference
+ Inheritance diagram for TestClassFactory:
+ Collaboration diagram for TestClassFactory:

Public Member Functions

virtual CStdSerializeCreateObject (std::string strClassType, std::string strObjectType, bool bThrowError=true)
 Creates an object of the specified class and object types. More...
- Public Member Functions inherited from StdUtils::IStdClassFactory
 IStdClassFactory ()
 Default constructor. More...
virtual ~IStdClassFactory ()
 Destructor. More...

Additional Inherited Members

- Static Public Member Functions inherited from StdUtils::IStdClassFactory
static IStdClassFactoryLoadModule (std::string strModuleName, bool bThrowError=true)
 Loads a DLL module by name and attempts to call the GetStdClassFactory method to get a pointer to the class factory. More...

Detailed Description

Definition at line 8 of file TestClassFactory.h.

Member Function Documentation

CStdSerialize * TestClassFactory::CreateObject ( std::string  strClassType,
std::string  strObjectType,
bool  bThrowError = true 

Creates an object of the specified class and object types.

strClassTypeType of the class.
strObjectTypeType of the object.
bThrowErrortrue to throw error if there is a problem.
null if it fails and bThrowError is false, else a pointer to the created object.

Implements StdUtils::IStdClassFactory.

Definition at line 27 of file TestClassFactory.cpp.

References StdUtils::Std_ToUpper(), and StdUtils::Std_Trim().

+ Here is the call graph for this function:

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