casa::PlotMaskedPointDataImpl< T > Class Template Reference

Default implementation of PlotMaskedPointData using default containers. More...

#include <PlotData.h>

Inheritance diagram for casa::PlotMaskedPointDataImpl< T >:
casa::PlotMaskedPointData casa::PlotPointDataImpl< T > casa::PlotPointData casa::PlotPointData casa::PlotData casa::PlotData

List of all members.

Public Member Functions

 PlotMaskedPointDataImpl (vector< T > &x, vector< T > &y, vector< bool > &mask, bool shouldDelete=false)
 X/Y constructors.
 PlotMaskedPointDataImpl (Vector< T > &x, Vector< T > &y, Vector< bool > &mask, bool shouldDelete=false)
 PlotMaskedPointDataImpl (T *&x, T *&y, bool *&mask, unsigned int size, bool shouldDel=false)
 PlotMaskedPointDataImpl (vector< T > &y, vector< bool > &mask, bool shouldDelete=false)
 Y constructors.
 PlotMaskedPointDataImpl (Vector< T > &y, Vector< bool > &mask, bool shouldDelete=false)
 PlotMaskedPointDataImpl (T *&y, bool *&mask, unsigned int size, bool shouldDel=false)
 ~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

Detailed Description

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

Default implementation of PlotMaskedPointData using default containers.

Definition at line 556 of file PlotData.h.


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 561 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 566 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 571 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 580 of file PlotData.h.

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

Definition at line 585 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 590 of file PlotData.h.

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

Member Function Documentation

template<class T >
bool casa::PlotMaskedPointDataImpl< T >::getMaskedOrUnmaskedMinsMaxes ( double &  xMin,
double &  xMax,
double &  yMin,
double &  yMax,
bool  masked 
) [inline, private]
template<class T >
bool casa::PlotMaskedPointDataImpl< T >::maskedAt ( unsigned int  index  )  const [inline, virtual]
template<class T >
bool casa::PlotMaskedPointDataImpl< T >::maskedMinsMaxes ( double &  xMin,
double &  xMax,
double &  yMin,
double &  yMax 
) [inline, virtual]
template<class T >
void casa::PlotMaskedPointDataImpl< T >::setDeleteData ( bool  del = true  )  [inline, virtual]
template<class T >
unsigned int casa::PlotMaskedPointDataImpl< T >::sizeMasked (  )  const [inline, virtual]
template<class T >
unsigned int casa::PlotMaskedPointDataImpl< T >::sizeMaskedOrUnmasked ( bool  masked  )  const [inline, private]
template<class T >
unsigned int casa::PlotMaskedPointDataImpl< T >::sizeUnmasked (  )  const [inline, virtual]
template<class T >
bool casa::PlotMaskedPointDataImpl< T >::unmaskedMinsMaxes ( double &  xMin,
double &  xMax,
double &  yMin,
double &  yMax 
) [inline, virtual]
template<class T >
bool casa::PlotMaskedPointDataImpl< T >::willDeleteData (  )  const [inline, virtual]

Member Data Documentation

template<class T >
bool* casa::PlotMaskedPointDataImpl< T >::m_maskArray [private]
template<class T >
unsigned int casa::PlotMaskedPointDataImpl< T >::m_maskArraySize [private]
template<class T >
Vector<bool>* casa::PlotMaskedPointDataImpl< T >::m_maskCVector [private]
template<class T >
vector<bool>* casa::PlotMaskedPointDataImpl< T >::m_maskVector [private]
template<class T >
bool casa::PlotMaskedPointDataImpl< T >::m_shouldDeleteMask [private]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1