#include <XML.h>
Inheritance diagram for CXMLElement:


Public Member Functions | |
| CXMLElement (CXMLElement *pParent=NULL, LPCTSTR pszName=NULL) | |
| virtual | ~CXMLElement () |
| CXMLElement * | Clone (CXMLElement *pParent=NULL) |
| CXMLElement * | Detach () |
| CXMLElement * | AddElement (LPCTSTR pszName) |
| CXMLElement * | AddElement (CXMLElement *pElement) |
| INT_PTR | GetElementCount () const |
| CXMLElement * | GetFirstElement () const |
| POSITION | GetElementIterator () const |
| CXMLElement * | GetNextElement (POSITION &pos) const |
| CXMLElement * | GetElementByName (LPCTSTR pszName) const |
| CXMLElement * | GetElementByName (LPCTSTR pszName, BOOL bCreate) |
| void | RemoveElement (CXMLElement *pElement) |
| void | DeleteAllElements () |
| CXMLAttribute * | AddAttribute (LPCTSTR pszName, LPCTSTR pszValue=NULL) |
| CXMLAttribute * | AddAttribute (CXMLAttribute *pAttribute) |
| int | GetAttributeCount () const |
| POSITION | GetAttributeIterator () const |
| CXMLAttribute * | GetNextAttribute (POSITION &pos) const |
| CXMLAttribute * | GetAttribute (LPCTSTR pszName) const |
| CString | GetAttributeValue (LPCTSTR pszName, LPCTSTR pszDefault=NULL) const |
| void | RemoveAttribute (CXMLAttribute *pAttribute) |
| void | DeleteAttribute (LPCTSTR pszName) |
| void | DeleteAllAttributes () |
| CString | ToString (BOOL bHeader=FALSE, BOOL bNewline=FALSE) |
| void | ToString (CString &strXML, BOOL bNewline=FALSE) |
| BOOL | ParseString (LPCTSTR &strXML) |
| BOOL | Equals (CXMLElement *pXML) const |
| CString | GetRecursiveWords () |
| void | AddRecursiveWords (CString &strWords) |
Static Public Member Functions | |
| static CXMLElement * | FromString (LPCTSTR pszXML, BOOL bHeader=FALSE) |
| static CXMLElement * | FromBytes (BYTE *pByte, DWORD nByte, BOOL bHeader=FALSE) |
| static CXMLElement * | FromFile (LPCTSTR pszPath, BOOL bHeader=FALSE) |
| static CXMLElement * | FromFile (HANDLE hFile, BOOL bHeader=FALSE) |
Protected Attributes | |
| CAtlList< CXMLElement * > | m_pElements |
| CAtlMap< CString, CXMLAttribute *, CStringElementTraits< CString > > | m_pAttributes |
| CXMLElement::CXMLElement | ( | CXMLElement * | pParent = NULL, |
|
| LPCTSTR | pszName = NULL | |||
| ) |
| CXMLElement::~CXMLElement | ( | ) | [virtual] |
| CXMLElement * CXMLElement::Clone | ( | CXMLElement * | pParent = NULL |
) |
| CXMLElement * CXMLElement::Detach | ( | ) | [inline] |
| CXMLElement * CXMLElement::AddElement | ( | LPCTSTR | pszName | ) | [inline] |
| CXMLElement * CXMLElement::AddElement | ( | CXMLElement * | pElement | ) | [inline] |
| INT_PTR CXMLElement::GetElementCount | ( | ) | const [inline] |
| CXMLElement * CXMLElement::GetFirstElement | ( | ) | const [inline] |
| POSITION CXMLElement::GetElementIterator | ( | ) | const [inline] |
| CXMLElement * CXMLElement::GetNextElement | ( | POSITION & | pos | ) | const [inline] |
| CXMLElement * CXMLElement::GetElementByName | ( | LPCTSTR | pszName | ) | const [inline] |
| CXMLElement * CXMLElement::GetElementByName | ( | LPCTSTR | pszName, | |
| BOOL | bCreate | |||
| ) | [inline] |
| void CXMLElement::RemoveElement | ( | CXMLElement * | pElement | ) | [inline] |
| void CXMLElement::DeleteAllElements | ( | ) |
| CXMLAttribute * CXMLElement::AddAttribute | ( | LPCTSTR | pszName, | |
| LPCTSTR | pszValue = NULL | |||
| ) | [inline] |
| CXMLAttribute * CXMLElement::AddAttribute | ( | CXMLAttribute * | pAttribute | ) | [inline] |
| int CXMLElement::GetAttributeCount | ( | ) | const [inline] |
| POSITION CXMLElement::GetAttributeIterator | ( | ) | const [inline] |
| CXMLAttribute * CXMLElement::GetNextAttribute | ( | POSITION & | pos | ) | const [inline] |
| CXMLAttribute * CXMLElement::GetAttribute | ( | LPCTSTR | pszName | ) | const [inline] |
| CString CXMLElement::GetAttributeValue | ( | LPCTSTR | pszName, | |
| LPCTSTR | pszDefault = NULL | |||
| ) | const [inline] |
| void CXMLElement::RemoveAttribute | ( | CXMLAttribute * | pAttribute | ) | [inline] |
| void CXMLElement::DeleteAttribute | ( | LPCTSTR | pszName | ) | [inline] |
| void CXMLElement::DeleteAllAttributes | ( | ) |
| CString CXMLElement::ToString | ( | BOOL | bHeader = FALSE, |
|
| BOOL | bNewline = FALSE | |||
| ) |
| void CXMLElement::ToString | ( | CString & | strXML, | |
| BOOL | bNewline = FALSE | |||
| ) |
| BOOL CXMLElement::ParseString | ( | LPCTSTR & | strXML | ) |
| BOOL CXMLElement::Equals | ( | CXMLElement * | pXML | ) | const |
| CString CXMLElement::GetRecursiveWords | ( | ) |
| void CXMLElement::AddRecursiveWords | ( | CString & | strWords | ) |
| CXMLElement * CXMLElement::FromString | ( | LPCTSTR | pszXML, | |
| BOOL | bHeader = FALSE | |||
| ) | [static] |
| CXMLElement * CXMLElement::FromBytes | ( | BYTE * | pByte, | |
| DWORD | nByte, | |||
| BOOL | bHeader = FALSE | |||
| ) | [static] |
| CXMLElement * CXMLElement::FromFile | ( | LPCTSTR | pszPath, | |
| BOOL | bHeader = FALSE | |||
| ) | [static] |
| CXMLElement * CXMLElement::FromFile | ( | HANDLE | hFile, | |
| BOOL | bHeader = FALSE | |||
| ) | [static] |
CAtlList<CXMLElement*> CXMLElement::m_pElements [protected] |
CAtlMap<CString, CXMLAttribute*, CStringElementTraits<CString> > CXMLElement::m_pAttributes [protected] |
1.5.2