Murl::IFactoryObject< ClassType >::ClassInfo Class Reference
The class information object. More...
#include "murl_i_factory_object.h"
Inheritance diagram for Murl::IFactoryObject< ClassType >::ClassInfo:
Public Member Functions | |
ClassInfo () | |
The default constructor. | |
ClassInfo (const String &className, typename ClassType::CreateFunction createFunction, const ClassInfo *baseClassInfo, const PropertyInfo *propertyInfo, const AttributeInfo *attributeInfo) | |
The constructor taking a class name and create function. More... | |
const String & | GetClassName () const |
Get the class name. More... | |
ClassType::CreateFunction | GetCreateFunction () const |
Get the create function. More... | |
const ClassInfo * | GetBaseClassInfo () const |
Get the ClassInfo struct of the base class. More... | |
const PropertyInfo * | GetPropertyInfo () const |
Get the class' property info struct. More... | |
const AttributeInfo * | GetAttributeInfo () const |
Get the class' attribute info struct. More... | |
Protected Attributes | |
String | mClassName |
The class name. | |
ClassType::CreateFunction | mCreateFunction |
The function to create the derived class. | |
const ClassInfo * | mBaseClassInfo |
The class info struct of the base class if present. | |
const PropertyInfo * | mPropertyInfo |
The property info structure. | |
const AttributeInfo * | mAttributeInfo |
The attribute info structure. | |
Detailed Description
template<class ClassType>
class Murl::IFactoryObject< ClassType >::ClassInfo
The class information object.
Constructor & Destructor Documentation
◆ ClassInfo()
template<class ClassType >
|
inline |
The constructor taking a class name and create function.
- Parameters
-
className The class name. createFunction The function to create the derived class. baseClassInfo A pointer to the ClassInfo structure of an optional base class, if this class is a derived one. propertyInfo The property info struct of the class. attributeInfo The attribute info struct of the class.
Member Function Documentation
◆ GetClassName()
template<class ClassType >
|
inline |
Get the class name.
- Returns
- The class name.
References Murl::IFactoryObject< ClassType >::ClassInfo::mClassName.
◆ GetCreateFunction()
template<class ClassType >
|
inline |
Get the create function.
- Returns
- The create function.
References Murl::IFactoryObject< ClassType >::ClassInfo::mCreateFunction.
◆ GetBaseClassInfo()
template<class ClassType >
|
inline |
Get the ClassInfo struct of the base class.
- Returns
- The ClassInfo struct, or null if there is no base class.
References Murl::IFactoryObject< ClassType >::ClassInfo::mBaseClassInfo.
◆ GetPropertyInfo()
template<class ClassType >
|
inline |
Get the class' property info struct.
- Returns
- The property info struct.
References Murl::IFactoryObject< ClassType >::ClassInfo::mPropertyInfo.
◆ GetAttributeInfo()
template<class ClassType >
|
inline |
Get the class' attribute info struct.
- Returns
- The attribute info struct.
References Murl::IFactoryObject< ClassType >::ClassInfo::mAttributeInfo.
The documentation for this class was generated from the following file:
- murl_i_factory_object.h