MIRA
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
IgnoreMissing Class Reference

Marker for indicating parameters that should be ignored if they are missing in the config file. More...

#include <serialization/IgnoreMissing.h>

Detailed Description

Marker for indicating parameters that should be ignored if they are missing in the config file.

The marker can be used instead of a default value. Usage:

template <typename Reflector>
void reflect(Reflector& r)
{
r.member("Value", mValue, "will not be set if 'Value' is missing", serialization::IgnoreMissing());
}

The documentation for this class was generated from the following file: