wrap#
- lsst.pex.config.wrap(ctrl)#
Add fields from a C++ control class to a
lsst.pex.config.Configclass.Parameters#
- ctrlobject
The C++ control class.
Notes#
See
makeConfigClassfor more information. Thiswrapdecorator is equivalent to callingmakeConfigClasswith the decorated class as theclsargument.Examples#
Use
wraplike this:@wrap(MyControlClass) class MyConfigClass(Config): pass
See Also#
makeConfigClass : Make a config class.