|
| cXmlDocument () |
| Create a document with a name. The name of the document is also the filename of the XML. More...
|
|
| cXmlDocument (const cXmlDocument &rCopy) |
|
virtual | ~cXmlDocument () |
|
void | operator= (const cXmlDocument &rCopy) |
|
HRESULT | LoadFile (cStreamInput &stmIn) |
|
HRESULT | LoadFile (const FILECHAR_t *pszFilename) |
| Load a file using the given filename. Returns true if successful. More...
|
|
HRESULT | SaveFile (cStreamOutput &rOut) const |
| Save a file using the given cStreamOutput*. Returns true if successful. More...
|
|
HRESULT | SaveFile (const FILECHAR_t *pszFilename) const |
| Save a file using the given filename. Returns true if successful. More...
|
|
virtual void | SetClear () |
| Delete all the children of this node. Does not affect 'this'. More...
|
|
virtual cXmlContainer * | ToContainer () |
|
virtual cXmlNode * | ToNode () |
| cast cXmlContainer is a cXmlDocument or cXmlElement More...
|
|
virtual cXmlNode * | Clone () const |
| [internal use] More...
|
|
virtual HRESULT | SetParseNode (cXmlReader &rReader) |
|
virtual HRESULT | Print (cStreamOutput &rOut, int nDepth=0) const |
| Print this Document to a cStreamOutput stream. More...
|
|
virtual bool | OnVisit (IXmlVisitor *content) const |
| Walk the XML tree visiting this node and all of its children. More...
|
|
virtual cXmlDocument * | ToDocument () |
|
virtual const cXmlDocument * | ToDocument () const |
|
virtual | ~cXmlNode () |
|
XMLNODE_TYPE | get_Type () const |
|
bool | isType (XMLNODE_TYPE eType) const |
|
void | put_UserData (void *pUserData) |
|
void * | get_UserData () const |
|
void | put_Value (cXmlString sValue) |
|
const cXmlString & | get_Value () const |
|
HRESULT | QueryValueInt (int *piValue) const |
|
HRESULT | QueryValueDouble (double *pdValue) const |
| QueryValueDouble examines the value string. See QueryValueInt(). More...
|
|
int | get_ValueInt () const |
| Return the value of this attribute, converted to an integer. More...
|
|
double | get_ValueDouble () const |
| Return the value of this attribute, converted to a double. More...
|
|
void | put_ValueInt (int iValue) |
| Set the value from an integer. More...
|
|
void | put_ValueDouble (double dValue) |
| Set the value from a double. More...
|
|
cXmlDocument * | get_Document () const |
|
cXmlNode * | GetPreviousSibling (const char *pszValue) const |
| Navigate to a sibling node. More...
|
|
cXmlNode * | GetNextSiblingX (const char *pszValue) const |
| Navigate to a sibling node with the given 'value'. More...
|
|
cXmlElement * | get_NextSiblingElement () const |
|
cXmlElement * | GetNextSiblingElement (const char *pszValue) const |
|
HRESULT | SetParse (const char *pszData, CXML_ENCODING_TYPE eEncoding=CXML_ENCODING_UNKNOWN) |
|
ITERATE_t | get_Row () const |
|
StrLen_t | get_Column () const |
|
cXmlNode * | get_Next () const |
|
cXmlNode * | get_Prev () const |
|
virtual | ~cListNodeBase () |
|
cListBase * | get_Parent () const noexcept |
|
cListNodeBase * | get_Next () const noexcept |
|
cListNodeBase * | get_Prev () const noexcept |
|
bool | hasParent () const noexcept |
|
void | RemoveFromParent () |
|
virtual HRESULT | DisposeThis () |
|
| cHeapObject () |
|
virtual | ~cHeapObject () |
|
bool | IsValidInsideN (INT_PTR index) const |
|
bool | IsValidInsidePtr (void const *pTest) const |
|
virtual size_t | GetHeapStatsThis (OUT ITERATE_t &iAllocCount) const |
|
virtual bool | isValidCheck () const noexcept |
|
virtual | ~cXmlContainer () |
|
cXmlNode * | GetChildFirst (const char *value) const |
| The first child of this node with the matching 'value'. Will be null if none found. More...
|
|
cXmlNode * | GetChildLast (const char *value) const |
| The last child of this node matching 'value'. Will be null if there are no children. More...
|
|
cXmlNode * | IterateChildren (const char *value, const cXmlNode *previous) const |
| This flavor of IterateChildren searches for children with a particular 'value'. More...
|
|
HRESULT | LinkChildEnd (cXmlNode *addThis) |
|
void | SetCopyChildren (const cXmlContainer &cont) |
|
cXmlNode * | InsertChildEnd (const cXmlNode &addThis) |
|
cXmlNode * | InsertChildAfter (cXmlNode *afterThis, const cXmlNode &addThis) |
|
cXmlNode * | InsertChildBefore (cXmlNode *beforeThis, const cXmlNode &addThis) |
|
bool | RemoveChild (cXmlNode *removeThis) |
| Delete a child of this node. More...
|
|
cXmlElement * | get_FirstChildElement () const |
| Convenience function to get through elements. More...
|
|
cXmlElement * | GetFirstChildElement (const char *pszValue) const |
| Convenience function to get through elements. More...
|
|
cXmlNode * | GetAt (ITERATE_t index) const |
|
cXmlNode * | get_Head () const |
|
cXmlNode * | get_Tail () const |
|
| cListBase () noexcept |
|
virtual | ~cListBase () |
|
virtual void | InsertListNode (cListNodeBase *pNodeNew, cListNodeBase *pNodePrev=nullptr) |
|
void | InsertList (cListBase *pListSrc, cListNodeBase *pNodePrev=nullptr) |
|
void | InsertBefore (cListNodeBase *pNodeNew, const cListNodeBase *pNodeNext) |
|
void | InsertHead (cListNodeBase *pNodeNew) |
|
void | InsertTail (cListNodeBase *pNodeNew) |
|
void | DisposeAll () |
|
void | Empty () |
|
cListNodeBase * | get_Head (void) const noexcept |
|
cListNodeBase * | get_Tail (void) const noexcept |
|
ITERATE_t | get_Count () const noexcept |
|
bool | isEmpty () const noexcept |
|
cListNodeBase * | GetAt (ITERATE_t index) const |
| iterate the linked list. More...
|
|
bool | IsMyChild (const cListNodeBase *pNode) const noexcept |
|
XMLNODE_Document = holds a DOM for all data in XML. Always the top level node. A document binds together all the XML pieces. It can be saved, loaded, and printed to the screen. The 'value' of a document node is the XML file name.