24#ifndef KAGE_UTIL_XML_H
25 #define KAGE_UTIL_XML_H
46 bool parse(
string p_content);
63 bool setXML(
string p_xmldata);
70 unsigned int expectFor(
unsigned int p_index,
string p_token);
71 unsigned int lookFor(
unsigned int p_index,
string p_token);
void debugToken(unsigned int p_index)
Definition: xml.cpp:341
string getXMLChildren(vector< XmlTag > p_children, string p_tab)
Definition: xml.cpp:286
virtual ~BasicXml()
Definition: xml.cpp:34
XmlTag _root
Definition: xml.h:78
unsigned int getPreviousIndex(unsigned int p_index)
Definition: xml.cpp:97
string _xmlContent
Definition: xml.h:76
void printXML()
Definition: xml.cpp:268
unsigned int lookFor(unsigned int p_index, string p_token)
Definition: xml.cpp:86
void listChildren(vector< XmlTag > p_tags, string p_tab)
Definition: xml.cpp:256
unsigned int skipWhitespace(unsigned int p_index)
Definition: xml.cpp:63
bool tokenize()
Definition: xml.cpp:239
unsigned int expectFor(unsigned int p_index, string p_token)
Definition: xml.cpp:73
bool parse()
Definition: xml.cpp:139
bool equalTo(BasicXml p_xmlTag)
BasicXml()
Definition: xml.cpp:26
static string openXMLFile(string p_path)
Definition: xml.cpp:538
string getXML()
Definition: xml.cpp:317
static bool isNumeric(string p_value)
Definition: xml.cpp:109
XmlTag getRoot()
Definition: xml.cpp:50
void copy(BasicXml p_xmlTag)
string getContent()
Definition: xml.cpp:41
void setContent(string p_xmlContent)
Definition: xml.cpp:38
vector< XmlTagProperty > _xmlTagProperties
Definition: xml.h:77
bool setXML(string p_xmldata)
Definition: xml.cpp:273
void setProperties(vector< XmlTagProperty > p_xmlTagProperties)
vector< XmlToken > _tokens
Definition: xml.h:56
std::string toString()
Definition: xml.cpp:53
unsigned int createTag(unsigned int p_index, XmlTag &p_xmlTagParent)
Definition: xml.cpp:349