Main MRPT website > C++ reference
MRPT logo
Classes | Namespaces | Macros
CLoadableOptions.h File Reference
#include <mrpt/utils/utils_defs.h>
#include <mrpt/utils/CConfigFileBase.h>
#include <mrpt/utils/CStream.h>
#include <mrpt/system/os.h>
Include dependency graph for CLoadableOptions.h:
This graph shows which files directly or indirectly include this file:

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)   { 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. More...
 
#define LOADABLEOPTS_DUMP_VAR_DEG(variableName)   { dumpVar_double(out, #variableName,RAD2DEG(static_cast<double>(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 
)    { 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 125 of file CLoadableOptions.h.

◆ LOADABLEOPTS_DUMP_VAR_DEG

#define LOADABLEOPTS_DUMP_VAR_DEG (   variableName)    { 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 128 of file CLoadableOptions.h.




Page generated by Doxygen 1.8.14 for MRPT 1.0.2 SVN: at lun oct 28 00:52:41 CET 2019 Hosted on:
SourceForge.net Logo