Main MRPT website > C++ reference for MRPT 1.9.9
Classes | Namespaces | Macros
TEnumType.h File Reference
#include <mrpt/utils/core_defs.h>
#include <mrpt/utils/bimap.h>

Go to the source code of this file.

Classes

struct  mrpt::utils::TEnumTypeFiller< ENUMTYPE >
 Only specializations of this class are defined for each enum type of interest. More...
 
struct  mrpt::utils::TEnumType< ENUMTYPE >
 A helper class that can convert an enum value into its textual representation, and viceversa. More...
 

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

#define MRPT_FILL_ENUM(_X)   m_map.insert(_X, #_X)
 For use in specializations of TEnumTypeFiller. More...
 
#define MRPT_FILL_ENUM_MEMBER(_CLASS, _VALUE)   m_map.insert(_CLASS::_VALUE, #_VALUE)
 

Macro Definition Documentation

◆ MRPT_FILL_ENUM

#define MRPT_FILL_ENUM (   _X)    m_map.insert(_X, #_X)

For use in specializations of TEnumTypeFiller.

Definition at line 31 of file TEnumType.h.

Referenced by mrpt::utils::TEnumTypeFiller< mrpt::vision::TFeatureType >::fill(), and mrpt::utils::TEnumTypeFiller< mrpt::vision::TDescriptorType >::fill().

◆ MRPT_FILL_ENUM_MEMBER

#define MRPT_FILL_ENUM_MEMBER (   _CLASS,
  _VALUE 
)    m_map.insert(_CLASS::_VALUE, #_VALUE)



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