Define MRPT_LOAD_CONFIG_VAR

Define Documentation

MRPT_LOAD_CONFIG_VAR(variableName, variableType, configFileObject, sectionNameStr)

An useful macro for loading variables stored in a INI-like file under a key with the same name that the variable, and assigning the variable the current value if not found in the config file. The variableType must be the suffix of “read_XXX” functions, i.e. int, bool,…