top | up | prev | next

NodeList Class

Definition at line 146 of Node.hpp

Member Functions

void InternalAddNode(Node* node)
Node* Item(int index) const
int Length() const
Node* operator[](int index) const

Member Variables

std::vector<Node*> nodes

Member Function Details

InternalAddNode Member Function

void sngxml::dom::NodeList::InternalAddNode(Node * node)

Definition at line 488 of Node.cpp :
489 {
490     if (std::find(nodes.begin()nodes.end()node) == nodes.end())
491     {
492         nodes.push_back(node);
493     }
494 }


Declaration at line 152 of Node.hpp

Called by: sngxml::dom::ElementsByTagNameVisitor::BeginVisit , sngxml::dom::ParentNode::ChildNodes


Item Member Function

Node * sngxml::dom::NodeList::Item(int index) const

Definition at line 149 of Node.hpp :
149 { return nodes[index]; }


Length Member Function

int sngxml::dom::NodeList::Length() const

Definition at line 151 of Node.hpp :
151 { return nodes.size(); }


operator[] Member Function

Node * sngxml::dom::NodeList::operator[](int index) const

Definition at line 150 of Node.hpp :
150 { return nodes[index]; }


top | up | prev | next