|
|
Our Object base class. Everything in the network must have Object as base class.
int |
[protected]
|
default constructor
~ |
[virtual]
destructor
void |
Notify the object we're adding a reference
void |
Notify the object we're removing a reference (might destroy the object)
int |
Returns the number of references
void |
[virtual]
Causes the object to be destroyed, it might be redefined for an object pool
void |
[const virtual]
Serialize (binary) the object to a stream
void |
[virtual]
Unserialize (binary) the object from a stream
void |
[virtual]
How to handle an ununderstood method (VMethod)
void |
[const pure virtual]
Generic print function
bool |
[const virtual]
Is it a nil Object
void |
[const virtual]
Prints an object in a more "user-friendly" format
void |
[virtual]
Generic read function
friend ostream & |
Prints the object to a stream
ObjectRef |
[virtual]
Makes a (deep) copy of the object
string |
[const virtual]
Returns the name of the class of the Object
ObjectRef |
[static]
Creates an instance of an object by class name
template<class T> int |
[static]
Registers the object name
map<string, _ObjectFactory*>& |
[static]
TypeMap<_ObjectFactory*>& |
[static]