Tetrapod Project
xml_utils.cpp File Reference
#include "visualization_utils/xml_utils.h"
#include <iostream>
#include <sstream>
Include dependency graph for xml_utils.cpp:

Go to the source code of this file.

Typedefs

using p_el = DOMElement *
 
using p_text = DOMText *
 
using p_doc = DOMDocument *
 
using p_impl = DOMImplementation *
 

Functions

void safeSetAttribute (p_el pElem, std::string key, std::string val)
 
void safeSetTextContent (p_el pElem, std::string textContent)
 
std::string safeTranscode (XMLCh *xmlstring)
 
p_el safeCreateElement (p_doc pParent, std::string name)
 
void dummyExample ()
 
std::string getFootstepSDFStringPugi (Eigen::MatrixX3d footsteps)
 
std::string getFootstepSDFString (Eigen::MatrixX3d footsteps)
 

Typedef Documentation

◆ p_el

using p_el = DOMElement*

Definition at line 5 of file xml_utils.cpp.

◆ p_text

using p_text = DOMText*

Definition at line 6 of file xml_utils.cpp.

◆ p_doc

using p_doc = DOMDocument*

Definition at line 7 of file xml_utils.cpp.

◆ p_impl

using p_impl = DOMImplementation*

Definition at line 8 of file xml_utils.cpp.

Function Documentation

◆ safeSetAttribute()

void safeSetAttribute ( p_el  pElem,
std::string  key,
std::string  val 
)

Definition at line 10 of file xml_utils.cpp.

◆ safeSetTextContent()

void safeSetTextContent ( p_el  pElem,
std::string  textContent 
)

Definition at line 22 of file xml_utils.cpp.

◆ safeTranscode()

std::string safeTranscode ( XMLCh *  xmlstring)

Definition at line 33 of file xml_utils.cpp.

◆ safeCreateElement()

p_el safeCreateElement ( p_doc  pParent,
std::string  name 
)

Definition at line 46 of file xml_utils.cpp.

◆ dummyExample()

void dummyExample ( )

Definition at line 59 of file xml_utils.cpp.

◆ getFootstepSDFStringPugi()

std::string getFootstepSDFStringPugi ( Eigen::MatrixX3d  footsteps)

Definition at line 65 of file xml_utils.cpp.

◆ getFootstepSDFString()

std::string getFootstepSDFString ( Eigen::MatrixX3d  footsteps)

Definition at line 238 of file xml_utils.cpp.