casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
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 >

Definition at line 309 of file PlotData.h.


Constructor & Destructor Documentation

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

Invalid data constructor.

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

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

Definition at line 321 of file PlotData.h.

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

Definition at line 325 of file PlotData.h.

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

Destructor.

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

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

Implements PlotData::isValid().

Implements casa::PlotData.

Definition at line 342 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 368 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 376 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 349 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 352 of file PlotData.h.

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

Implements PlotData::willDeleteData().

Implements casa::PlotData.

Definition at line 346 of file PlotData.h.


Member Data Documentation

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

Definition at line 406 of file PlotData.h.

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

Definition at line 407 of file PlotData.h.

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

Definition at line 405 of file PlotData.h.

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

Definition at line 409 of file PlotData.h.

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

Definition at line 409 of file PlotData.h.

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

Definition at line 408 of file PlotData.h.

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

Definition at line 404 of file PlotData.h.


The documentation for this class was generated from the following file: