DataDirector API
|
Object that encapsulates XML loading and saving methods. More...
#include <DDD_XMLConfigMgr.h>
Public Member Functions | |
DDD_XMLConfigMgr () | |
virtual | ~DDD_XMLConfigMgr () |
bool | LoadXML (XMLConfigTarget *target, const char *xmlFile, bool readGUISettings=false) |
bool | SaveXML (XMLConfigTarget *target, const char *xmlFile, bool saveGUISettings=false) |
Public Member Functions inherited from DDD_ProgressPublisher | |
DDD_ProgressPublisher () | |
void | SetProgressCallback (ProgressCallback callback) |
void | UpdateProgress (float percentage) |
Additional Inherited Members | |
Static Public Member Functions inherited from DDD_LogFacade | |
static void | LogDebug (const char *format,...) |
static void | LogInfo (const char *format,...) |
static void | LogWarning (const char *format,...) |
static void | LogError (const char *format,...) |
Protected Attributes inherited from DDD_ProgressPublisher | |
ProgressCallback | _progressCb |
float | _currentProgress |
Object that encapsulates XML loading and saving methods.
DDD_XMLConfigMgr | ( | ) |
Constructor
|
virtual |
Destructor
bool LoadXML | ( | XMLConfigTarget * | target, |
const char * | xmlFile, | ||
bool | readGUISettings = false |
||
) |
Populates target with data given by XML file
target | Target instance that is currently using this XMLConfigMgr |
xmlFile | Filename of XML file that is to be loaded. |
readGUISettings | (Optional) If Target has a GUI or contains a DDD_Viewer, this should be true. |
bool SaveXML | ( | XMLConfigTarget * | target, |
const char * | xmlFile, | ||
bool | saveGUISettings = false |
||
) |
Populates XML file with data given by target
target | Target instance that is currently using this XMLConfigMgr |
xmlFile | Filename of XML file that is to be saved. |
readGUISettings | (Optional) If Target has a GUI or contains a DDD_Viewer, this should be true. |