casa::PlotSingleDataImpl< T > Class Template Reference

#include <PlotData.h>

Inheritance diagram for casa::PlotSingleDataImpl< T >:
casa::PlotSingleData casa::PlotData

List of all members.

Public Member Functions

 PlotSingleDataImpl ()
 Invalid data constructor.
 PlotSingleDataImpl (vector< T > &value, bool shouldDelete=false)
 Data using different standard containers.
 PlotSingleDataImpl (Vector< T > &value, bool shouldDelete=false)
 PlotSingleDataImpl (T *&value, unsigned int size, bool shouldDelete=false)
 ~PlotSingleDataImpl ()
 Destructor.
bool isValid () const
 Implements PlotData::isValid().
bool willDeleteData () const
 Implements PlotData::willDeleteData().
void setDeleteData (bool del=true)
 Implements PlotData::setDeleteData().
unsigned int size () const
 Implements PlotSingleData::size().
double at (unsigned int i) const
 Implements PlotSingleData::at().
bool minMax (double &min, double &max)
 Implements PlotSingleData::minMax().
void recalculateMinMax ()
 Recalculates the cached min and max.

Private Attributes

vector< T > * m_vector
Vector< T > * m_cvector
T * m_array
unsigned int m_arraySize
bool m_shouldDelete
double m_min
double m_max

Detailed Description

template<class T>
class casa::PlotSingleDataImpl< T >

Type Constraints

Definition at line 306 of file PlotData.h.


Constructor & Destructor Documentation

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

Invalid data constructor.

Definition at line 309 of file PlotData.h.

template<class T >
casa::PlotSingleDataImpl< T >::PlotSingleDataImpl ( vector< T > &  value,
bool  shouldDelete = false 
) [inline]

Data using different standard containers.

Definition at line 314 of file PlotData.h.

template<class T >
casa::PlotSingleDataImpl< T >::PlotSingleDataImpl ( Vector< T > &  value,
bool  shouldDelete = false 
) [inline]

Definition at line 318 of file PlotData.h.

template<class T >
casa::PlotSingleDataImpl< T >::PlotSingleDataImpl ( T *&  value,
unsigned int  size,
bool  shouldDelete = false 
) [inline]

Definition at line 322 of file PlotData.h.

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

Destructor.

Definition at line 329 of file PlotData.h.


Member Function Documentation

template<class T >
double casa::PlotSingleDataImpl< T >::at ( unsigned int  i  )  const [inline, virtual]

Implements PlotSingleData::at().

Implements casa::PlotSingleData.

Definition at line 357 of file PlotData.h.

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

Implements PlotData::isValid().

Implements casa::PlotData.

Definition at line 339 of file PlotData.h.

template<class T >
bool casa::PlotSingleDataImpl< T >::minMax ( double &  min,
double &  max 
) [inline, virtual]

Implements PlotSingleData::minMax().

Implements casa::PlotSingleData.

Definition at line 365 of file PlotData.h.

template<class T >
void casa::PlotSingleDataImpl< T >::recalculateMinMax (  )  [inline]

Recalculates the cached min and max.

Should be used if the underlying data structure changes.

Definition at line 373 of file PlotData.h.

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

Implements PlotData::setDeleteData().

Implements casa::PlotData.

Definition at line 346 of file PlotData.h.

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

Implements PlotSingleData::size().

Implements casa::PlotSingleData.

Definition at line 349 of file PlotData.h.

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

Implements PlotData::willDeleteData().

Implements casa::PlotData.

Definition at line 343 of file PlotData.h.


Member Data Documentation

template<class T >
T* casa::PlotSingleDataImpl< T >::m_array [private]

Definition at line 403 of file PlotData.h.

template<class T >
unsigned int casa::PlotSingleDataImpl< T >::m_arraySize [private]

Definition at line 404 of file PlotData.h.

template<class T >
Vector<T>* casa::PlotSingleDataImpl< T >::m_cvector [private]

Definition at line 402 of file PlotData.h.

template<class T >
double casa::PlotSingleDataImpl< T >::m_max [private]

Definition at line 406 of file PlotData.h.

template<class T >
double casa::PlotSingleDataImpl< T >::m_min [private]

Definition at line 406 of file PlotData.h.

template<class T >
bool casa::PlotSingleDataImpl< T >::m_shouldDelete [private]

Definition at line 405 of file PlotData.h.

template<class T >
vector<T>* casa::PlotSingleDataImpl< T >::m_vector [private]

Definition at line 401 of file PlotData.h.


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