Polycode
|
Basic dictionary data object. More...
Public Member Functions | |
Object () | |
Default constructor. | |
bool | loadFromXML (const String &fileName) |
Loads data from XML file into the object. | |
bool | loadFromXMLString (const String &xmlString) |
Loads data from XML string into the object. | |
void | saveToXML (const String &fileName) |
Saves the object to an XML file. | |
Public Attributes | |
ObjectEntry | root |
Root object entry. |
Basic dictionary data object.
Objects can store organized data and save and load it from disk. An object contains a hierarchy of ObjectEntry classes which hold the actual data.
bool Object::loadFromXML | ( | const String & | fileName | ) |
Loads data from XML file into the object.
fileName | Path to the XML file to load. |
bool Object::loadFromXMLString | ( | const String & | xmlString | ) |
Loads data from XML string into the object.
xmlString | XML data in a string. |
void Object::saveToXML | ( | const String & | fileName | ) |
Saves the object to an XML file.
fileName | Path to the XML file to save to. |