Subclass of PlotMSPlotParameters::Group to handle iteration parameters. More...
#include <PlotMSPlotParameterGroups.h>
Public Member Functions | |
PMS_PP_Iteration (PlotFactoryPtr factory) | |
PMS_PP_Iteration (const PMS_PP_Iteration ©) | |
~PMS_PP_Iteration () | |
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_Iteration & | operator= (const PMS_PP_Iteration &other) |
Implemented Methods //. | |
PMS_PP_Iteration & | operator= (const Group &other) |
bool | operator== (const Group &other) const |
bool | isIteration () const |
Returns whether or not we are iterating on an axis. | |
const PlotMSIterParam & | iterParam () const |
void | setIterParam (PlotMSIterParam iterparam) |
PMS::Axis | iterationAxis () const |
void | setIterationAxis (const PMS::Axis &value) |
int | getGridRow () const |
void | setGridRow (const int &value) |
int | getGridCol () const |
void | setGridCol (const int &value) |
Bool | isCommonAxisX () const |
void | setCommonAxisX (bool commonAxis) |
Bool | isCommonAxisY () const |
void | setCommonAxisY (bool commonAxis) |
Bool | isGlobalScaleX () const |
void | setGlobalScaleX (bool globalAxis) |
Bool | isGlobalScaleY () const |
void | setGlobalScaleY (bool globalAxis) |
Private Member Functions | |
PMS_PP_Iteration & | assign (const PMS_PP_Iteration *o) |
Does the work for the operator=()s. | |
void | setDefaults () |
Private Attributes | |
PlotMSIterParam | itsIterParam_ |
Subclass of PlotMSPlotParameters::Group to handle iteration parameters.
Currently includes: which axis to use rows, columns to fit onto each page Parameters apply to whole set of plots
Definition at line 1413 of file PlotMSPlotParameterGroups.h.
casa::PMS_PP_Iteration::PMS_PP_Iteration | ( | PlotFactoryPtr | factory | ) |
Referenced by clone().
casa::PMS_PP_Iteration::PMS_PP_Iteration | ( | const PMS_PP_Iteration & | copy | ) |
casa::PMS_PP_Iteration::~PMS_PP_Iteration | ( | ) |
PMS_PP_Iteration& casa::PMS_PP_Iteration::assign | ( | const PMS_PP_Iteration * | o | ) | [private] |
Does the work for the operator=()s.
Group* casa::PMS_PP_Iteration::clone | ( | ) | const [inline, virtual] |
Abstract Methods //.
Returns a clone (deep copy) of this group of subparameters.
Implements casa::PlotMSPlotParameters::Group.
Definition at line 1429 of file PlotMSPlotParameterGroups.h.
References PMS_PP_Iteration().
void casa::PMS_PP_Iteration::fromRecord | ( | const Record & | record | ) | [virtual] |
Sets the values for this group of subparameters using the given Record.
Implements casa::PlotMSPlotParameters::Group.
int casa::PMS_PP_Iteration::getGridCol | ( | ) | const [inline] |
Definition at line 1494 of file PlotMSPlotParameterGroups.h.
References casa::PlotMSIterParam::getGridCol(), and itsIterParam_.
Referenced by setGridCol().
int casa::PMS_PP_Iteration::getGridRow | ( | ) | const [inline] |
Definition at line 1484 of file PlotMSPlotParameterGroups.h.
References casa::PlotMSIterParam::getGridRow(), and itsIterParam_.
Referenced by setGridRow().
Bool casa::PMS_PP_Iteration::isCommonAxisX | ( | ) | const [inline] |
Definition at line 1504 of file PlotMSPlotParameterGroups.h.
References casa::PlotMSIterParam::isCommonAxisX(), and itsIterParam_.
Referenced by setCommonAxisX().
Bool casa::PMS_PP_Iteration::isCommonAxisY | ( | ) | const [inline] |
Definition at line 1523 of file PlotMSPlotParameterGroups.h.
References casa::PlotMSIterParam::isCommonAxisY(), and itsIterParam_.
Referenced by setCommonAxisY().
Bool casa::PMS_PP_Iteration::isGlobalScaleX | ( | ) | const [inline] |
Definition at line 1541 of file PlotMSPlotParameterGroups.h.
References casa::PlotMSIterParam::isGlobalAxisX(), and itsIterParam_.
Referenced by setCommonAxisX(), and setGlobalScaleX().
Bool casa::PMS_PP_Iteration::isGlobalScaleY | ( | ) | const [inline] |
Definition at line 1550 of file PlotMSPlotParameterGroups.h.
References casa::PlotMSIterParam::isGlobalAxisY(), and itsIterParam_.
Referenced by setCommonAxisY(), and setGlobalScaleY().
bool casa::PMS_PP_Iteration::isIteration | ( | ) | const |
Returns whether or not we are iterating on an axis.
PMS::Axis casa::PMS_PP_Iteration::iterationAxis | ( | ) | const [inline] |
Definition at line 1472 of file PlotMSPlotParameterGroups.h.
References casa::PlotMSIterParam::iterAxis(), and itsIterParam_.
Referenced by setIterationAxis().
const PlotMSIterParam& casa::PMS_PP_Iteration::iterParam | ( | ) | const [inline] |
Definition at line 1462 of file PlotMSPlotParameterGroups.h.
References itsIterParam_.
const String& casa::PMS_PP_Iteration::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 1434 of file PlotMSPlotParameterGroups.h.
References String, and casa::PMS_PP::UPDATE_ITERATION_NAME.
PMS_PP_Iteration& casa::PMS_PP_Iteration::operator= | ( | const Group & | other | ) |
PMS_PP_Iteration& casa::PMS_PP_Iteration::operator= | ( | const PMS_PP_Iteration & | 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_Iteration::operator== | ( | const Group & | other | ) | const |
bool casa::PMS_PP_Iteration::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 1446 of file PlotMSPlotParameterGroups.h.
void casa::PMS_PP_Iteration::setCommonAxisX | ( | bool | commonAxis | ) | [inline] |
Definition at line 1507 of file PlotMSPlotParameterGroups.h.
References isCommonAxisX(), isGlobalScaleX(), itsIterParam_, casa::PlotMSIterParam::setCommonAxisX(), and casa::PlotMSPlotParameters::Group::updated().
void casa::PMS_PP_Iteration::setCommonAxisY | ( | bool | commonAxis | ) | [inline] |
Definition at line 1526 of file PlotMSPlotParameterGroups.h.
References isCommonAxisY(), isGlobalScaleY(), itsIterParam_, casa::PlotMSIterParam::setCommonAxisY(), and casa::PlotMSPlotParameters::Group::updated().
void casa::PMS_PP_Iteration::setDefaults | ( | ) | [private] |
void casa::PMS_PP_Iteration::setGlobalScaleX | ( | bool | globalAxis | ) | [inline] |
Definition at line 1544 of file PlotMSPlotParameterGroups.h.
References isGlobalScaleX(), itsIterParam_, casa::PlotMSIterParam::setGlobalScaleX(), and casa::PlotMSPlotParameters::Group::updated().
void casa::PMS_PP_Iteration::setGlobalScaleY | ( | bool | globalAxis | ) | [inline] |
Definition at line 1553 of file PlotMSPlotParameterGroups.h.
References isGlobalScaleY(), itsIterParam_, casa::PlotMSIterParam::setGlobalScaleY(), and casa::PlotMSPlotParameters::Group::updated().
void casa::PMS_PP_Iteration::setGridCol | ( | const int & | value | ) | [inline] |
Definition at line 1497 of file PlotMSPlotParameterGroups.h.
References getGridCol(), itsIterParam_, casa::PlotMSIterParam::setGridCol(), and casa::PlotMSPlotParameters::Group::updated().
void casa::PMS_PP_Iteration::setGridRow | ( | const int & | value | ) | [inline] |
Definition at line 1487 of file PlotMSPlotParameterGroups.h.
References getGridRow(), itsIterParam_, casa::PlotMSIterParam::setGridRow(), and casa::PlotMSPlotParameters::Group::updated().
void casa::PMS_PP_Iteration::setIterationAxis | ( | const PMS::Axis & | value | ) | [inline] |
Definition at line 1476 of file PlotMSPlotParameterGroups.h.
References iterationAxis(), itsIterParam_, casa::PlotMSIterParam::setIterAxis(), and casa::PlotMSPlotParameters::Group::updated().
void casa::PMS_PP_Iteration::setIterParam | ( | PlotMSIterParam | iterparam | ) | [inline] |
Definition at line 1465 of file PlotMSPlotParameterGroups.h.
References itsIterParam_, and casa::PlotMSPlotParameters::Group::updated().
Record casa::PMS_PP_Iteration::toRecord | ( | ) | const [virtual] |
Returns a Record representing this group of subparameters.
Implements casa::PlotMSPlotParameters::Group.
Definition at line 1565 of file PlotMSPlotParameterGroups.h.
Referenced by getGridCol(), getGridRow(), isCommonAxisX(), isCommonAxisY(), isGlobalScaleX(), isGlobalScaleY(), iterationAxis(), iterParam(), setCommonAxisX(), setCommonAxisY(), setGlobalScaleX(), setGlobalScaleY(), setGridCol(), setGridRow(), setIterationAxis(), and setIterParam().