|
Graphite Version 3
An experimental 3D geometry processing program
|
A Factory that uses a MetaClass. More...
#include <OGF/gom/reflection/meta_class.h>
Public Member Functions | |
| FactoryMetaClass (MetaClass *mclass) | |
| FactoryMetaClass constructor. | |
| Object * | create (const ArgList &args) override |
| Creates an objet. | |
| MetaClass * | meta_class () const |
| Gets the MetaClass. | |
Public Member Functions inherited from OGF::Factory | |
| Factory () | |
| Factory constructor. | |
| ~Factory () override | |
| Factory destructor. | |
Public Member Functions inherited from GEO::Counted | |
| void | ref () const |
| Increments the reference count. | |
| void | unref () const |
| Decrements the reference count. | |
| bool | is_shared () const |
| Check if the object is shared. | |
| int | nb_refs () const |
| Gets the number of references that point to this object. | |
Additional Inherited Members | |
Static Public Member Functions inherited from GEO::Counted | |
| static void | ref (const Counted *counted) |
| Increments the reference count. | |
| static void | unref (const Counted *counted) |
| Decrements the reference count. | |
Protected Member Functions inherited from GEO::Counted | |
| Counted () | |
| Creates a reference counted object. | |
| virtual | ~Counted () |
| Destroys a reference counted object. | |
A Factory that uses a MetaClass.
Definition at line 538 of file meta_class.h.
|
inline |
FactoryMetaClass constructor.
| [in] | mclass | a pointer to the meta class |
Definition at line 544 of file meta_class.h.
Creates an objet.
Selects the best constructor according to the arguments.
| [in] | args | a const reference to the list of arguments |
Implements OGF::Factory.
|
inline |