#include <mrpt/expr/CRuntimeCompiledExpression.h>
#include <cstdint>
#include <optional>
#include <set>
#include <string>
#include <variant>
#include <vector>
Go to the source code of this file.
|
#define | DECLARE_PARAMETER_IN_OPT(__yaml, __variable, __object) |
|
#define | DECLARE_PARAMETER_IN_REQ(__yaml, __variable, __object) |
|
#define | DECLARE_PARAMETER_OPT(__yaml, __variable) DECLARE_PARAMETER_IN_OPT(__yaml, __variable, (*this)) |
|
#define | DECLARE_PARAMETER_REQ(__yaml, __variable) DECLARE_PARAMETER_IN_REQ(__yaml, __variable, (*this)) |
|
◆ DECLARE_PARAMETER_IN_OPT
#define DECLARE_PARAMETER_IN_OPT |
( |
|
__yaml, |
|
|
|
__variable, |
|
|
|
__object |
|
) |
| |
Value: __object.mp2p_icp::Parameterizable::parseAndDeclareParameter( \
__yaml.getOrDefault(#__variable, std::to_string(__variable)), \
__variable);
Definition at line 159 of file Parameterizable.h.
◆ DECLARE_PARAMETER_IN_REQ
#define DECLARE_PARAMETER_IN_REQ |
( |
|
__yaml, |
|
|
|
__variable, |
|
|
|
__object |
|
) |
| |
Value: if (!__yaml.has(#__variable)) \
throw std::invalid_argument(mrpt::format( \
"Required parameter `%s` not an existing key in dictionary.", \
#__variable)); \
__object.mp2p_icp::Parameterizable::parseAndDeclareParameter( \
__yaml[#__variable].as<std::string>(), __variable);
Definition at line 167 of file Parameterizable.h.
◆ DECLARE_PARAMETER_OPT
◆ DECLARE_PARAMETER_REQ