Kigs Framework
Doc version 0.8
Open source multi purpose Rapid Application Development framework
|
#include <XML.h>
Public Member Functions | |
virtual | ~XMLTemplate () |
destructor | |
XMLTemplate () | |
default constructor | |
Public Member Functions inherited from XMLBase | |
void | setEncoding (std::string encoding) |
set the encoding type (string) | |
void | setVersion (std::string version) |
set the version (string) | |
void | setStandalone (std::string standalone) |
set standalone (string) | |
std::string | getVersion () |
return version (string) | |
std::string | getEncoding () |
return encoding (string) | |
std::string | getStandalone () |
return standalone (string) | |
void | setRoot (XMLNodeBase *root) |
set the root node | |
XMLNodeBase * | getRoot () |
return root node | |
void | WriteFile (const std::string &filename) |
write the current xml hierarchy to a xml file | |
Static Public Member Functions | |
static XMLTemplate * | createXML () |
create a empty XMLTemplate instance | |
Static Public Member Functions inherited from XMLBase | |
static XMLBase * | ReadFile (const std::string &filename, const char *force_as_format) |
read the given xml file, and return the XMLTemplate instance giving the xml hierarchy | |
static bool | ReadFile (const std::string &filename, CoreModifiable *delegateObject, const char *force_as_format) |
read the given xml file, using the given delegate to parse | |
Additional Inherited Members | |
Protected Attributes inherited from XMLBase | |
std::string | mEncoding |
encoding | |
std::string | mVersion |
version | |
std::string | mStandalone |
standalone | |
std::string | mPath |
original path wheh loadded if available | |
XMLNodeBase * | mRoot =nullptr |
root node | |
Manage XML structure using string or string_view.