casa::PlotMaskedPointDataImpl< T > Class Template Reference

#include <PlotData.h>

Inheritance diagram for casa::PlotMaskedPointDataImpl< T >:

Inheritance graph
[legend]
Collaboration diagram for casa::PlotMaskedPointDataImpl< T >:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<class T>
class casa::PlotMaskedPointDataImpl< T >

Default implementation of PlotMaskedPointData using default containers.

Definition at line 559 of file PlotData.h.

Public Member Functions

 ~PlotMaskedPointDataImpl ()
 Destructor.
bool willDeleteData () const
 Overrides PlotPointDataImpl::willDeleteData().
void setDeleteData (bool del=true)
 Overrides PlotPointDataImpl::setDeleteData().
unsigned int sizeMasked () const
 Implements PlotMaskedPointData::sizeMasked().
unsigned int sizeUnmasked () const
 Implements PlotMaskedPointData::sizeUnmasked().
bool maskedAt (unsigned int index) const
 Implements PlotMaskedPointData::maskedAt().
bool maskedMinsMaxes (double &xMin, double &xMax, double &yMin, double &yMax)
 Implements PlotMaskedPointData::maskedMinsMaxes().
bool unmaskedMinsMaxes (double &xMin, double &xMax, double &yMin, double &yMax)
 Implements PlotMaskedPointData::unmaskedMinsMaxes().

Private Member Functions

unsigned int sizeMaskedOrUnmasked (bool masked) const
 Helper for size.
bool getMaskedOrUnmaskedMinsMaxes (double &xMin, double &xMax, double &yMin, double &yMax, bool masked)
 Helper for mins/maxes.

Private Attributes

vector< bool > * m_maskVector
Vector< bool > * m_maskCVector
bool * m_maskArray
unsigned int m_maskArraySize
bool m_shouldDeleteMask


Constructor & Destructor Documentation

template<class T>
casa::PlotMaskedPointDataImpl< T >::PlotMaskedPointDataImpl ( vector< T > &  x,
vector< T > &  y,
vector< bool > &  mask,
bool  shouldDelete = false 
) [inline]

X/Y constructors.

Definition at line 564 of file PlotData.h.

template<class T>
casa::PlotMaskedPointDataImpl< T >::PlotMaskedPointDataImpl ( Vector< T > &  x,
Vector< T > &  y,
Vector< bool > &  mask,
bool  shouldDelete = false 
) [inline]

Definition at line 569 of file PlotData.h.

template<class T>
casa::PlotMaskedPointDataImpl< T >::PlotMaskedPointDataImpl ( T *&  x,
T *&  y,
bool *&  mask,
unsigned int  size,
bool  shouldDel = false 
) [inline]

Definition at line 574 of file PlotData.h.

template<class T>
casa::PlotMaskedPointDataImpl< T >::PlotMaskedPointDataImpl ( vector< T > &  y,
vector< bool > &  mask,
bool  shouldDelete = false 
) [inline]

Y constructors.

Definition at line 583 of file PlotData.h.

template<class T>
casa::PlotMaskedPointDataImpl< T >::PlotMaskedPointDataImpl ( Vector< T > &  y,
Vector< bool > &  mask,
bool  shouldDelete = false 
) [inline]

Definition at line 588 of file PlotData.h.

template<class T>
casa::PlotMaskedPointDataImpl< T >::PlotMaskedPointDataImpl ( T *&  y,
bool *&  mask,
unsigned int  size,
bool  shouldDel = false 
) [inline]

Definition at line 593 of file PlotData.h.

template<class T>
casa::PlotMaskedPointDataImpl< T >::~PlotMaskedPointDataImpl (  )  [inline]

Destructor.

Definition at line 601 of file PlotData.h.

References casa::PlotMaskedPointDataImpl< T >::m_maskArray, casa::PlotMaskedPointDataImpl< T >::m_maskCVector, casa::PlotMaskedPointDataImpl< T >::m_maskVector, and casa::PlotMaskedPointDataImpl< T >::m_shouldDeleteMask.

template<class T>
casa::PlotMaskedPointDataImpl< T >::PlotMaskedPointDataImpl ( vector< T > &  x,
vector< T > &  y,
vector< bool > &  mask,
bool  shouldDelete = false 
) [inline]

X/Y constructors.

Definition at line 564 of file PlotData.h.

template<class T>
casa::PlotMaskedPointDataImpl< T >::PlotMaskedPointDataImpl ( Vector< T > &  x,
Vector< T > &  y,
Vector< bool > &  mask,
bool  shouldDelete = false 
) [inline]

Definition at line 569 of file PlotData.h.

template<class T>
casa::PlotMaskedPointDataImpl< T >::PlotMaskedPointDataImpl ( T *&  x,
T *&  y,
bool *&  mask,
unsigned int  size,
bool  shouldDel = false 
) [inline]

Definition at line 574 of file PlotData.h.

template<class T>
casa::PlotMaskedPointDataImpl< T >::PlotMaskedPointDataImpl ( vector< T > &  y,
vector< bool > &  mask,
bool  shouldDelete = false 
) [inline]

Y constructors.

Definition at line 583 of file PlotData.h.

template<class T>
casa::PlotMaskedPointDataImpl< T >::PlotMaskedPointDataImpl ( Vector< T > &  y,
Vector< bool > &  mask,
bool  shouldDelete = false 
) [inline]

Definition at line 588 of file PlotData.h.

template<class T>
casa::PlotMaskedPointDataImpl< T >::PlotMaskedPointDataImpl ( T *&  y,
bool *&  mask,
unsigned int  size,
bool  shouldDel = false 
) [inline]

Definition at line 593 of file PlotData.h.


Member Function Documentation

template<class T>
bool casa::PlotMaskedPointDataImpl< T >::willDeleteData (  )  const [inline, virtual]

Overrides PlotPointDataImpl::willDeleteData().

Reimplemented from casa::PlotPointDataImpl< T >.

Definition at line 610 of file PlotData.h.

References casa::PlotMaskedPointDataImpl< T >::m_shouldDeleteMask.

template<class T>
void casa::PlotMaskedPointDataImpl< T >::setDeleteData ( bool  del = true  )  [inline, virtual]

Overrides PlotPointDataImpl::setDeleteData().

Reimplemented from casa::PlotPointDataImpl< T >.

Definition at line 614 of file PlotData.h.

References casa::PlotMaskedPointDataImpl< T >::m_shouldDeleteMask.

template<class T>
unsigned int casa::PlotMaskedPointDataImpl< T >::sizeMasked (  )  const [inline, virtual]

Implements PlotMaskedPointData::sizeMasked().

Implements casa::PlotMaskedPointData.

Definition at line 620 of file PlotData.h.

References casa::PlotMaskedPointDataImpl< T >::sizeMaskedOrUnmasked().

template<class T>
unsigned int casa::PlotMaskedPointDataImpl< T >::sizeUnmasked (  )  const [inline, virtual]

Implements PlotMaskedPointData::sizeUnmasked().

Implements casa::PlotMaskedPointData.

Definition at line 623 of file PlotData.h.

References casa::PlotMaskedPointDataImpl< T >::sizeMaskedOrUnmasked().

template<class T>
bool casa::PlotMaskedPointDataImpl< T >::maskedAt ( unsigned int  index  )  const [inline, virtual]

Implements PlotMaskedPointData::maskedAt().

Implements casa::PlotMaskedPointData.

Definition at line 626 of file PlotData.h.

References casa::PlotMaskedPointDataImpl< T >::m_maskArray, casa::PlotMaskedPointDataImpl< T >::m_maskCVector, and casa::PlotMaskedPointDataImpl< T >::m_maskVector.

Referenced by casa::PlotMaskedPointDataImpl< T >::getMaskedOrUnmaskedMinsMaxes().

template<class T>
bool casa::PlotMaskedPointDataImpl< T >::maskedMinsMaxes ( double &  xMin,
double &  xMax,
double &  yMin,
double &  yMax 
) [inline, virtual]

Implements PlotMaskedPointData::maskedMinsMaxes().

Implements casa::PlotMaskedPointData.

Definition at line 634 of file PlotData.h.

References casa::PlotMaskedPointDataImpl< T >::getMaskedOrUnmaskedMinsMaxes().

template<class T>
bool casa::PlotMaskedPointDataImpl< T >::unmaskedMinsMaxes ( double &  xMin,
double &  xMax,
double &  yMin,
double &  yMax 
) [inline, virtual]

Implements PlotMaskedPointData::unmaskedMinsMaxes().

Implements casa::PlotMaskedPointData.

Definition at line 639 of file PlotData.h.

References casa::PlotMaskedPointDataImpl< T >::getMaskedOrUnmaskedMinsMaxes().

template<class T>
unsigned int casa::PlotMaskedPointDataImpl< T >::sizeMaskedOrUnmasked ( bool  masked  )  const [inline, private]

Helper for size.

Definition at line 651 of file PlotData.h.

References casa::PlotMaskedPointDataImpl< T >::m_maskArray, casa::PlotMaskedPointDataImpl< T >::m_maskArraySize, casa::PlotMaskedPointDataImpl< T >::m_maskCVector, casa::PlotMaskedPointDataImpl< T >::m_maskVector, and casa::PlotPointDataImpl< T >::size().

Referenced by casa::PlotMaskedPointDataImpl< T >::sizeMasked(), and casa::PlotMaskedPointDataImpl< T >::sizeUnmasked().

template<class T>
bool casa::PlotMaskedPointDataImpl< T >::getMaskedOrUnmaskedMinsMaxes ( double &  xMin,
double &  xMax,
double &  yMin,
double &  yMax,
bool  masked 
) [inline, private]

Helper for mins/maxes.

Definition at line 669 of file PlotData.h.

References casa::PlotPointDataImpl< T >::isValid(), casa::PlotMaskedPointDataImpl< T >::m_maskArray, casa::PlotMaskedPointDataImpl< T >::m_maskCVector, casa::PlotMaskedPointDataImpl< T >::m_maskVector, casa::PlotMaskedPointDataImpl< T >::maskedAt(), casa::PlotPointDataImpl< T >::minsMaxes(), casa::PlotPointDataImpl< T >::size(), casa::PlotPointDataImpl< T >::xAt(), and casa::PlotPointDataImpl< T >::yAt().

Referenced by casa::PlotMaskedPointDataImpl< T >::maskedMinsMaxes(), and casa::PlotMaskedPointDataImpl< T >::unmaskedMinsMaxes().


Member Data Documentation

template<class T>
vector<bool>* casa::PlotMaskedPointDataImpl< T >::m_maskVector [private]

Definition at line 644 of file PlotData.h.

Referenced by casa::PlotMaskedPointDataImpl< T >::getMaskedOrUnmaskedMinsMaxes(), casa::PlotMaskedPointDataImpl< T >::maskedAt(), casa::PlotMaskedPointDataImpl< T >::sizeMaskedOrUnmasked(), and casa::PlotMaskedPointDataImpl< T >::~PlotMaskedPointDataImpl().

template<class T>
Vector<bool>* casa::PlotMaskedPointDataImpl< T >::m_maskCVector [private]

Definition at line 645 of file PlotData.h.

Referenced by casa::PlotMaskedPointDataImpl< T >::getMaskedOrUnmaskedMinsMaxes(), casa::PlotMaskedPointDataImpl< T >::maskedAt(), casa::PlotMaskedPointDataImpl< T >::sizeMaskedOrUnmasked(), and casa::PlotMaskedPointDataImpl< T >::~PlotMaskedPointDataImpl().

template<class T>
bool* casa::PlotMaskedPointDataImpl< T >::m_maskArray [private]

Definition at line 646 of file PlotData.h.

Referenced by casa::PlotMaskedPointDataImpl< T >::getMaskedOrUnmaskedMinsMaxes(), casa::PlotMaskedPointDataImpl< T >::maskedAt(), casa::PlotMaskedPointDataImpl< T >::sizeMaskedOrUnmasked(), and casa::PlotMaskedPointDataImpl< T >::~PlotMaskedPointDataImpl().

template<class T>
unsigned int casa::PlotMaskedPointDataImpl< T >::m_maskArraySize [private]

Definition at line 647 of file PlotData.h.

Referenced by casa::PlotMaskedPointDataImpl< T >::sizeMaskedOrUnmasked().

template<class T>
bool casa::PlotMaskedPointDataImpl< T >::m_shouldDeleteMask [private]

Definition at line 648 of file PlotData.h.

Referenced by casa::PlotMaskedPointDataImpl< T >::setDeleteData(), casa::PlotMaskedPointDataImpl< T >::willDeleteData(), and casa::PlotMaskedPointDataImpl< T >::~PlotMaskedPointDataImpl().


The documentation for this class was generated from the following file:
Generated on Thu Aug 27 21:28:13 2009 for NRAOCASA by  doxygen 1.5.1