|
公有成员 |
| | CXMLElement (CXMLElement *pParent=NULL, const tchar *pszName=NULL) |
| virtual | ~CXMLElement () |
| CXMLElement * | clone (CXMLElement *pParent=NULL) |
| CXMLElement * | detach () |
| CXMLElement * | addElement (const tchar *pszName) |
| CXMLElement * | addElement (CXMLElement *pElement) |
| int | getElementCount () |
| CXMLElement * | getFirstElement () |
| ElementIterator | getElementIterator () |
| CXMLElement * | getNextElement (ElementIterator &iter) |
| bool | hasNextElement (ElementIterator &iter) |
| CXMLElement * | getElementByName (const tchar *pszName) |
| CXMLElement * | getElementByName (const tchar *pszName, bool bCreate) |
| void | removeElement (CXMLElement *pElement) |
| void | deleteAllElements () |
| CXMLAttribute * | addAttribute (const tchar *pszName, const tchar *pszValue=NULL) |
| CXMLAttribute * | addAttribute (CXMLAttribute *pAttribute) |
| int | getAttributeCount () const |
| AttributeIterator | getAttributeIterator () |
| CXMLAttribute * | getNextAttribute (AttributeIterator &iter) |
| bool | hasNextAttribute (AttributeIterator &iter) |
| CXMLAttribute * | getAttribute (const tchar *pszName) |
| tstring | getAttributeValue (const tchar *pszName, const tchar *pszDefault=NULL) |
| void | removeAttribute (CXMLAttribute *pAttribute) |
| void | deleteAttribute (const tchar *pszName) |
| void | deleteAllAttributes () |
| tstring | toString (bool bHeader=false, bool bNewline=false) |
| void | toString (tstring &strXML, bool bNewline=false) |
| void | toFile (const tstring &sPath, bool bHeader=false) |
| bool | parseString (const tchar *&strXML) |
| bool | equals (CXMLElement *pXML) |
静态公有成员 |
| CXMLElement * | fromString (const tchar *pszXML, bool bHeader=false) |
| CXMLElement * | fromBytes (byte *pByte, size_t nByte, bool bHeader=false) |
| CXMLElement * | fromFile (const tstring &sPath, bool bHeader=false) |
保护属性 |
| ElementList | m_pElements |
| AttributeMap | m_pAttributes |