Polycode::Object Class Reference
Basic dictionary data object.
More...
List of all members.
Detailed Description
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.
Member Function Documentation
bool Object::loadFromXML |
( |
const String & |
fileName |
) |
|
Loads data from XML file into the object.
- Parameters:
-
| fileName | Path to the XML file to load. |
- Returns:
- Returns true is succesful, false if otherwise.
bool Object::loadFromXMLString |
( |
const String & |
xmlString |
) |
|
Loads data from XML string into the object.
- Parameters:
-
| xmlString | XML data in a string. |
- Returns:
- Returns true is succesful, false if otherwise.
void Object::saveToXML |
( |
const String & |
fileName |
) |
|
Saves the object to an XML file.
- Parameters:
-
| fileName | Path to the XML file to save to. |