28 #ifndef TRIALDISPLAY_DPARAMETERSWITCH_H
29 #define TRIALDISPLAY_DPARAMETERSWITCH_H
casacore::String name() const
Return the name of this parameter.
DParameterSwitch & operator=(const DParameterSwitch &other)
(Required) copy assignment.
void setValue(const casacore::Bool value)
Set or change the current value.
casacore::String help() const
Return the help for this parameter.
casacore::String description() const
Return the description of this parameter.
casacore::Bool value() const
Return the current value of this parameter.
casacore::Bool itsValue
Store for the value of this parameter.
void setDefaultValue(const casacore::Bool defaultvalue)
Set or change the default value for this parameter.
casacore::String context() const
Return the context of this parameter.
virtual void toRecord(casacore::RecordInterface &record, const casacore::Bool fullrecord=true, const casacore::Bool overwrite=false)
Place a record describing this parameter in a sub-field of record with name matching that of this par...
bool Bool
Define the standard types used by Casacore.
casacore::Bool defaultValue() const
Return the default for this parameter.
String: the storage and methods of handling collections of characters.
casacore::Bool itsDefaultValue
Store for the default of this parameter.
DParameterSwitch()
(Required) default constructor.
Abstract base class for Record classes.
virtual ~DParameterSwitch()
Destructor.
virtual casacore::Bool fromRecord(const casacore::RecordInterface &record)
Parse record, and update this parameter.
Implementation of DisplayParameter to store choice parameters.
Base class for storing and parsing of parameters for display classes.