#include <xmldocument.h>
List of all members.
Detailed Description
XML Element class.
Constructor & Destructor Documentation
UaXmlElement::UaXmlElement |
( |
) |
|
Constructs a XML element object with default settings
UaXmlElement::~UaXmlElement |
( |
) |
|
Destroyes the XML element object
Member Function Documentation
void UaXmlElement::getAttributeValue |
( |
const char * |
pchAttributeName, |
|
|
UaXmlValue & |
value |
|
) |
| |
Get the content of the passed attribute name for the current XML element working node
- Parameters:
-
[in] | pchAttributeName | The XML attribute name |
[out] | value | The content of the XML attribute as UaXmlValue |
int UaXmlElement::getChild |
( |
const char * |
pchName ) |
|
Sets current XML element working node to the child with the gieven name below the previous working node
- Returns:
- 0 for sucess. -1 if method fails
- Parameters:
-
[in] | pchName | Name of the child node |
void UaXmlElement::getContent |
( |
UaXmlValue & |
value ) |
|
Get the content of the current XML element working node as UaXmlValue
- Parameters:
-
[out] | value | The content of the current XML element working node as UaXmlValue |
void UaXmlElement::getCurrentElement |
( |
UaXmlElement & |
xmlElement ) |
|
Get the current XML element working node as UaXmlElement
- Parameters:
-
int UaXmlElement::getFirstChild |
( |
) |
|
Sets current XML element working node to the first child of the previous working node
- Returns:
- 0 for sucess. -1 if method fails
int UaXmlElement::getNextSibling |
( |
) |
|
Sets current XML element working node to the next sibling of the previous working node
- Returns:
- 0 for sucess. -1 if method fails
const char * UaXmlElement::getNodeName |
( |
) |
|
Get the name of the current XML element working node
- Returns:
- The name for sucess. NULL if method fails
int UaXmlElement::getParentNode |
( |
) |
|
Sets current XML element working node to the parent of the previous working node
- Returns:
- 0 for sucess. -1 if method fails
int UaXmlElement::getRootNode |
( |
) |
|
Sets current XML element working node to root node passed during initialization
- Returns:
- 0 for sucess
int UaXmlElement::setContent |
( |
char * |
pchSimpleContent ) |
|
Set the content of the current XML element working node as string
- Parameters:
-
[in] | pchSimpleContent | The new content for the XML element as string |
void UaXmlElement::setNode |
( |
XML_Node |
xmlNode ) |
|
Internal method used by the UaXmlDocument to initialize the XML elemement with the node
The documentation for this class was generated from the following files:
- /home/buildbot/work/uasdkcpp/src/uabase/xmlparser/xmldocument.h
- /home/buildbot/work/uasdkcpp/src/uabase/xmlparser/xmldocument.cpp