sptk2 logo
SPTK Home Page

sptk::CXmlNodeList Class Reference
[XML]

XML node list. More...

#include <CXmlNodeList.h>

Inheritance diagram for sptk::CXmlNodeList:

sptk::CXmlAttributes

List of all members.

Public Member Functions

 CXmlNodeList ()
 Constructor.
 ~CXmlNodeList ()
 Destructor.
void clear ()
 Clears the list of XML nodes and releases all the allocated memory.
iterator findFirst (const char *nodeName)
 Finds the first node node in the list with the matching name.
iterator findFirst (const std::string &nodeName)
 Finds the first node node in the list with the matching name.
const_iterator findFirst (const char *nodeName) const
 Finds the first node node in the list with the matching name.
const_iterator findFirst (const std::string &nodeName) const
 Finds the first node node in the list with the matching name.


Detailed Description

XML node list.

The CXmlNodeList interface provides the an ordered collection of nodes, The items in the NodeList are accessible via an integral index, starting from 0.


Member Function Documentation

const_iterator sptk::CXmlNodeList::findFirst ( const std::string &  nodeName  )  const

Finds the first node node in the list with the matching name.

Parameters:
nodeName const std::string&, a node name
Returns:
node iterator, or end()

const_iterator sptk::CXmlNodeList::findFirst ( const char *  nodeName  )  const

Finds the first node node in the list with the matching name.

Parameters:
nodeName const char*, a node name
Returns:
node iterator, or end()

iterator sptk::CXmlNodeList::findFirst ( const std::string &  nodeName  ) 

Finds the first node node in the list with the matching name.

Parameters:
nodeName const std::string&, a node name
Returns:
node iterator, or end()

iterator sptk::CXmlNodeList::findFirst ( const char *  nodeName  ) 

Finds the first node node in the list with the matching name.

Parameters:
nodeName const char*, a node name
Returns:
node iterator, or end()


The documentation for this class was generated from the following file:

Mon Mar 5 11:56:23 2012: SPTK 3.5.7