Main MRPT website > C++ reference for MRPT 1.9.9
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(">"); \
} \
};
GLsizei const GLchar ** string
Definition: glext.h:4101

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(">"); \
} \
};
GLsizei const GLchar ** string
Definition: glext.h:4101

Definition at line 46 of file TTypeName_impl.h.




Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019