FirteX-高性能全文索引和检索平台

API Documentation


首页 | 名字空间列表 | 类继承关系 | 组合类型列表 | $(BL\录(B | 文件列表 | 名字空间成员 | 组合类型成员 | 文件成员

firtex::utility::CXMLElement类参考

#include <XML.h>

继承图,类firtex::utility::CXMLElement

firtex::utility::CXMLNode 所有成员的列表。

公有成员

 CXMLElement (CXMLElement *pParent=NULL, const tchar *pszName=NULL)
virtual ~CXMLElement ()
CXMLElementclone (CXMLElement *pParent=NULL)
CXMLElementdetach ()
CXMLElementaddElement (const tchar *pszName)
CXMLElementaddElement (CXMLElement *pElement)
int getElementCount ()
CXMLElementgetFirstElement ()
ElementIterator getElementIterator ()
CXMLElementgetNextElement (ElementIterator &iter)
bool hasNextElement (ElementIterator &iter)
CXMLElementgetElementByName (const tchar *pszName)
CXMLElementgetElementByName (const tchar *pszName, bool bCreate)
void removeElement (CXMLElement *pElement)
void deleteAllElements ()
CXMLAttributeaddAttribute (const tchar *pszName, const tchar *pszValue=NULL)
CXMLAttributeaddAttribute (CXMLAttribute *pAttribute)
int getAttributeCount () const
AttributeIterator getAttributeIterator ()
CXMLAttributegetNextAttribute (AttributeIterator &iter)
bool hasNextAttribute (AttributeIterator &iter)
CXMLAttributegetAttribute (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)

静态公有成员

CXMLElementfromString (const tchar *pszXML, bool bHeader=false)
CXMLElementfromBytes (byte *pByte, size_t nByte, bool bHeader=false)
CXMLElementfromFile (const tstring &sPath, bool bHeader=false)

保护属性

ElementList m_pElements
AttributeMap m_pAttributes

构造及析构函数文档

firtex::utility::CXMLElement::CXMLElement CXMLElement pParent = NULL,
const tchar *  pszName = NULL
 

virtual firtex::utility::CXMLElement::~CXMLElement  )  [virtual]
 


成员函数文档

CXMLAttribute * firtex::utility::CXMLElement::addAttribute CXMLAttribute pAttribute  )  [inline]
 

CXMLAttribute * firtex::utility::CXMLElement::addAttribute const tchar *  pszName,
const tchar *  pszValue = NULL
[inline]
 

CXMLElement * firtex::utility::CXMLElement::addElement CXMLElement pElement  )  [inline]
 

CXMLElement * firtex::utility::CXMLElement::addElement const tchar *  pszName  )  [inline]
 

CXMLElement* firtex::utility::CXMLElement::clone CXMLElement pParent = NULL  ) 
 

void firtex::utility::CXMLElement::deleteAllAttributes  ) 
 

void firtex::utility::CXMLElement::deleteAllElements  ) 
 

void firtex::utility::CXMLElement::deleteAttribute const tchar *  pszName  )  [inline]
 

CXMLElement * firtex::utility::CXMLElement::detach  )  [inline]
 

bool firtex::utility::CXMLElement::equals CXMLElement pXML  ) 
 

CXMLElement* firtex::utility::CXMLElement::fromBytes byte pByte,
size_t  nByte,
bool  bHeader = false
[static]
 

CXMLElement* firtex::utility::CXMLElement::fromFile const tstring &  sPath,
bool  bHeader = false
[static]
 

CXMLElement* firtex::utility::CXMLElement::fromString const tchar *  pszXML,
bool  bHeader = false
[static]
 

CXMLAttribute * firtex::utility::CXMLElement::getAttribute const tchar *  pszName  )  [inline]
 

int firtex::utility::CXMLElement::getAttributeCount  )  const [inline]
 

AttributeIterator firtex::utility::CXMLElement::getAttributeIterator  )  [inline]
 

tstring firtex::utility::CXMLElement::getAttributeValue const tchar *  pszName,
const tchar *  pszDefault = NULL
[inline]
 

CXMLElement * firtex::utility::CXMLElement::getElementByName const tchar *  pszName,
bool  bCreate
[inline]
 

CXMLElement * firtex::utility::CXMLElement::getElementByName const tchar *  pszName  )  [inline]
 

int firtex::utility::CXMLElement::getElementCount  )  [inline]
 

ElementIterator firtex::utility::CXMLElement::getElementIterator  )  [inline]
 

CXMLElement * firtex::utility::CXMLElement::getFirstElement  )  [inline]
 

CXMLAttribute * firtex::utility::CXMLElement::getNextAttribute AttributeIterator iter  )  [inline]
 

CXMLElement * firtex::utility::CXMLElement::getNextElement ElementIterator iter  )  [inline]
 

bool firtex::utility::CXMLElement::hasNextAttribute AttributeIterator iter  )  [inline]
 

bool firtex::utility::CXMLElement::hasNextElement ElementIterator iter  )  [inline]
 

bool firtex::utility::CXMLElement::parseString const tchar *&  strXML  ) 
 

void firtex::utility::CXMLElement::removeAttribute CXMLAttribute pAttribute  )  [inline]
 

void firtex::utility::CXMLElement::removeElement CXMLElement pElement  )  [inline]
 

void firtex::utility::CXMLElement::toFile const tstring &  sPath,
bool  bHeader = false
 

void firtex::utility::CXMLElement::toString tstring &  strXML,
bool  bNewline = false
 

tstring firtex::utility::CXMLElement::toString bool  bHeader = false,
bool  bNewline = false
 


成员数据文档

AttributeMap firtex::utility::CXMLElement::m_pAttributes [protected]
 

ElementList firtex::utility::CXMLElement::m_pElements [protected]
 


该类的文档由以下文件生成:

http://www.firtex.org http://www.sourceforge.net/projects/firtex