Main MRPT website > C++ reference for MRPT 1.3.2
Classes | Namespaces
TTypeName_impl.h File Reference
#include <mrpt/utils/TTypeName.h>
#include <list>
#include <vector>
#include <deque>
#include <set>
#include <map>

Go to the source code of this file.

Classes

struct  mrpt::utils::TTypeName< std::pair< T1, T2 > >
 

Namespaces

 mrpt
 This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
 
 mrpt::utils
 Classes for serialization, sockets, ini-file manipulation, streams, list of properties-values, timewatch, extensions to STL.
 

Macros

Conversion of type to string at compile time
#define MRPT_DECLARE_TTYPENAME_CONTAINER(_CONTAINER)
 
#define MRPT_DECLARE_TTYPENAME_CONTAINER_ASSOC(_CONTAINER)
 

Macro Definition Documentation

§ MRPT_DECLARE_TTYPENAME_CONTAINER

#define MRPT_DECLARE_TTYPENAME_CONTAINER (   _CONTAINER)
Value:
template< typename V > \
struct TTypeName <_CONTAINER<V> > { \
static std::string get() { \
return std::string( #_CONTAINER )+std::string("<")+std::string( TTypeName<V>::get() ) + std::string(">"); \
} \
};

Definition at line 30 of file TTypeName_impl.h.

§ MRPT_DECLARE_TTYPENAME_CONTAINER_ASSOC

#define MRPT_DECLARE_TTYPENAME_CONTAINER_ASSOC (   _CONTAINER)
Value:
template< typename K, typename V > \
struct TTypeName <_CONTAINER<K,V> > { \
static std::string get() { \
return std::string( #_CONTAINER )+std::string("<")+std::string( TTypeName<K>::get() )+ std::string(",")+std::string( TTypeName<V>::get() )+std::string(">"); \
} \
};

Definition at line 43 of file TTypeName_impl.h.




Page generated by Doxygen 1.8.12 for MRPT 1.3.2 SVN: at Mon Oct 3 19:22:36 UTC 2016