casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
casa::PlotErrorDataImpl< T > Class Template Reference

Default implementation of PlotErrorData using standard containers, plus PlotPointDataImpls for the errors. More...

#include <PlotData.h>

Inheritance diagram for casa::PlotErrorDataImpl< T >:
casa::PlotPointDataImpl< T > casa::PlotPointData casa::PlotData

List of all members.

Public Member Functions

 PlotErrorDataImpl (T *&x, T *&y, T *&xError, T *&yError, unsigned int size, bool shouldDelete=true)
 Symmetric error constructors.
 PlotErrorDataImpl (vector< T > &x, vector< T > &y, vector< T > &xError, vector< T > &yError, bool shouldDelete=false)
 PlotErrorDataImpl (Vector< T > &x, Vector< T > &y, Vector< T > &xError, Vector< T > &yError, bool shouldDelete=false)
 PlotErrorDataImpl (T *&x, T *&y, T *&xLeftError, T *&xRightError, T *&yBottomError, T *&yTopError, unsigned int size, bool shouldDelete=true)
 Asymmetric error constructors.
 PlotErrorDataImpl (vector< T > &x, vector< T > &y, vector< T > &xLeftError, vector< T > &xRightError, vector< T > &yBottomError, vector< T > &yTopError, bool shouldDelete=false)
 PlotErrorDataImpl (Vector< T > &x, Vector< T > &y, Vector< T > &xLeftError, Vector< T > &xRightError, Vector< T > &yBottomError, Vector< T > &yTopError, bool shouldDelete=false)
 ~PlotErrorDataImpl ()
 
     

bool willDeleteData () const
 Overrides PlotPointDataImpl::willDeleteData().
void setDeleteData (bool del=true)
 Overrides PlotPointDataImpl::setDeleteData().
double xLeftErrorAt (unsigned int i) const
 Implements PlotErrorData getter methods.
double xRightErrorAt (unsigned int i) const
double yBottomErrorAt (unsigned int i) const
double yTopErrorAt (unsigned int i) const
bool errorMaxes (double &xLeft, double &xRight, double &yBottom, double &yTop)
 Implements PlotErrorData::errorMaxes().

Private Attributes

PlotPointDataImpl< T > m_xError
PlotPointDataImpl< T > m_yError

Detailed Description

template<class T>
class casa::PlotErrorDataImpl< T >

Default implementation of PlotErrorData using standard containers, plus PlotPointDataImpls for the errors.

Definition at line 804 of file PlotData.h.


Constructor & Destructor Documentation

template<class T >
casa::PlotErrorDataImpl< T >::PlotErrorDataImpl ( T *&  x,
T *&  y,
T *&  xError,
T *&  yError,
unsigned int  size,
bool  shouldDelete = true 
) [inline]

Symmetric error constructors.

Definition at line 809 of file PlotData.h.

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

Definition at line 814 of file PlotData.h.

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

Definition at line 819 of file PlotData.h.

template<class T >
casa::PlotErrorDataImpl< T >::PlotErrorDataImpl ( T *&  x,
T *&  y,
T *&  xLeftError,
T *&  xRightError,
T *&  yBottomError,
T *&  yTopError,
unsigned int  size,
bool  shouldDelete = true 
) [inline]

Asymmetric error constructors.

Definition at line 828 of file PlotData.h.

template<class T >
casa::PlotErrorDataImpl< T >::PlotErrorDataImpl ( vector< T > &  x,
vector< T > &  y,
vector< T > &  xLeftError,
vector< T > &  xRightError,
vector< T > &  yBottomError,
vector< T > &  yTopError,
bool  shouldDelete = false 
) [inline]

Definition at line 834 of file PlotData.h.

template<class T >
casa::PlotErrorDataImpl< T >::PlotErrorDataImpl ( Vector< T > &  x,
Vector< T > &  y,
Vector< T > &  xLeftError,
Vector< T > &  xRightError,
Vector< T > &  yBottomError,
Vector< T > &  yTopError,
bool  shouldDelete = false 
) [inline]

Definition at line 840 of file PlotData.h.

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

     

Definition at line 848 of file PlotData.h.


Member Function Documentation

template<class T >
bool casa::PlotErrorDataImpl< T >::errorMaxes ( double &  xLeft,
double &  xRight,
double &  yBottom,
double &  yTop 
) [inline]

Implements PlotErrorData::errorMaxes().

Definition at line 872 of file PlotData.h.

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

Overrides PlotPointDataImpl::setDeleteData().

Reimplemented from casa::PlotPointDataImpl< T >.

Definition at line 857 of file PlotData.h.

template<class T >
bool casa::PlotErrorDataImpl< T >::willDeleteData ( ) const [inline, virtual]
template<class T >
double casa::PlotErrorDataImpl< T >::xLeftErrorAt ( unsigned int  i) const [inline]

Implements PlotErrorData getter methods.

Definition at line 865 of file PlotData.h.

template<class T >
double casa::PlotErrorDataImpl< T >::xRightErrorAt ( unsigned int  i) const [inline]

Definition at line 866 of file PlotData.h.

template<class T >
double casa::PlotErrorDataImpl< T >::yBottomErrorAt ( unsigned int  i) const [inline]

Definition at line 867 of file PlotData.h.

template<class T >
double casa::PlotErrorDataImpl< T >::yTopErrorAt ( unsigned int  i) const [inline]

Definition at line 868 of file PlotData.h.


Member Data Documentation

template<class T >
PlotPointDataImpl<T> casa::PlotErrorDataImpl< T >::m_xError [private]

Definition at line 880 of file PlotData.h.

template<class T >
PlotPointDataImpl<T> casa::PlotErrorDataImpl< T >::m_yError [private]

Definition at line 880 of file PlotData.h.


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