Darwin
1.10(beta)
|
interface for objects that can serialize and de-serialize themselves More...
Public Member Functions | |
bool | write (const char *filename) const |
write object to file (calls save) | |
bool | read (const char *filename) |
read object from file (calls load) | |
virtual bool | save (drwnXMLNode &xml) const =0 |
write object to XML node (see also write) | |
virtual bool | load (drwnXMLNode &xml)=0 |
read object from XML node (see also read) | |
void | dump () const |
print object's current state to standard output (for debugging) | |
![]() | |
virtual const char * | type () const =0 |
returns object type as a string (e.g., Foo::type() { return "Foo"; }) | |
interface for objects that can serialize and de-serialize themselves