|
| | XmlConfigDocument (const String &documentXmlElementName, IXmlSerializable &content) |
| | Constructs an XmlConfigDocument instance. More...
|
| |
|
| XmlConfigDocument (MultiXmlConfigDocument &rootDocument, IXmlSerializable &content) |
| | Constructs an XmlConfigDocument instance.
|
| |
|
virtual | ~XmlConfigDocument (void)=default |
| | Destructs this instance and frees all resouces.
|
| |
|
const String & | GetPath (void) const |
| | Returns the path to the current file loaded by this document
|
| |
|
IXmlSerializable & | GetContent (void) |
| | Returns the current content of this document
|
| |
|
MultiXmlConfigDocument * | GetRootDocument (void) |
| | Returns a pointer to the root document for MultiXmlConfigDocument
|
| |
|
Version | GetRecentVersion (void) const |
| | Returns the recent implemented schema version, used by XmlSerializationContext
|
| |
|
const DocumentTraits & | GetTraits (void) const |
| | Returns current traits of document
|
| |
|
void | Load (const String &documentPath) |
| | Loads the document from specified <paramref="documentPath"/>
|
| |
|
void | Load (const String &documentPath, const DocumentTraits &documentTraits) |
| | Loads the document from specified <paramref="documentPath"/> and with given <paramref="documentTraits"/>
|
| |
| bool | TryLoad (const String &documentPath) |
| | Tries to load document from specified <paramref="documentPath"/> More...
|
| |
| bool | TryLoad (const String &documentPath, const DocumentTraits &documentTraits) |
| | Tries to load document from specified <paramref="documentPath"/> and with given <paramref="documentTraits"/> More...
|
| |
|
void | Save (const String &documentPath) |
| | saves the content xml encoded to documentPath with filesystem sync
|
| |
| void | Save (const String &documentPath, bool syncFilesystem) |
| | saves the content xml encoded to documentPath More...
|
| |
| void | Save (const String &documentPath, bool syncFilesystem, const Version &schemaVersion) |
| | saves the content xml encoded to documentPath More...
|
| |
|
void | Save (void) |
| | saves the content xml encoded to the file the document was loaded from with filesystem sync
|
| |
| void | Save (bool syncFilesystem) |
| | saves the content xml encoded to the file the document was loaded from More...
|
| |
|
void | LoadString (const String &xmlContent, const String &contentTraits=String::Empty) |
| | Loads the document from a string
|
| |
Class handle xml configuration documents