LocalGuidance
A library that generates velocity references to follow a path.
read_helpers.hpp File Reference
#include "tinyxml_tools/traitsXML.hpp"
#include "message_logger/message_logger.hpp"
#include <tinyxml.h>
#include <Eigen/Core>
#include <string>
#include <type_traits>
Include dependency graph for read_helpers.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

 tinyxml_tools
 

Functions

TiXmlHandle tinyxml_tools::getChildHandle (const TiXmlHandle &parentHandle, const std::string &childName, bool verbose=true)
 
bool tinyxml_tools::getChildHandle (TiXmlHandle &childHandle, TiXmlHandle parentHandle, std::string childName, bool verbose=true)
 
bool tinyxml_tools::getChildElements (std::vector< TiXmlElement * > &childElements, const TiXmlHandle &parentHandle, const std::string &childName)
 
TiXmlElement * tinyxml_tools::getChildElement (TiXmlElement *parentElement, const std::string &childName)
 
template<typename T , typename U = T, typename = typename std::enable_if<std::is_convertible<U, T>::value>::type>
bool tinyxml_tools::loadParameter (T &parameter, const TiXmlElement *element, const typename traits::element< T >::stringType &attributeName=traits::element< T >::getDefaultName(), const U &defaultValue=traits::element< T >::getDefaultValue())
 
template<typename T , typename U = T, typename = typename std::enable_if<!std::is_const<T>::value && std::is_convertible<U, T>::value>::type>
bool tinyxml_tools::loadParameter (T &parameter, const TiXmlHandle &handle, const typename traits::element< T >::stringType &attributeName=traits::element< T >::getDefaultName(), const U &defaultValue=traits::element< T >::getDefaultValue())
 
template<typename T , typename U = T, typename = typename std::enable_if<!std::is_const<T>::value && std::is_convertible<U, T>::value>::type>
bool tinyxml_tools::loadParameter (const std::string &name, T &parameter, const TiXmlHandle &parentHandle, const typename traits::element< T >::stringType &attributeName=traits::element< T >::getDefaultName(), const U &defaultValue=traits::element< T >::getDefaultValue())
 
template<typename T , typename = typename std::enable_if<!std::is_const<T>::value>>
bool tinyxml_tools::loadParameterSiblings (T &parameter, TiXmlElement *element, const typename traits::element< T >::siblingStringType &attributeName=traits::element< typename traits::element< T >::siblingType >::getDefaultName(), const typename traits::element< T >::siblingType &defaultValue=traits::element< typename traits::element< T >::siblingType >::getDefaultValue())
 
template<typename T , typename = typename std::enable_if<!std::is_const<T>::value>>
bool tinyxml_tools::loadParameterSiblings (T &parameter, const TiXmlHandle &handle, const typename traits::element< T >::siblingStringType &attributeName=traits::element< typename traits::element< T >::siblingType >::getDefaultName(), const typename traits::element< T >::siblingType &defaultValue=traits::element< typename traits::element< T >::siblingType >::getDefaultValue())
 
template<typename T , typename = typename std::enable_if<!std::is_const<T>::value>>
bool tinyxml_tools::loadParameterSiblings (const std::string &name, T &parameter, const TiXmlHandle &parentHandle, const typename traits::element< T >::siblingStringType &attributeName=traits::element< typename traits::element< T >::siblingType >::getDefaultName(), const typename traits::element< T >::siblingType &defaultValue=traits::element< typename traits::element< T >::siblingType >::getDefaultValue())
 

Detailed Description

Author
Gabriel Hottiger
Date
Jan 10, 2017