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.

Referenced by mrpt::hmtslam::CTopLCDetector_FabMap::TOptions::dumpToTextStream(), mrpt::maps::CReflectivityGridMap2D::TInsertionOptions::dumpToTextStream(), mrpt::slam::CGridMapAligner::TConfigParams::dumpToTextStream(), mrpt::vision::CFeatureExtraction::TOptions::dumpToTextStream(), mrpt::maps::TMapGenericParams::dumpToTextStream(), mrpt::maps::COctoMapBase< OCTREE, OCTREE_NODE >::TInsertionOptions::dumpToTextStream(), mrpt::maps::CPointsMap::TInsertionOptions::dumpToTextStream(), mrpt::maps::COctoMapBase< OCTREE, OCTREE_NODE >::TLikelihoodOptions::dumpToTextStream(), mrpt::maps::CPointsMap::TLikelihoodOptions::dumpToTextStream(), mrpt::hmtslam::CHMTSLAM::TOptions::dumpToTextStream(), mrpt::maps::COccupancyGridMap2D::TInsertionOptions::dumpToTextStream(), mrpt::maps::COctoMap::TMapDefinition::dumpToTextStream_map_specific(), mrpt::maps::CColouredOctoMap::TMapDefinition::dumpToTextStream_map_specific(), mrpt::maps::CWirelessPowerGridMap2D::TMapDefinition::dumpToTextStream_map_specific(), mrpt::maps::CHeightGridMap2D_MRF::TMapDefinition::dumpToTextStream_map_specific(), mrpt::maps::CReflectivityGridMap2D::TMapDefinition::dumpToTextStream_map_specific(), mrpt::maps::CHeightGridMap2D::TMapDefinition::dumpToTextStream_map_specific(), mrpt::maps::CGasConcentrationGridMap2D::TMapDefinition::dumpToTextStream_map_specific(), and mrpt::maps::COccupancyGridMap2D::TMapDefinition::dumpToTextStream_map_specific().

◆ LOADABLEOPTS_DUMP_VAR_DEG

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

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

Definition at line 111 of file CLoadableOptions.h.

Referenced by mrpt::maps::CPointsMap::TInsertionOptions::dumpToTextStream(), and mrpt::hmtslam::CHMTSLAM::TOptions::dumpToTextStream().




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