LocalGuidance
A library that generates velocity references to follow a path.
tinyxml_tools::traits::elementXML< std::vector< T > > Struct Template Reference

Element trait for stl vectors. More...

#include <traitsXML.hpp>

Inheritance diagram for tinyxml_tools::traits::elementXML< std::vector< T > >:
Inheritance graph

Public Types

using Base = element< std::vector< T >>
 
using type = typename Base::type
 
using stringType = typename Base::stringType
 
using siblingType = typename Base::siblingType
 
using siblingStringType = typename Base::siblingStringType
 
- Public Types inherited from tinyxml_tools::traits::element< std::vector< T > >
using type = std::vector< T >
 
using stringType = std::vector< std::string >
 
using siblingStringType = std::string
 
using siblingType = T
 

Static Public Member Functions

static bool read (type &value, const TiXmlElement *element, const stringType &name, const type &def)
 
static bool readSiblings (type &value, TiXmlElement *element, const siblingStringType &name, const siblingType &def)
 
static void write (const type &value, TiXmlElement *const element, const stringType &name)
 
- Static Public Member Functions inherited from tinyxml_tools::traits::element< std::vector< T > >
static const stringType getDefaultName ()
 
static type getDefaultValue ()
 

Detailed Description

template<typename T>
struct tinyxml_tools::traits::elementXML< std::vector< T > >

Element trait for stl vectors.

Member Typedef Documentation

template<typename T >
using tinyxml_tools::traits::elementXML< std::vector< T > >::Base = element<std::vector<T>>
template<typename T >
using tinyxml_tools::traits::elementXML< std::vector< T > >::siblingStringType = typename Base::siblingStringType
template<typename T >
using tinyxml_tools::traits::elementXML< std::vector< T > >::siblingType = typename Base::siblingType
template<typename T >
using tinyxml_tools::traits::elementXML< std::vector< T > >::stringType = typename Base::stringType
template<typename T >
using tinyxml_tools::traits::elementXML< std::vector< T > >::type = typename Base::type

Member Function Documentation

template<typename T >
static bool tinyxml_tools::traits::elementXML< std::vector< T > >::read ( type value,
const TiXmlElement *  element,
const stringType name,
const type def 
)
inlinestatic
template<typename T >
static bool tinyxml_tools::traits::elementXML< std::vector< T > >::readSiblings ( type value,
TiXmlElement *  element,
const siblingStringType name,
const siblingType def 
)
inlinestatic
template<typename T >
static void tinyxml_tools::traits::elementXML< std::vector< T > >::write ( const type value,
TiXmlElement *const  element,
const stringType name 
)
inlinestatic

The documentation for this struct was generated from the following file: