9 #ifndef TTYPENAME_IMPL_H 10 #define TTYPENAME_IMPL_H 30 #define MRPT_DECLARE_TTYPENAME_CONTAINER(_CONTAINER) \ 31 template <typename V> \ 32 struct TTypeName<_CONTAINER<V>> \ 34 static std::string get() \ 36 return std::string(#_CONTAINER) + std::string("<") + \ 37 std::string(TTypeName<V>::get()) + std::string(">"); \ 46 #define MRPT_DECLARE_TTYPENAME_CONTAINER_ASSOC(_CONTAINER) \ 47 template <typename K, typename V> \ 48 struct TTypeName<_CONTAINER<K, V>> \ 50 static std::string get() \ 52 return std::string(#_CONTAINER) + std::string("<") + \ 53 std::string(TTypeName<K>::get()) + std::string(",") + \ 54 std::string(TTypeName<V>::get()) + std::string(">"); \ 61 template <
typename T1,
typename T2>
A template to obtain the type of its argument as a string at compile time.
#define MRPT_DECLARE_TTYPENAME_CONTAINER(_CONTAINER)
GLsizei const GLchar ** string
#define MRPT_DECLARE_TTYPENAME_CONTAINER_ASSOC(_CONTAINER)
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
#define MRPT_DECLARE_TTYPENAME(_TYPE)