libUTL++
|
Encapsulate class-related knowledge for concrete classes. More...
#include <RunTimeClass.h>
Public Member Functions | |
TConcreteRunTimeClass (const RunTimeClass *baseClass) | |
Constructor. More... | |
virtual Object * | create () const |
Create a new instance of this class. More... | |
Public Member Functions inherited from utl::TRunTimeClass< T > | |
TRunTimeClass (const RunTimeClass *baseClass) | |
Constructor. More... | |
virtual const char * | vname () const |
Get the name. More... | |
virtual size_t | size () const |
Get the size of this class (as in sizeof()). More... | |
Public Member Functions inherited from utl::RunTimeClass | |
RunTimeClass (const RunTimeClass *baseClass) | |
Constructor. More... | |
RunTimeClass (const RunTimeClass &runTimeClass) | |
Copy constructor. More... | |
bool | _isA (const RunTimeClass *rtc) const |
Determine whether thisClass.isA(givenClass). More... | |
const RunTimeClass * | baseClass () const |
Get the base class. More... | |
const char * | name () const |
Get the name. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from utl::RunTimeClass | |
static void | printClassNames () |
Print class names. More... | |
static void | add (RunTimeClass *rtc) |
Add a class to the repository of known classes. More... | |
static const RunTimeClass * | find (const char *className) |
Find the RunTimeClass by the given name. More... | |
Encapsulate class-related knowledge for concrete classes.
TConcreteRunTimeClass inherits from TRunTimeClass, and implements certain virtual methods that only apply to concrete (non-abstract) classes.
Definition at line 198 of file RunTimeClass.h.
|
inline |
Constructor.
baseClass | base class of this class |
Definition at line 205 of file RunTimeClass.h.
|
inlinevirtual |
Create a new instance of this class.
Reimplemented from utl::RunTimeClass.
Definition at line 216 of file RunTimeClass.h.