xmlParser
2.44
|
Functions | |
XMLCSTR | XMLNode::getName () const |
name of the node More... | |
XMLCSTR | XMLNode::getText (int i=0) const |
return ith text field More... | |
int | XMLNode::nText () const |
nbr of text field More... | |
XMLNode | XMLNode::getParentNode () const |
return the parent node More... | |
XMLNode | XMLNode::getChildNode (int i=0) const |
return ith child node More... | |
XMLNode | XMLNode::getChildNode (XMLCSTR name, int i) const |
return ith child node with specific name (return an empty node if failing). If i==-1, this returns the last XMLNode with the given name. More... | |
XMLNode | XMLNode::getChildNode (XMLCSTR name, int *i=NULL) const |
return next child node with specific name (return an empty node if failing) More... | |
XMLNode | XMLNode::getChildNodeWithAttribute (XMLCSTR tagName, XMLCSTR attributeName, XMLCSTR attributeValue=NULL, int *i=NULL) const |
return child node with specific name/attribute (return an empty node if failing) More... | |
XMLNode | XMLNode::getChildNodeByPath (XMLCSTR path, char createNodeIfMissing=0, XMLCHAR sep='/') |
return the first child node with specific path More... | |
XMLNode | XMLNode::getChildNodeByPathNonConst (XMLSTR path, char createNodeIfMissing=0, XMLCHAR sep='/') |
return the first child node with specific path. More... | |
int | XMLNode::nChildNode (XMLCSTR name) const |
return the number of child node with specific name More... | |
int | XMLNode::nChildNode () const |
nbr of child node More... | |
XMLAttribute | XMLNode::getAttribute (int i=0) const |
return ith attribute More... | |
XMLCSTR | XMLNode::getAttributeName (int i=0) const |
return ith attribute name More... | |
XMLCSTR | XMLNode::getAttributeValue (int i=0) const |
return ith attribute value More... | |
char | XMLNode::isAttributeSet (XMLCSTR name) const |
test if an attribute with a specific name is given More... | |
XMLCSTR | XMLNode::getAttribute (XMLCSTR name, int i) const |
return ith attribute content with specific name (return a NULL if failing) More... | |
XMLCSTR | XMLNode::getAttribute (XMLCSTR name, int *i=NULL) const |
return next attribute content with specific name (return a NULL if failing) More... | |
int | XMLNode::nAttribute () const |
nbr of attribute More... | |
XMLClear | XMLNode::getClear (int i=0) const |
return ith clear field (comments) More... | |
int | XMLNode::nClear () const |
nbr of clear field More... | |
XMLNodeContents | XMLNode::enumContents (XMLElementPosition i) const |
enumerate all the different contents (attribute,child,text, clear) of the current XMLNode. The order is reflecting the order of the original file/string. NOTE: 0 <= i < nElement(); More... | |
int | XMLNode::nElement () const |
nbr of different contents for current node More... | |
char | XMLNode::isEmpty () const |
is this node Empty? More... | |
char | XMLNode::isDeclaration () const |
is this node a declaration <? .... ?> More... | |
XMLNode | XMLNode::deepCopy () const |
deep copy (duplicate/clone) a XMLNode More... | |
static XMLNode | XMLNode::emptyNode () |
return XMLNode::emptyXMLNode; More... | |
|
static |
return XMLNode::emptyXMLNode;
XMLNodeContents XMLNode::enumContents | ( | XMLElementPosition | i | ) | const |
enumerate all the different contents (attribute,child,text, clear) of the current XMLNode. The order is reflecting the order of the original file/string. NOTE: 0 <= i < nElement();
XMLAttribute XMLNode::getAttribute | ( | int | i = 0 | ) | const |
return ith attribute
return ith attribute content with specific name (return a NULL if failing)
return next attribute content with specific name (return a NULL if failing)
XMLCSTR XMLNode::getAttributeName | ( | int | i = 0 | ) | const |
return ith attribute name
XMLCSTR XMLNode::getAttributeValue | ( | int | i = 0 | ) | const |
return ith attribute value
XMLNode XMLNode::getChildNode | ( | int | i = 0 | ) | const |
return ith child node
return ith child node with specific name (return an empty node if failing). If i==-1, this returns the last XMLNode with the given name.
return next child node with specific name (return an empty node if failing)
XMLNode XMLNode::getChildNodeByPath | ( | XMLCSTR | path, |
char | createNodeIfMissing = 0 , |
||
XMLCHAR | sep = '/' |
||
) |
return the first child node with specific path
XMLNode XMLNode::getChildNodeByPathNonConst | ( | XMLSTR | path, |
char | createNodeIfMissing = 0 , |
||
XMLCHAR | sep = '/' |
||
) |
return the first child node with specific path.
XMLNode XMLNode::getChildNodeWithAttribute | ( | XMLCSTR | tagName, |
XMLCSTR | attributeName, | ||
XMLCSTR | attributeValue = NULL , |
||
int * | i = NULL |
||
) | const |
return child node with specific name/attribute (return an empty node if failing)
XMLClear XMLNode::getClear | ( | int | i = 0 | ) | const |
return ith clear field (comments)
XMLCSTR XMLNode::getName | ( | ) | const |
name of the node
XMLNode XMLNode::getParentNode | ( | ) | const |
return the parent node
XMLCSTR XMLNode::getText | ( | int | i = 0 | ) | const |
return ith text field
char XMLNode::isAttributeSet | ( | XMLCSTR | name | ) | const |
test if an attribute with a specific name is given
char XMLNode::isDeclaration | ( | ) | const |
is this node a declaration <? .... ?>
char XMLNode::isEmpty | ( | ) | const |
is this node Empty?
int XMLNode::nAttribute | ( | ) | const |
nbr of attribute
int XMLNode::nChildNode | ( | XMLCSTR | name | ) | const |
return the number of child node with specific name
int XMLNode::nChildNode | ( | ) | const |
nbr of child node
int XMLNode::nClear | ( | ) | const |
nbr of clear field
int XMLNode::nElement | ( | ) | const |
nbr of different contents for current node
int XMLNode::nText | ( | ) | const |
nbr of text field