Subclass of PlotMSPlotParameters::Group to handle subparameters for MS data. More...
#include <PlotMSPlotParameterGroups.h>
Public Member Functions | |
PMS_PP_MSData (PlotFactoryPtr factory) | |
PMS_PP_MSData (const PMS_PP_MSData ©) | |
~PMS_PP_MSData () | |
Group * | clone () const |
Abstract Methods //. | |
const String & | name () const |
Returns the name of this group of subparameters. | |
Record | toRecord () const |
Returns a Record representing this group of subparameters. | |
void | fromRecord (const Record &record) |
Sets the values for this group of subparameters using the given Record. | |
bool | requiresRedrawOnChange () const |
Returns true if the plot needs to be redrawn when subpamarameters in this group have changed, false otherwise. | |
PMS_PP_MSData & | operator= (const PMS_PP_MSData &other) |
Implemented Methods //. | |
PMS_PP_MSData & | operator= (const Group &other) |
bool | operator== (const Group &other) const |
bool | isSet () const |
const String & | filename () const |
void | setFilename (const String &value) |
const PlotMSSelection & | selection () const |
void | setSelection (const PlotMSSelection &value) |
const PlotMSAveraging & | averaging () const |
void | setAveraging (const PlotMSAveraging &value) |
const PlotMSTransformations & | transformations () const |
void | setTransformations (const PlotMSTransformations &value) |
const PlotMSCalibration & | calibration () const |
void | setCalibration (const PlotMSCalibration &value) |
Private Member Functions | |
PMS_PP_MSData & | assign (const PMS_PP_MSData *other) |
Does the work of the operator=()s. | |
void | setDefaults () |
Private Attributes | |
String | itsFilename_ |
PlotMSSelection | itsSelection_ |
PlotMSAveraging | itsAveraging_ |
PlotMSTransformations | itsTransformations_ |
PlotMSCalibration | itsCalibration_ |
Static Private Attributes | |
static const String | REC_FILENAME |
static const String | REC_SELECTION |
static const String | REC_AVERAGING |
static const String | REC_TRANSFORMATIONS |
static const String | REC_CALIBRATION |
Subclass of PlotMSPlotParameters::Group to handle subparameters for MS data.
Currently includes: filename selection averaging
Definition at line 115 of file PlotMSPlotParameterGroups.h.
casa::PMS_PP_MSData::PMS_PP_MSData | ( | PlotFactoryPtr | factory | ) |
Referenced by clone().
casa::PMS_PP_MSData::PMS_PP_MSData | ( | const PMS_PP_MSData & | copy | ) |
casa::PMS_PP_MSData::~PMS_PP_MSData | ( | ) |
PMS_PP_MSData& casa::PMS_PP_MSData::assign | ( | const PMS_PP_MSData * | other | ) | [private] |
Does the work of the operator=()s.
const PlotMSAveraging& casa::PMS_PP_MSData::averaging | ( | ) | const [inline] |
Definition at line 183 of file PlotMSPlotParameterGroups.h.
References itsAveraging_.
const PlotMSCalibration& casa::PMS_PP_MSData::calibration | ( | ) | const [inline] |
Definition at line 205 of file PlotMSPlotParameterGroups.h.
References itsCalibration_.
Group* casa::PMS_PP_MSData::clone | ( | ) | const [inline, virtual] |
Abstract Methods //.
Returns a clone (deep copy) of this group of subparameters.
Implements casa::PlotMSPlotParameters::Group.
Definition at line 127 of file PlotMSPlotParameterGroups.h.
References PMS_PP_MSData().
const String& casa::PMS_PP_MSData::filename | ( | ) | const [inline] |
Definition at line 162 of file PlotMSPlotParameterGroups.h.
References itsFilename_.
void casa::PMS_PP_MSData::fromRecord | ( | const Record & | record | ) | [virtual] |
Sets the values for this group of subparameters using the given Record.
Implements casa::PlotMSPlotParameters::Group.
bool casa::PMS_PP_MSData::isSet | ( | ) | const [inline] |
Definition at line 158 of file PlotMSPlotParameterGroups.h.
References itsFilename_.
const String& casa::PMS_PP_MSData::name | ( | ) | const [inline, virtual] |
Returns the name of this group of subparameters.
Will be used as an update flag.
Implements casa::PlotMSPlotParameters::Group.
Definition at line 132 of file PlotMSPlotParameterGroups.h.
References String, and casa::PMS_PP::UPDATE_MSDATA_NAME.
PMS_PP_MSData& casa::PMS_PP_MSData::operator= | ( | const Group & | other | ) |
PMS_PP_MSData& casa::PMS_PP_MSData::operator= | ( | const PMS_PP_MSData & | other | ) | [virtual] |
Implemented Methods //.
Copy operator. Should probably be overridden by children to be more efficient. Only copies if the two groups have the same name.
Reimplemented from casa::PlotMSPlotParameters::Group.
bool casa::PMS_PP_MSData::operator== | ( | const Group & | other | ) | const |
bool casa::PMS_PP_MSData::requiresRedrawOnChange | ( | ) | const [inline, virtual] |
Returns true if the plot needs to be redrawn when subpamarameters in this group have changed, false otherwise.
Implements casa::PlotMSPlotParameters::Group.
Definition at line 144 of file PlotMSPlotParameterGroups.h.
const PlotMSSelection& casa::PMS_PP_MSData::selection | ( | ) | const [inline] |
Definition at line 172 of file PlotMSPlotParameterGroups.h.
References itsSelection_.
void casa::PMS_PP_MSData::setAveraging | ( | const PlotMSAveraging & | value | ) | [inline] |
Definition at line 186 of file PlotMSPlotParameterGroups.h.
References itsAveraging_, and casa::PlotMSPlotParameters::Group::updated().
void casa::PMS_PP_MSData::setCalibration | ( | const PlotMSCalibration & | value | ) | [inline] |
Definition at line 208 of file PlotMSPlotParameterGroups.h.
References itsCalibration_, and casa::PlotMSPlotParameters::Group::updated().
void casa::PMS_PP_MSData::setDefaults | ( | ) | [private] |
void casa::PMS_PP_MSData::setFilename | ( | const String & | value | ) | [inline] |
Definition at line 165 of file PlotMSPlotParameterGroups.h.
References itsFilename_, and casa::PlotMSPlotParameters::Group::updated().
void casa::PMS_PP_MSData::setSelection | ( | const PlotMSSelection & | value | ) | [inline] |
Definition at line 175 of file PlotMSPlotParameterGroups.h.
References itsSelection_, and casa::PlotMSPlotParameters::Group::updated().
void casa::PMS_PP_MSData::setTransformations | ( | const PlotMSTransformations & | value | ) | [inline] |
Definition at line 197 of file PlotMSPlotParameterGroups.h.
References itsTransformations_, and casa::PlotMSPlotParameters::Group::updated().
Record casa::PMS_PP_MSData::toRecord | ( | ) | const [virtual] |
Returns a Record representing this group of subparameters.
Implements casa::PlotMSPlotParameters::Group.
const PlotMSTransformations& casa::PMS_PP_MSData::transformations | ( | ) | const [inline] |
Definition at line 194 of file PlotMSPlotParameterGroups.h.
References itsTransformations_.
Definition at line 222 of file PlotMSPlotParameterGroups.h.
Referenced by averaging(), and setAveraging().
Definition at line 224 of file PlotMSPlotParameterGroups.h.
Referenced by calibration(), and setCalibration().
String casa::PMS_PP_MSData::itsFilename_ [private] |
Definition at line 220 of file PlotMSPlotParameterGroups.h.
Referenced by filename(), isSet(), and setFilename().
Definition at line 221 of file PlotMSPlotParameterGroups.h.
Referenced by selection(), and setSelection().
Definition at line 223 of file PlotMSPlotParameterGroups.h.
Referenced by setTransformations(), and transformations().
const String casa::PMS_PP_MSData::REC_AVERAGING [static, private] |
Definition at line 229 of file PlotMSPlotParameterGroups.h.
const String casa::PMS_PP_MSData::REC_CALIBRATION [static, private] |
Definition at line 231 of file PlotMSPlotParameterGroups.h.
const String casa::PMS_PP_MSData::REC_FILENAME [static, private] |
Definition at line 227 of file PlotMSPlotParameterGroups.h.
const String casa::PMS_PP_MSData::REC_SELECTION [static, private] |
Definition at line 228 of file PlotMSPlotParameterGroups.h.
const String casa::PMS_PP_MSData::REC_TRANSFORMATIONS [static, private] |
Definition at line 230 of file PlotMSPlotParameterGroups.h.