Main MRPT website > C++ reference for MRPT 1.5.6
Classes | Namespaces | Macros
CLoadableOptions.h File Reference
#include <mrpt/utils/core_defs.h>
#include <string>
#include <stdexcept>
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 93 of file CLoadableOptions.h.

Referenced by mrpt::hmtslam::CTopLCDetector_FabMap::TOptions::dumpToTextStream(), mrpt::maps::TMapGenericParams::dumpToTextStream(), mrpt::vision::CFeatureExtraction::TOptions::dumpToTextStream(), mrpt::maps::COctoMapBase< octree_t, octree_node_t >::TInsertionOptions::dumpToTextStream(), mrpt::slam::CGridMapAligner::TConfigParams::dumpToTextStream(), mrpt::maps::COctoMapBase< octree_t, octree_node_t >::TLikelihoodOptions::dumpToTextStream(), mrpt::maps::CPointsMap::TInsertionOptions::dumpToTextStream(), mrpt::maps::CPointsMap::TLikelihoodOptions::dumpToTextStream(), mrpt::maps::COccupancyGridMap2D::TInsertionOptions::dumpToTextStream(), mrpt::hmtslam::CHMTSLAM::TOptions::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)    { 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 96 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.5.6 Git: 4c65e8431 Tue Apr 24 08:18:17 2018 +0200 at lun oct 28 01:35:26 CET 2019