casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
casa::PlotSingleDataImpl< T > Class Template Reference

#include <PlotData.h>

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

Public Member Functions

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

Private Attributes

std::vector< T > * m_vector
 
casacore::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 314 of file PlotData.h.

Constructor & Destructor Documentation

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

Invalid data constructor.

Definition at line 317 of file PlotData.h.

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

casacore::Data using different standard containers.

Definition at line 322 of file PlotData.h.

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

Definition at line 326 of file PlotData.h.

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

Definition at line 330 of file PlotData.h.

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

Destructor.

Definition at line 337 of file PlotData.h.

Member Function Documentation

template<class T >
double casa::PlotSingleDataImpl< T >::at ( unsigned int  i) const
inlinevirtual

Implements PlotSingleData::at().

Implements casa::PlotSingleData.

Definition at line 365 of file PlotData.h.

template<class T >
bool casa::PlotSingleDataImpl< T >::isValid ( ) const
inlinevirtual

Implements PlotData::isValid().

Implements casa::PlotData.

Definition at line 347 of file PlotData.h.

template<class T >
bool casa::PlotSingleDataImpl< T >::minMax ( double &  min,
double &  max 
)
inlinevirtual

Implements PlotSingleData::minMax().

Implements casa::PlotSingleData.

Definition at line 373 of file PlotData.h.

References casa::vi::size().

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 381 of file PlotData.h.

References casa::vi::size().

template<class T >
void casa::PlotSingleDataImpl< T >::setDeleteData ( bool  del = true)
inlinevirtual

Implements PlotData::setDeleteData().

Implements casa::PlotData.

Definition at line 354 of file PlotData.h.

template<class T >
unsigned int casa::PlotSingleDataImpl< T >::size ( ) const
inlinevirtual

Implements PlotSingleData::size().

Implements casa::PlotSingleData.

Definition at line 357 of file PlotData.h.

template<class T >
bool casa::PlotSingleDataImpl< T >::willDeleteData ( ) const
inlinevirtual

Implements PlotData::willDeleteData().

Implements casa::PlotData.

Definition at line 351 of file PlotData.h.

Member Data Documentation

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

Definition at line 411 of file PlotData.h.

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

Definition at line 412 of file PlotData.h.

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

Definition at line 410 of file PlotData.h.

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

Definition at line 414 of file PlotData.h.

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

Definition at line 414 of file PlotData.h.

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

Definition at line 413 of file PlotData.h.

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

Definition at line 409 of file PlotData.h.


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