64 for(
unsigned int i = 0 ; i <
elements.size() ; i++)
81 for(
unsigned int i = 0 ; i <
elements.size() ; i++)
102 ROS_ERROR(
"%s[%s] (%d) - %d %s",indent.c_str(),n->
tag.c_str(),
105 for(
unsigned int i = 0 ; i < n->
elements.size() ; i++)
117 for(
unsigned int i = 0 ; i <
elements.size() ; i++)
std::string tag
The node value (if it not a tag node)
void increasePriority(void)
Increases the priority of the node.
std::vector< int > getTag(std::string tag)
Searches for a tag in the specific node.
The main namespace for STDR GUI XML parser.
std::string extractFilename(std::string s)
Extracts the filename from an absolute path.
std::string value
The node children.
Node(void)
Default constructor.
bool checkForFilename(std::string base)
Checks a node if a specific filename exists.
void printParsedXml(Node *n, std::string indent)
Debug recursive function - Prints the xml tree.
void unallocateChildren(void)
Unalloates the memory of the node's children.
int priority
The node tag (if it not a value node)
Implements the main functionalities of the stdr parser tree.
std::string file_origin
Row in the original file.
std::vector< Node * > elements
File it was into.
~Node(void)
Destructor who also destroys all its children.