#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 | 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 |
|
Definition at line 326 of file XML.cpp. References CXMLNode::m_nNode, and CXMLNode::xmlElement. Referenced by AddElement(), Clone(), FromString(), and ParseString(). |
|
Definition at line 331 of file XML.cpp. References DeleteAllAttributes(), and DeleteAllElements(). |
|
Definition at line 195 of file XML.inl. References m_pAttributes, and NULL. |
|
|
Definition at line 119 of file XML.inl. References m_pElements, and NULL. |
|
|
Definition at line 712 of file XML.cpp. References GetAttributeIterator(), GetElementIterator(), CXMLNode::GetName(), GetNextAttribute(), GetNextElement(), CXMLNode::GetValue(), and CXMLNode::m_sValue. Referenced by GetRecursiveWords(). |
|
|
Definition at line 377 of file XML.cpp. References m_pAttributes, NULL, and XMLVOID. Referenced by ~CXMLElement(). |
|
Definition at line 368 of file XML.cpp. References m_pElements. Referenced by ~CXMLElement(). |
|
Definition at line 247 of file XML.inl. References CXMLNode::Delete(), and GetAttribute(). Referenced by CLocalSearch::GetXMLString(). |
|
Definition at line 102 of file XML.inl. References CXMLNode::m_pParent, NULL, and RemoveElement(). Referenced by CLibraryBuilderPlugins::ExtractMetadata(), CLocalSearch::GetXMLString(), CSkin::LoadDialogs(), CSkin::LoadDocuments(), CSkinWindow::Parse(), CQueryHit::ParseXML(), CQueryHit::ReadG2Packet(), CAlbumFolder::SetMetadata(), and CLibraryBuilder::SubmitMetadata(). |
|
Definition at line 663 of file XML.cpp. References Equals(), CXMLAttribute::Equals(), GetAttribute(), GetAttributeCount(), GetAttributeIterator(), GetElementCount(), GetElementIterator(), GetNextAttribute(), GetNextElement(), CXMLNode::m_sName, CXMLNode::m_sValue, and NULL. Referenced by Equals(), and CLibraryFile::SetMetadata(). |
|
Definition at line 585 of file XML.cpp. References FromString(), and NULL. Referenced by FromFile(), CSecurity::Import(), and CWorldGPS::Load(). |
|
Definition at line 645 of file XML.cpp. References FromBytes(), and NULL. |
|
Definition at line 631 of file XML.cpp. References NULL. Referenced by CVendorCache::Load(), CGProfile::Load(), CSchema::LoadDescriptor(), CSkin::LoadFromFile(), CLibraryFile::LoadMetadata(), CSchema::LoadSchema(), and CEmoticons::LoadTrillian(). |
|
|
Definition at line 223 of file XML.inl. References m_pAttributes, NULL, and XMLVOID. Referenced by AddAttribute(), DeleteAttribute(), Equals(), GetAttributeValue(), CSchema::LoadDescriptor(), CSchemaChild::MemberCopy(), CQueryHit::ParseXML(), CQuerySearch::ReadG2Packet(), and CFilePropertiesDlg::Update(). |
|
Definition at line 205 of file XML.inl. References m_pAttributes. Referenced by Equals(). |
|
Definition at line 210 of file XML.inl. References m_pAttributes. Referenced by AddRecursiveWords(), Clone(), CCollectionExportDlg::CopyMetadata(), Equals(), CQuerySearch::MatchMetadataShallow(), CBitziDownloader::MergeMetaData(), CDecodeMetadataDlg::OnOK(), and ToString(). |
|
|
Definition at line 158 of file XML.inl. References AddElement(), GetElementIterator(), CXMLNode::GetName(), GetNextElement(), and NULL. |
|
|
Definition at line 127 of file XML.inl. References m_pElements. Referenced by CContactProfilePage::AddAddress(), Equals(), CSchemaMember::LoadSchema(), CSchema::LoadSchema(), and CRichDocument::LoadXML(). |
|
|
|
Definition at line 215 of file XML.inl. References m_pAttributes, NULL, and XMLVOID. Referenced by AddRecursiveWords(), Clone(), CCollectionExportDlg::CopyMetadata(), Equals(), CQuerySearch::MatchMetadataShallow(), CBitziDownloader::MergeMetaData(), CDecodeMetadataDlg::OnOK(), and ToString(). |
|
|
Definition at line 701 of file XML.cpp. References AddRecursiveWords(). Referenced by CSearchMonitorWnd::OnQuerySearch(). |
|
Definition at line 500 of file XML.cpp. References CXMLElement(), m_pAttributes, m_pElements, CXMLNode::m_sName, CXMLNode::m_sValue, CXMLNode::ParseIdentifier(), CXMLNode::ParseMatch(), ParseString(), CXMLAttribute::ParseString(), CXMLNode::StringToValue(), and XMLVOID. Referenced by FromString(), and ParseString(). |
|
Definition at line 240 of file XML.inl. References m_pAttributes. Referenced by CXMLNode::Delete(). |
|
Definition at line 169 of file XML.inl. References m_pElements. Referenced by CXMLNode::Delete(), and Detach(). |
|
Definition at line 403 of file XML.cpp. References GetAttributeIterator(), GetElementIterator(), GetNextAttribute(), GetNextElement(), CXMLNode::m_sName, CXMLNode::m_sValue, NULL, ToString(), CXMLAttribute::ToString(), and CXMLNode::ValueToString(). |
|
|
Definition at line 93 of file XML.h. Referenced by AddAttribute(), Clone(), DeleteAllAttributes(), GetAttribute(), GetAttributeCount(), GetAttributeIterator(), GetNextAttribute(), ParseString(), and RemoveAttribute(). |
|
Definition at line 92 of file XML.h. Referenced by AddElement(), Clone(), DeleteAllElements(), GetElementCount(), GetElementIterator(), GetFirstElement(), GetNextElement(), ParseString(), and RemoveElement(). |