Kigs Framework  Doc version 0.8
Open source multi purpose Rapid Application Development framework
Public Member Functions | Static Public Member Functions | Protected Attributes | Friends | List of all members
XMLBase Class Referenceabstract

#include <XML.h>

Inheritance diagram for XMLBase:
XMLTemplate< StringType >

Public Member Functions

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
 
XMLNodeBasegetRoot ()
 return root node
 
void WriteFile (const std::string &filename)
 write the current xml hierarchy to a xml file
 

Static Public Member Functions

static XMLBaseReadFile (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
 

Protected Attributes

std::string mEncoding
 encoding
 
std::string mVersion
 version
 
std::string mStandalone
 standalone
 
std::string mPath
 original path wheh loadded if available
 
XMLNodeBasemRoot =nullptr
 root node
 

Friends

class XMLReaderFile
 
class XMLWriterFile
 

Detailed Description

Base class for XML template structure.


The documentation for this class was generated from the following files: