28 #ifndef TRIALDISPLAY_DPARAMETERMAPKEYCHOICE_H
29 #define TRIALDISPLAY_DPARAMETERMAPKEYCHOICE_H
virtual ~DParameterMapKeyChoice()
Destructor.
DParameterMapKeyChoice & operator=(const DParameterMapKeyChoice &other)
(Required) copy assignment.
casacore::String name() const
Return the name of this parameter.
void setOptions(const casacore::Vector< casacore::String > &newOptions)
Thise function has very little implementation, it is here so if a user changes the list of options...
casacore::Bool lookUpKey(const casacore::String &value)
Lookup the key based on the string provided.
casacore::String itsLastString
casacore::String help() const
Return the help for this parameter.
void setKeys(const casacore::Vector< casacore::Int > &newKeys)
Set or change the list of allowed options for this parameter.
casacore::Bool setKeyValue(const casacore::Int newValue)
Set the current value, based on a key.
casacore::String description() const
Return the description of this parameter.
casacore::Vector< casacore::Int > itsKeys
Store for the allowed options for this parameter.
DParameterMapKeyChoice()
(Required) default constructor.
casacore::String context() const
Return the context of this parameter.
casacore::Vector< casacore::Int > keys() const
Return the list of all keys for this parameter.
bool Bool
Define the standard types used by Casacore.
Implementation of DisplayParameter to store choice parameters.
void setOptions(const casacore::Vector< casacore::String > &options)
Set or change the list of allowed options for this parameter.
Implementation of DParameterChoice to store parameter and associated key.
casacore::Int keyValue()
Return the current value of this parameter.
casacore::Vector< casacore::String > options() const
Return the list of allowed options for this parameter.
casacore::Int itsKeyValue
casacore::String value()
Return the current value of this parameter.
String: the storage and methods of handling collections of characters.