Main MRPT website > C++ reference for MRPT 1.9.9
Classes | Namespaces | Macros
config/CLoadableOptions.h File Reference
#include <string>
#include <stdexcept>
#include <iosfwd>
Include dependency graph for config/CLoadableOptions.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  mrpt::config::CLoadableOptions
 This is a virtual base class for sets of options than can be loaded from and/or saved to configuration plain-text files. More...
 

Namespaces

 mrpt
 This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
 
 mrpt::config
 

Macros

#define LOADABLEOPTS_DUMP_VAR(variableName, variableType)
 Macro for dumping a variable to a stream, within the method "dumpToTextStream(out)" (Variable types are: int, double, float, bool, string. More...
 
#define LOADABLEOPTS_DUMP_VAR_DEG(variableName)
 Macro for dumping a variable to a stream, transforming the argument from radians to degrees. More...
 

Macro Definition Documentation

◆ LOADABLEOPTS_DUMP_VAR

#define LOADABLEOPTS_DUMP_VAR (   variableName,
  variableType 
)
Value:
{ \
dumpVar_##variableType( \
out, #variableName, static_cast<variableType>(variableName)); \
}

Macro for dumping a variable to a stream, within the method "dumpToTextStream(out)" (Variable types are: int, double, float, bool, string.

Definition at line 103 of file config/CLoadableOptions.h.

◆ LOADABLEOPTS_DUMP_VAR_DEG

#define LOADABLEOPTS_DUMP_VAR_DEG (   variableName)
Value:
{ \
dumpVar_double( \
out, #variableName, RAD2DEG(static_cast<double>(variableName))); \
}

Macro for dumping a variable to a stream, transforming the argument from radians to degrees.


Definition at line 111 of file config/CLoadableOptions.h.

RAD2DEG
#define RAD2DEG
Definition: core/include/mrpt/core/bits_math.h:62



Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST