84 o_keep = ! strcmp (XNp_node -> Value (), S_name . c_str ());
96 o_keep = ! strcmp (XAp_attrib ->
Name (), S_name . c_str ());
Definition: tinyxml.h:640
unsigned u_get_nb_node_in_set() const
Get nb of nodes in the node set.
Definition: node_set.h:102
void v_copy_selected_node_recursive(const TiXmlNode *XNp_root)
Copy all nodes in the tree to the node_set.
Definition: node_set.cpp:79
Definition: action_store.cpp:32
const TiXmlNode * XNp_get_node_in_set(unsigned u_which)
Get a node.
Definition: node_set.h:115
void v_add_node_in_set_if_name_or_star(const TiXmlNode *XNp_node, const TiXmlString &S_name)
Add a new node, if the name is "*" or if the name is the same as the node.
Definition: node_set.h:78
TiXmlString S_get_string_value() const
Return the string value aka concatenation of all text items.
Definition: node_set.cpp:130
bool o_exist_in_set(const TiXmlBase *XBp_member)
Checks if a node exist in the node set.
Definition: node_set.cpp:150
TiXmlString S_get_value(unsigned u_which)
Get a node value. The value is the name for an element, and the attribute value for an attribute...
Definition: node_set.h:139
void v_copy_selected_node_recursive_no_attrib(const TiXmlNode *XNp_root, const char *cp_lookup)
Copy all nodes in the tree to the node_set, excluding attributes.
Definition: node_set.cpp:113
const TiXmlBase * XBp_get_base_in_set(unsigned u_which)
Get a node or an attribute.
Definition: node_set.h:108
unsigned u_nb_node
Nb of nodes in the set.
Definition: node_set.h:172
void v_add_base_in_set(const TiXmlBase *XBp_member, bool o_attrib)
Adds a new node in the node set.
Definition: node_set.cpp:162
node_set & operator=(const node_set &ns2)
Assignation operator. Allows one to write expressions like ns_1 = ns_2;.
Definition: node_set.cpp:37
Node set class. A node set is an unordered collection of node.
Definition: node_set.h:34
void v_add_all_foll_node(const TiXmlNode *XNp_node, const TiXmlString &S_name)
Definition: node_set.cpp:192
void v_copy_node_children(const TiXmlNode *XNp_root)
Copy all element children of a node to the node_set.
Definition: node_set.cpp:56
void v_document_sort()
Definition: node_set.cpp:273
const void ** vpp_node_set
List of node pointers to the.
Definition: node_set.h:174
Definition: morph_const.h:107
Definition: tinyxml.h:138
Definition: tinyxml.h:363
bool o_is_attrib(unsigned u_which)
Definition: node_set.h:132
const TiXmlAttribute * XAp_get_attribute_in_set(unsigned u_which)
Get an attribute.
Definition: node_set.h:123
~ node_set()
destructor
Definition: node_set.h:47
bool * op_attrib
Attributes flag list.
Definition: node_set.h:176
void v_add_all_prec_node(const TiXmlNode *XNp_node, const TiXmlString &S_name)
Definition: node_set.cpp:220
void v_add_attrib_in_set(const TiXmlAttribute *XAp_attrib)
Adds an attribute in the node set.
Definition: node_set.h:62
node_set()
constructor : creates an empty set
Definition: node_set.h:38
int i_get_value(unsigned u_which)
Get the integer value of a node.
Definition: node_set.h:151
void v_add_node_in_set(const TiXmlNode *XNp_node)
Adds a node in the node set.
Definition: node_set.h:68
double d_get_value(unsigned u_which)
Get the real value of a node.
Definition: node_set.h:157
#define TIXML_STRING
Definition: tinyxml.h:67
void v_dump()
Debug function to print the content of a node set to stdout.
Definition: node_set.cpp:299
void v_add_attrib_in_set_if_name_or_star(const TiXmlAttribute *XAp_attrib, const TiXmlString &S_name)
Add a new attrib, if the name is "*" or if the name is the same as the node.
Definition: node_set.h:90