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

Go to the source code of this file.

Classes

class  mrpt::utils::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::utils
 Classes for serialization, sockets, ini-file manipulation, streams, list of properties-values, timewatch, extensions to STL.
 

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 CLoadableOptions.h.

◆ LOADABLEOPTS_DUMP_VAR_DEG

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

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


Definition at line 111 of file CLoadableOptions.h.




Page generated by Doxygen 1.9.1 for MRPT 1.9.9 Git: 63ea9d1f1 Thu Nov 23 00:06:53 2017 +0100 at mar 26 may 2026 12:19:29 CEST