Classdesc 3.44
|
#include <object.h>
Public Member Functions | |
virtual Base::TypeID | type () const |
virtual classdesc::object * | clone () const |
This * | cloneT () const |
same as clone(), but returning fully typed pointer | |
virtual void | pack (pack_t &b) const |
virtual void | unpack (pack_t &b) |
Public Member Functions inherited from object | |
classdesc::object * | cloneT () const |
Additional Inherited Members | |
Public Types inherited from object | |
typedef int | TypeID |
Static Public Member Functions inherited from object | |
static classdesc::object * | create (TypeID) |
template for handling polymorphic heirarchy, saves having to explicitly declare all the virtual functions. Uses the curiously recurring template pattern. Declare a new type foo
, derived from bar
having type identifier t
as
NB. This class is unsuitable as a base of an abstract class. Use object
for that purpose instead.
|
inlinevirtual |
Implements object.
|
inlinevirtual |
Implements object.
|
inlinevirtual |
warning, this method should not be called before main() in any other module than the one declaring classdesc::factory
Implements object.
|
inlinevirtual |
Implements object.