Darwin
1.10(beta)
|
standard Darwin object interface (cloneable and writeable) More...
Additional Inherited Members | |
![]() | |
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"; }) | |
![]() | |
virtual drwnCloneable * | clone () const =0 |
returns a copy of the class usually implemented as virtual Foo* clone() { return new Foo(*this); } | |
standard Darwin object interface (cloneable and writeable)