mUPnP for C++
uXML::NodeList Class Reference

#include <NodeList.h>

Inheritance diagram for uXML::NodeList:
mUPnP::SharedVector< Node >

Public Member Functions

 NodeList ()
 
bool addNode (Node *node)
 
bool removeNode (mupnp_shared_ptr< Node > node)
 
bool insertNode (Node *node, size_t index)
 
mupnp_shared_ptr< NodegetNode (size_t n)
 
mupnp_shared_ptr< NodegetNode (const std::string &name)
 
mupnp_shared_ptr< NodegetEndsWith (const std::string &name)
 
mupnp_shared_ptr< NodegetNode (const std::string &name, const std::string &value)
 
- Public Member Functions inherited from mUPnP::SharedVector< Node >
 SharedVector ()
 
 ~SharedVector ()
 
bool add (mupnp_shared_ptr< Node > obj)
 
bool add (Node *obj)
 
bool insertAt (Node *obj, size_t index)
 
mupnp_shared_ptr< Node > get (size_t index)
 
bool exists (mupnp_shared_ptr< Node > obj)
 
bool exists (Node *obj)
 
ssize_t indexOf (mupnp_shared_ptr< Node > obj)
 
ssize_t indexOf (Node *obj)
 
bool remove (size_t idx)
 
bool remove (mupnp_shared_ptr< Node > obj)
 
bool remove (Node *obj)
 

Constructor & Destructor Documentation

◆ NodeList()

uXML::NodeList::NodeList ( )
inline

Member Function Documentation

◆ addNode()

bool uXML::NodeList::addNode ( Node * node)
inline

◆ getEndsWith()

mupnp_shared_ptr< Node > uXML::NodeList::getEndsWith ( const std::string & name)

◆ getNode() [1/3]

mupnp_shared_ptr< Node > uXML::NodeList::getNode ( const std::string & name)

◆ getNode() [2/3]

mupnp_shared_ptr< Node > uXML::NodeList::getNode ( const std::string & name,
const std::string & value )

◆ getNode() [3/3]

mupnp_shared_ptr< Node > uXML::NodeList::getNode ( size_t n)
inline

◆ insertNode()

bool uXML::NodeList::insertNode ( Node * node,
size_t index )
inline

◆ removeNode()

bool uXML::NodeList::removeNode ( mupnp_shared_ptr< Node > node)
inline

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