#include <FlagDataHandler.h>
Public Member Functions | |
FlagMapper (Bool flag, vector< vector< uInt > > selectedCorrelations, CubeView< Bool > *commonFlagsView, CubeView< Bool > *originalFlagsView, CubeView< Bool > *privateFlagsView=NULL, VectorView< Bool > *commonFlagRowView=NULL, VectorView< Bool > *originalFlagRowView=NULL, VectorView< Bool > *privateFlagRowView=NULL) | |
FlagMapper (Bool flag, vector< vector< uInt > > selectedCorrelations) | |
~FlagMapper () | |
void | setParentCubes (CubeView< Bool > *commonFlagsView, CubeView< Bool > *originalFlagsView, CubeView< Bool > *privateFlagsView=NULL) |
void | setParentFlagRow (VectorView< Bool > *commonFlagRowView, VectorView< Bool > *originalFlagRowView, VectorView< Bool > *privateFlagRowView=NULL) |
void | applyFlag (uInt chan, uInt row) |
void | applyFlag (uInt pol, uInt channel, uInt row) |
void | applyFlagRow (uInt row) |
void | applyFlagInRow (uInt row) |
Bool | getOriginalFlags (uInt chan, uInt row) |
Bool | getModifiedFlags (uInt chan, uInt row) |
Bool | getPrivateFlags (uInt chan, uInt row) |
Bool | getOriginalFlags (uInt pol, uInt channel, uInt row) |
Bool | getModifiedFlags (uInt pol, uInt channel, uInt row) |
Bool | getPrivateFlags (uInt pol, uInt channel, uInt row) |
void | setModifiedFlags (uInt pol, uInt channel, uInt row) |
These methods are needed for flag extension. | |
void | setPrivateFlags (uInt pol, uInt channel, uInt row) |
Bool | getOriginalFlagRow (uInt row) |
Bool | getModifiedFlagRow (uInt row) |
Bool | getPrivateFlagRow (uInt row) |
const IPosition & | shape () const |
void | shape (Int &chan, Int &row) const |
void | shape (Int &pol, Int &chan, Int &row) const |
vector< vector< uInt > > | getSelectedCorrelations () |
void | activateCheckMode () |
uInt | nSelectedCorrelations () |
uInt | flagsPerRow () |
Protected Member Functions | |
void | setExpressionMapping (vector< vector< uInt > > selectedCorrelations) |
void | applyCommonFlags (uInt pol, uInt channel, uInt row) |
Apply flags to common flag cube. | |
void | applyPrivateFlags (uInt pol, uInt channel, uInt row) |
Apply flags to common and private flag cubes. | |
void | checkCommonFlags (uInt pol, uInt channel, uInt row) |
Apply flags to common and private flag cubes. | |
void | applyCommonFlagRow (uInt row) |
Apply flags to common flag rows. | |
void | applyPrivateFlagRow (uInt row) |
Apply flags to common and private flag rows. | |
Private Attributes | |
Bool | flag_p |
IPosition | reducedLength_p |
CubeView< Bool > * | commonFlagsView_p |
CubeView< Bool > * | originalFlagsView_p |
CubeView< Bool > * | privateFlagsView_p |
VectorView< Bool > * | commonFlagRowView_p |
VectorView< Bool > * | originalFlagRowView_p |
VectorView< Bool > * | privateFlagRowView_p |
vector< vector< uInt > > | selectedCorrelations_p |
uInt | nSelectedCorrelations_p |
uInt | flagsPerRow_p |
void(casa::FlagMapper::* | applyFlag_p )(uInt, uInt, uInt) |
void(casa::FlagMapper::* | applyFlagRow_p )(uInt) |
Definition at line 436 of file FlagDataHandler.h.
casa::FlagMapper::FlagMapper | ( | Bool | flag, | |
vector< vector< uInt > > | selectedCorrelations, | |||
CubeView< Bool > * | commonFlagsView, | |||
CubeView< Bool > * | originalFlagsView, | |||
CubeView< Bool > * | privateFlagsView = NULL , |
|||
VectorView< Bool > * | commonFlagRowView = NULL , |
|||
VectorView< Bool > * | originalFlagRowView = NULL , |
|||
VectorView< Bool > * | privateFlagRowView = NULL | |||
) |
casa::FlagMapper::FlagMapper | ( | Bool | flag, | |
vector< vector< uInt > > | selectedCorrelations | |||
) |
casa::FlagMapper::~FlagMapper | ( | ) |
void casa::FlagMapper::activateCheckMode | ( | ) | [inline] |
Definition at line 497 of file FlagDataHandler.h.
References applyFlag_p, and checkCommonFlags().
void casa::FlagMapper::applyCommonFlagRow | ( | uInt | row | ) | [protected] |
Apply flags to common flag rows.
void casa::FlagMapper::applyCommonFlags | ( | uInt | pol, | |
uInt | channel, | |||
uInt | row | |||
) | [protected] |
Apply flags to common flag cube.
void casa::FlagMapper::applyFlag | ( | uInt | pol, | |
uInt | channel, | |||
uInt | row | |||
) |
void casa::FlagMapper::applyFlag | ( | uInt | chan, | |
uInt | row | |||
) |
void casa::FlagMapper::applyFlagInRow | ( | uInt | row | ) |
void casa::FlagMapper::applyFlagRow | ( | uInt | row | ) |
void casa::FlagMapper::applyPrivateFlagRow | ( | uInt | row | ) | [protected] |
Apply flags to common and private flag rows.
void casa::FlagMapper::applyPrivateFlags | ( | uInt | pol, | |
uInt | channel, | |||
uInt | row | |||
) | [protected] |
Apply flags to common and private flag cubes.
void casa::FlagMapper::checkCommonFlags | ( | uInt | pol, | |
uInt | channel, | |||
uInt | row | |||
) | [protected] |
Apply flags to common and private flag cubes.
Referenced by activateCheckMode().
uInt casa::FlagMapper::flagsPerRow | ( | ) | [inline] |
Definition at line 500 of file FlagDataHandler.h.
References flagsPerRow_p.
Bool casa::FlagMapper::getModifiedFlagRow | ( | uInt | row | ) |
Bool casa::FlagMapper::getModifiedFlags | ( | uInt | pol, | |
uInt | channel, | |||
uInt | row | |||
) |
Bool casa::FlagMapper::getModifiedFlags | ( | uInt | chan, | |
uInt | row | |||
) |
Bool casa::FlagMapper::getOriginalFlagRow | ( | uInt | row | ) |
Bool casa::FlagMapper::getOriginalFlags | ( | uInt | pol, | |
uInt | channel, | |||
uInt | row | |||
) |
Bool casa::FlagMapper::getOriginalFlags | ( | uInt | chan, | |
uInt | row | |||
) |
Bool casa::FlagMapper::getPrivateFlagRow | ( | uInt | row | ) |
Bool casa::FlagMapper::getPrivateFlags | ( | uInt | pol, | |
uInt | channel, | |||
uInt | row | |||
) |
Bool casa::FlagMapper::getPrivateFlags | ( | uInt | chan, | |
uInt | row | |||
) |
vector< vector<uInt> > casa::FlagMapper::getSelectedCorrelations | ( | ) | [inline] |
Definition at line 495 of file FlagDataHandler.h.
References selectedCorrelations_p.
uInt casa::FlagMapper::nSelectedCorrelations | ( | ) | [inline] |
Definition at line 499 of file FlagDataHandler.h.
References nSelectedCorrelations_p.
void casa::FlagMapper::setExpressionMapping | ( | vector< vector< uInt > > | selectedCorrelations | ) | [protected] |
void casa::FlagMapper::setModifiedFlags | ( | uInt | pol, | |
uInt | channel, | |||
uInt | row | |||
) |
These methods are needed for flag extension.
void casa::FlagMapper::setParentCubes | ( | CubeView< Bool > * | commonFlagsView, | |
CubeView< Bool > * | originalFlagsView, | |||
CubeView< Bool > * | privateFlagsView = NULL | |||
) |
void casa::FlagMapper::setParentFlagRow | ( | VectorView< Bool > * | commonFlagRowView, | |
VectorView< Bool > * | originalFlagRowView, | |||
VectorView< Bool > * | privateFlagRowView = NULL | |||
) |
void casa::FlagMapper::setPrivateFlags | ( | uInt | pol, | |
uInt | channel, | |||
uInt | row | |||
) |
void casa::FlagMapper::shape | ( | Int & | pol, | |
Int & | chan, | |||
Int & | row | |||
) | const [inline] |
Definition at line 487 of file FlagDataHandler.h.
References reducedLength_p.
void casa::FlagMapper::shape | ( | Int & | chan, | |
Int & | row | |||
) | const [inline] |
Definition at line 480 of file FlagDataHandler.h.
References reducedLength_p.
const IPosition& casa::FlagMapper::shape | ( | ) | const [inline] |
Definition at line 475 of file FlagDataHandler.h.
References reducedLength_p.
void(casa::FlagMapper::* casa::FlagMapper::applyFlag_p)(uInt, uInt, uInt) [private] |
Referenced by activateCheckMode().
void(casa::FlagMapper::* casa::FlagMapper::applyFlagRow_p)(uInt) [private] |
VectorView<Bool>* casa::FlagMapper::commonFlagRowView_p [private] |
Definition at line 525 of file FlagDataHandler.h.
CubeView<Bool>* casa::FlagMapper::commonFlagsView_p [private] |
Definition at line 522 of file FlagDataHandler.h.
Bool casa::FlagMapper::flag_p [private] |
Definition at line 520 of file FlagDataHandler.h.
uInt casa::FlagMapper::flagsPerRow_p [private] |
Definition at line 530 of file FlagDataHandler.h.
Referenced by flagsPerRow().
uInt casa::FlagMapper::nSelectedCorrelations_p [private] |
Definition at line 529 of file FlagDataHandler.h.
Referenced by nSelectedCorrelations().
VectorView<Bool>* casa::FlagMapper::originalFlagRowView_p [private] |
Definition at line 526 of file FlagDataHandler.h.
CubeView<Bool>* casa::FlagMapper::originalFlagsView_p [private] |
Definition at line 523 of file FlagDataHandler.h.
VectorView<Bool>* casa::FlagMapper::privateFlagRowView_p [private] |
Definition at line 527 of file FlagDataHandler.h.
CubeView<Bool>* casa::FlagMapper::privateFlagsView_p [private] |
Definition at line 524 of file FlagDataHandler.h.
IPosition casa::FlagMapper::reducedLength_p [private] |
Definition at line 521 of file FlagDataHandler.h.
Referenced by shape().
vector< vector<uInt> > casa::FlagMapper::selectedCorrelations_p [private] |
Definition at line 528 of file FlagDataHandler.h.
Referenced by getSelectedCorrelations().