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

Element trait for stl pair. More...

#include <traitsXML.hpp>

Inheritance diagram for tinyxml_tools::traits::elementXML< std::pair< T, U > >:
Inheritance graph

Public Types

using Base = element< std::pair< T, U >>
 
using type = typename Base::type
 
using stringType = typename Base::stringType
 
- Public Types inherited from tinyxml_tools::traits::element< std::pair< T, U > >
using type = std::pair< T, U >
 
using stringType = std::pair< std::string, std::string >
 

Static Public Member Functions

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

Detailed Description

template<typename T, typename U>
struct tinyxml_tools::traits::elementXML< std::pair< T, U > >

Element trait for stl pair.

Member Typedef Documentation

template<typename T , typename U >
using tinyxml_tools::traits::elementXML< std::pair< T, U > >::Base = element<std::pair<T, U>>
template<typename T , typename U >
using tinyxml_tools::traits::elementXML< std::pair< T, U > >::stringType = typename Base::stringType
template<typename T , typename U >
using tinyxml_tools::traits::elementXML< std::pair< T, U > >::type = typename Base::type

Member Function Documentation

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

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