Define LSST_CONTROL_FIELD

Define Documentation

LSST_CONTROL_FIELD(NAME, TYPE, DOC)

A preprocessor macro used to define fields in C++ “control object” structs. These objects can then be wrapped into full-fledged Config objects by the functions in lsst.pex.config.wrap.

The defaults for the config class will be set properly if and only if the control class is default-constructable.

See lsst.pex.config.wrap.makeConfigClass for a complete example of how to use this macro.