DART  6.10.1
XmlHelpers.cpp File Reference
#include "dart/utils/XmlHelpers.hpp"
#include <iostream>
#include <vector>
#include <boost/algorithm/string.hpp>
#include <boost/lexical_cast.hpp>
#include "dart/common/Console.hpp"
#include "dart/common/LocalResourceRetriever.hpp"
#include "dart/math/Geometry.hpp"

Namespaces

 dart
 
 dart::utils
 

Functions

std::string dart::utils::toString (bool v)
 
std::string dart::utils::toString (int v)
 
std::string dart::utils::toString (unsigned int v)
 
std::string dart::utils::toString (float v)
 
std::string dart::utils::toString (double v)
 
std::string dart::utils::toString (char v)
 
std::string dart::utils::toString (const Eigen::Vector2d &v)
 
std::string dart::utils::toString (const Eigen::Vector3d &v)
 
std::string dart::utils::toString (const Eigen::Vector3i &v)
 
std::string dart::utils::toString (const Eigen::Vector6d &v)
 
std::string dart::utils::toString (const Eigen::VectorXd &v)
 
std::string dart::utils::toString (const Eigen::Isometry3d &v)
 
bool dart::utils::toBool (const std::string &str)
 
int dart::utils::toInt (const std::string &str)
 
unsigned int dart::utils::toUInt (const std::string &str)
 
float dart::utils::toFloat (const std::string &str)
 
double dart::utils::toDouble (const std::string &str)
 
char dart::utils::toChar (const std::string &str)
 
Eigen::Vector2d dart::utils::toVector2d (const std::string &str)
 
Eigen::Vector2i dart::utils::toVector2i (const std::string &str)
 
Eigen::Vector3d dart::utils::toVector3d (const std::string &str)
 
Eigen::Vector3i dart::utils::toVector3i (const std::string &str)
 
Eigen::Vector4d dart::utils::toVector4d (const std::string &str)
 
Eigen::Vector6d dart::utils::toVector6d (const std::string &str)
 
Eigen::VectorXd dart::utils::toVectorXd (const std::string &str)
 
Eigen::Isometry3d dart::utils::toIsometry3d (const std::string &str)
 
Eigen::Isometry3d dart::utils::toIsometry3dWithExtrinsicRotation (const std::string &str)
 
std::string dart::utils::getValueString (const tinyxml2::XMLElement *parentElement, const std::string &name)
 
bool dart::utils::getValueBool (const tinyxml2::XMLElement *parentElement, const std::string &name)
 
int dart::utils::getValueInt (const tinyxml2::XMLElement *parentElement, const std::string &name)
 
unsigned int dart::utils::getValueUInt (const tinyxml2::XMLElement *parentElement, const std::string &name)
 
float dart::utils::getValueFloat (const tinyxml2::XMLElement *parentElement, const std::string &name)
 
double dart::utils::getValueDouble (const tinyxml2::XMLElement *parentElement, const std::string &name)
 
char dart::utils::getValueChar (const tinyxml2::XMLElement *parentElement, const std::string &name)
 
Eigen::Vector2d dart::utils::getValueVector2d (const tinyxml2::XMLElement *parentElement, const std::string &name)
 
Eigen::Vector3d dart::utils::getValueVector3d (const tinyxml2::XMLElement *parentElement, const std::string &name)
 
Eigen::Vector3i dart::utils::getValueVector3i (const tinyxml2::XMLElement *parentElement, const std::string &name)
 
Eigen::Vector6d dart::utils::getValueVector6d (const tinyxml2::XMLElement *parentElement, const std::string &name)
 
Eigen::VectorXd dart::utils::getValueVectorXd (const tinyxml2::XMLElement *parentElement, const std::string &name)
 
Eigen::Vector3d dart::utils::getValueVec3 (const tinyxml2::XMLElement *parentElement, const std::string &name)
 
Eigen::Isometry3d dart::utils::getValueIsometry3d (const tinyxml2::XMLElement *parentElement, const std::string &name)
 
Eigen::Isometry3d dart::utils::getValueIsometry3dWithExtrinsicRotation (const tinyxml2::XMLElement *parentElement, const std::string &name)
 
bool dart::utils::hasElement (const tinyxml2::XMLElement *parentElement, const std::string &name)
 
const tinyxml2::XMLElement * dart::utils::getElement (const tinyxml2::XMLElement *parentElement, const std::string &name)
 
tinyxml2::XMLElement * dart::utils::getElement (tinyxml2::XMLElement *parentElement, const std::string &name)
 
std::string dart::utils::toString (tinyxml2::XMLError errorCode)
 
void dart::utils::openXMLFile (tinyxml2::XMLDocument &doc, const common::Uri &uri, const common::ResourceRetrieverPtr &retrieverOrNullPtr)
 
bool dart::utils::readXmlFile (tinyxml2::XMLDocument &doc, const common::Uri &uri, const common::ResourceRetrieverPtr &retrieverOrNullPtr)
 
bool dart::utils::hasAttribute (const tinyxml2::XMLElement *element, const char *const name)
 
std::string dart::utils::getAttribute (tinyxml2::XMLElement *element, const char *const name)
 
void dart::utils::getAttribute (tinyxml2::XMLElement *element, const char *const name, double *d)
 
std::string dart::utils::getAttributeString (const tinyxml2::XMLElement *element, const std::string &attributeName)
 
bool dart::utils::getAttributeBool (const tinyxml2::XMLElement *element, const std::string &attributeName)
 
int dart::utils::getAttributeInt (const tinyxml2::XMLElement *element, const std::string &attributeName)
 
unsigned int dart::utils::getAttributeUInt (const tinyxml2::XMLElement *element, const std::string &attributeName)
 
float dart::utils::getAttributeFloat (const tinyxml2::XMLElement *element, const std::string &attributeName)
 
double dart::utils::getAttributeDouble (const tinyxml2::XMLElement *element, const std::string &attributeName)
 
char dart::utils::getAttributeChar (const tinyxml2::XMLElement *element, const std::string &attributeName)
 
Eigen::Vector2i dart::utils::getAttributeVector2i (const tinyxml2::XMLElement *element, const std::string &attributeName)
 
Eigen::Vector2d dart::utils::getAttributeVector2d (const tinyxml2::XMLElement *element, const std::string &attributeName)
 
Eigen::Vector3d dart::utils::getAttributeVector3d (const tinyxml2::XMLElement *element, const std::string &attributeName)
 
Eigen::Vector4d dart::utils::getAttributeVector4d (const tinyxml2::XMLElement *element, const std::string &attributeName)
 
Eigen::Vector6d dart::utils::getAttributeVector6d (const tinyxml2::XMLElement *element, const std::string &attributeName)
 
Eigen::VectorXd dart::utils::getAttributeVectorXd (const tinyxml2::XMLElement *element, const std::string &attributeName)
 
bool dart::utils::copyNode (tinyxml2::XMLNode *destParent, const tinyxml2::XMLNode &src)
 
bool dart::utils::copyChildNodes (tinyxml2::XMLNode *destParent, const tinyxml2::XMLNode &src)