|
SHAPER
9.15.0
|
Util class for import/export XAO. More...
Static Public Member Functions | |
| static bool | saveToFile (Xao *xaoObject, const std::string &fileName, const std::string &shapeFileName) |
| Saves the XAO object to a file. More... | |
| static const std::string | saveToXml (Xao *xaoObject) |
| Saves the XAO object to a XML string. More... | |
| static bool | readFromFile (const std::string &fileName, Xao *xaoObject) |
| Reads a XAO object from a file. More... | |
| static bool | setXML (const std::string &xml, Xao *xaoObject) |
| Reads a XAO object from an XML string. More... | |
Util class for import/export XAO.
|
static |
Saves the XAO object to a file.
| xaoObject | the object to export. |
| fileName | the path of the file to create. |
| shapeFileName | if not empty save the shape in an this external file. |
|
static |
Saves the XAO object to a XML string.
| xaoObject | the object to export. |
|
static |
Reads a XAO object from a file.
| fileName | the path of the file to read. |
| xaoObject | the XAO object. |
|
static |
Reads a XAO object from an XML string.
| xml | the XML string. |
| xaoObject | the XAO object. |