UPnPsdk 0.1
Universal Plug and Play +, Software Development Kit
 
Loading...
Searching...
No Matches
namedNodeMap.cpp File Reference
#include <ixml/ixmlparser.hpp>
#include <cassert>
#include <cstring>
+ Include dependency graph for namedNodeMap.cpp:

Go to the source code of this file.

Functions

static unsigned long ixmlNamedNodeMap_getItemNumber (IXML_NamedNodeMap *nnMap, const char *name)
 Return the item number of a item in NamedNodeMap.
 
void ixmlNamedNodeMap_init (IXML_NamedNodeMap *nnMap)
 Initializes a NamedNodeMap object.
 
IXML_NodeixmlNamedNodeMap_getNamedItem (IXML_NamedNodeMap *nnMap, const DOMString name)
 Retrieves a Node from the NamedNodeMap by name.
 
IXML_NodeixmlNamedNodeMap_item (IXML_NamedNodeMap *nnMap, unsigned long index)
 Retrieves the indexth item in the map. If index is greater than or equal to the number of nodes in this map, this returns NULL.
 
unsigned long ixmlNamedNodeMap_getLength (IXML_NamedNodeMap *nnMap)
 Returns the number of items contained in this NamedNodeMap.
 
void ixmlNamedNodeMap_free (IXML_NamedNodeMap *nnMap)
 Frees a NamedNodeMap.
 
int ixmlNamedNodeMap_addToNamedNodeMap (IXML_NamedNodeMap **nnMap, IXML_Node *add)
 Add a node to a NamedNodeMap.
 

Function Documentation

◆ ixmlNamedNodeMap_getItemNumber()

static unsigned long ixmlNamedNodeMap_getItemNumber ( IXML_NamedNodeMap nnMap,
const char *  name 
)
static

Return the item number of a item in NamedNodeMap.

Parameters
[in]nnMapThe named node map to process.
[in]nameThe name of the item to find.

Definition at line 47 of file namedNodeMap.cpp.

+ Here is the caller graph for this function:

◆ ixmlNamedNodeMap_init()

void ixmlNamedNodeMap_init ( IXML_NamedNodeMap nnMap)

Initializes a NamedNodeMap object.

Parameters
[in]nnMapThe named node map to process.

Definition at line 72 of file namedNodeMap.cpp.

+ Here is the caller graph for this function:

◆ ixmlNamedNodeMap_addToNamedNodeMap()

int ixmlNamedNodeMap_addToNamedNodeMap ( IXML_NamedNodeMap **  nnMap,
IXML_Node add 
)

Add a node to a NamedNodeMap.

Returns
IXML_SUCCESS or failure.

Definition at line 140 of file namedNodeMap.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: