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

Element trait for stl arrays. More...

#include <traitsXML.hpp>

Inheritance diagram for tinyxml_tools::traits::elementXML< std::array< T, N > >:
Inheritance graph

Public Types

using Base = element< std::array< T, N >>
 
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::array< T, N > >
using type = std::array< T, N >
 
using stringType = std::array< std::string, N >
 
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::array< T, N > >
static const stringType getDefaultName ()
 
static type getDefaultValue ()
 

Detailed Description

template<typename T, std::size_t N>
struct tinyxml_tools::traits::elementXML< std::array< T, N > >

Element trait for stl arrays.

Member Typedef Documentation

template<typename T , std::size_t N>
using tinyxml_tools::traits::elementXML< std::array< T, N > >::Base = element<std::array<T, N>>
template<typename T , std::size_t N>
using tinyxml_tools::traits::elementXML< std::array< T, N > >::siblingStringType = typename Base::siblingStringType
template<typename T , std::size_t N>
using tinyxml_tools::traits::elementXML< std::array< T, N > >::siblingType = typename Base::siblingType
template<typename T , std::size_t N>
using tinyxml_tools::traits::elementXML< std::array< T, N > >::stringType = typename Base::stringType
template<typename T , std::size_t N>
using tinyxml_tools::traits::elementXML< std::array< T, N > >::type = typename Base::type

Member Function Documentation

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

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