28 #ifndef TRIALDISPLAY_DPARAMETERRANGE_H
29 #define TRIALDISPLAY_DPARAMETERRANGE_H
66 template <
class T>
class DParameterRange :
public DisplayParameter {
90 DParameterRange<T> &
operator=(
const DParameterRange<T> &other);
215 #ifndef AIPS_NO_TEMPLATE_SRC
216 #include <display/Display/DParameterRange.tcc>
casacore::String name() const
Return the name of this parameter.
casacore::Bool provideEntry()
Return whether there should be a text box beside the slider.
T maximum()
Return the maximum for this parameter.
DParameterRange< T > & operator=(const DParameterRange< T > &other)
(Required) copy assignment.
DParameterRange()
(Required) default constructor.
casacore::String help() const
Return the help for this parameter.
T itsResolution
Store for the resolution of this parameter.
void setValue(const T value)
Set or change the current value for this parameter.
casacore::Bool itsOnRelease
Store for the 'onrelease' state of this parameter.
casacore::String description() const
Return the description of this parameter.
void setMaximum(const T maximum)
Set or change the maximum for this parameter.
void setOnRelease(const casacore::Bool onrelease)
Set or change the onrelease state for this parameter.
void setDefaultValue(const T defaultValue)
Set or change the default for this parameter.
void setProvideEntry(const casacore::Bool provideentry)
Set or change the provideentry state for this parameter.
casacore::Bool editable() const
Return whether this parameter is editable.
void setResolution(const T resolution)
Set or change the resolution for this parameter.
T minimum()
Return the minimum for this parameter.
virtual ~DParameterRange()
Destructor.
casacore::String context() const
Return the context of this parameter.
bool Bool
Define the standard types used by Casacore.
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...
T itsMaximum
Store for the maximum of this parameter.
virtual casacore::Bool fromRecord(const casacore::RecordInterface &record)
Parse record, and update this parameter if a field exists whose name matches that of this parameter...
casacore::Bool itsProvideEntry
Store for the 'provideentry' state of this parameter.
void setMinimum(const T minimum)
Set or change the minimum for this parameter.
T value()
Return the current value of this parameter.
T itsValue
Store for the value of this parameter.
String: the storage and methods of handling collections of characters.
const T & operator=(const T &value)
Convenient syntax to set (only) the value.
casacore::Bool onRelease()
Return whether the slider event should occur when the user releases the slider, i.e.
T defaultValue()
Return the default for this parameter.
Abstract base class for Record classes.
T resolution()
Return the resolution of this parameter.
T itsDefault
Store for the default of this parameter.
T itsMinimum
Store for the minimum of this parameter.