Main Page | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals

xml::CXMLAttributeList Class Reference

#include <XMLNode.h>


Public Member Functions

 CXMLAttributeList (void)
virtual ~CXMLAttributeList (void)
int getSize (void)
void add (CXMLAttribute element)
CXMLAttribute get (int index)
void clear (void)

Data Fields

std::vector< CXMLAttributem_attList


Constructor & Destructor Documentation

xml::CXMLAttributeList::CXMLAttributeList void   ) 
 

Definition at line 50 of file XMLNode.cpp.

References m_attList.

00050                                                  {
00051                 m_attList = std::vector<CXMLAttribute>();
00052         }

xml::CXMLAttributeList::~CXMLAttributeList void   )  [virtual]
 

Definition at line 58 of file XMLNode.cpp.

00058                                                   {
00059         }


Member Function Documentation

void xml::CXMLAttributeList::add CXMLAttribute  element  ) 
 

Definition at line 73 of file XMLNode.cpp.

References m_attList.

Referenced by xml::CXMLNode::getAttributes().

00073                                                          {
00074                 m_attList.push_back(element);
00075         }

void xml::CXMLAttributeList::clear void   ) 
 

Definition at line 89 of file XMLNode.cpp.

References m_attList.

00089                                           {
00090                 m_attList.clear();
00091         }

CXMLAttribute xml::CXMLAttributeList::get int  index  ) 
 

Definition at line 81 of file XMLNode.cpp.

References m_attList.

Referenced by xml::CXMLNode::getAttributeByName().

00081                                                       {
00082                 return m_attList.at(index);
00083         }

int xml::CXMLAttributeList::getSize void   ) 
 

Definition at line 65 of file XMLNode.cpp.

References m_attList.

Referenced by xml::CXMLNode::getAttributeByName().

00065                                            {
00066                 return (int)m_attList.size();
00067         }


Field Documentation

std::vector<CXMLAttribute> xml::CXMLAttributeList::m_attList
 

Definition at line 74 of file XMLNode.h.

Referenced by add(), clear(), CXMLAttributeList(), get(), and getSize().


The documentation for this class was generated from the following files:
Generated on Mon Oct 16 12:10:02 2006 for Phobosengine by doxygen 1.3.4