#include <MetaObject.h>
Public Member Functions | |
bool | canCreate () const |
B * | create () const |
B & | instance () const |
MetaObject (const char *name) | |
~MetaObject () |
A MetaObject stores some information about a C++ class. The MetaObject class is used by the Manifest class. A MetaObject can also be used as an object factory for its class.
Definition at line 147 of file MetaObject.h.
Poco::MetaObject< C, B >::MetaObject | ( | const char * | name | ) | [inline] |
Definition at line 155 of file MetaObject.h.
Poco::MetaObject< C, B >::~MetaObject | ( | ) | [inline] |
Definition at line 159 of file MetaObject.h.
bool Poco::MetaObject< C, B >::canCreate | ( | ) | const [inline, virtual] |
Returns a reference to the only instance of the class. Used for singletons only.
Implements Poco::AbstractMetaObject< B >.
Definition at line 173 of file MetaObject.h.
B* Poco::MetaObject< C, B >::create | ( | ) | const [inline, virtual] |
Implements Poco::AbstractMetaObject< B >.
Definition at line 163 of file MetaObject.h.
B& Poco::MetaObject< C, B >::instance | ( | ) | const [inline, virtual] |
Create a new instance of a class. Cannot be used for singletons.
Implements Poco::AbstractMetaObject< B >.
Definition at line 168 of file MetaObject.h.