#include <object.h>
Public Member Functions | |
virtual Base::TypeID | type () const |
virtual 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) |
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 |
warning, this method should not be called before main() in any other module than the one declaring classdesc::factory