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

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

#include <PlotData.h>

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

List of all members.

Public Member Functions

 PlotScalarErrorDataImpl (vector< T > &x, vector< T > &y, T xLeftError, T xRightError, T yBottomError, T yTopError, bool shouldDelete=false)
 Scalar error for top, bottom, left, and right.
 PlotScalarErrorDataImpl (Vector< T > &x, Vector< T > &y, T xLeftError, T xRightError, T yBottomError, T yTopError, bool shouldDelete=false)
 PlotScalarErrorDataImpl (T *&x, T *&y, unsigned int size, T xLeftError, T xRightError, T yBottomError, T yTopError, bool shouldDelete=false)
 PlotScalarErrorDataImpl (vector< T > &x, vector< T > &y, T xError, T yError, bool shouldDelete=false)
 Single error for x and y.
 PlotScalarErrorDataImpl (Vector< T > &x, Vector< T > &y, T xError, T yError, bool shouldDelete=false)
 PlotScalarErrorDataImpl (T *&x, T *&y, unsigned int size, T xError, T yError, bool shouldDelete=false)
 PlotScalarErrorDataImpl (vector< T > &x, vector< T > &y, T error, bool shouldDelete=false)
 Single error for all values.
 PlotScalarErrorDataImpl (Vector< T > &x, Vector< T > &y, T error, bool shouldDelete=false)
 PlotScalarErrorDataImpl (T *&x, T *&y, unsigned int size, T error, bool shouldDelete=false)
 ~PlotScalarErrorDataImpl ()
 Destructor.
double xLeftErrorAt (unsigned int) const
 Implements PlotErrorData getter methods.
double xRightErrorAt (unsigned int) const
double yBottomErrorAt (unsigned int) const
double yTopErrorAt (unsigned int) const
bool errorMaxes (double &xLeft, double &xRight, double &yBottom, double &yTop)
 Implements PlotErrorData::errorMaxes().

Private Attributes

m_xLeftError
m_xRightError
m_yBottomError
m_yTopError

Detailed Description

template<class T>
class casa::PlotScalarErrorDataImpl< T >

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

Definition at line 713 of file PlotData.h.


Constructor & Destructor Documentation

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

Scalar error for top, bottom, left, and right.

Definition at line 718 of file PlotData.h.

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

Definition at line 723 of file PlotData.h.

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

Definition at line 728 of file PlotData.h.

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

Single error for x and y.

Definition at line 738 of file PlotData.h.

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

Definition at line 742 of file PlotData.h.

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

Definition at line 746 of file PlotData.h.

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

Single error for all values.

Definition at line 755 of file PlotData.h.

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

Definition at line 759 of file PlotData.h.

template<class T >
casa::PlotScalarErrorDataImpl< T >::PlotScalarErrorDataImpl ( T *&  x,
T *&  y,
unsigned int  size,
error,
bool  shouldDelete = false 
) [inline]

Definition at line 763 of file PlotData.h.

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

Destructor.

Definition at line 771 of file PlotData.h.


Member Function Documentation

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

Implements PlotErrorData::errorMaxes().

Definition at line 782 of file PlotData.h.

template<class T >
double casa::PlotScalarErrorDataImpl< T >::xLeftErrorAt ( unsigned  int) const [inline]

Implements PlotErrorData getter methods.

Definition at line 775 of file PlotData.h.

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

Definition at line 776 of file PlotData.h.

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

Definition at line 777 of file PlotData.h.

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

Definition at line 778 of file PlotData.h.


Member Data Documentation

template<class T >
T casa::PlotScalarErrorDataImpl< T >::m_xLeftError [private]

Definition at line 792 of file PlotData.h.

template<class T >
T casa::PlotScalarErrorDataImpl< T >::m_xRightError [private]

Definition at line 792 of file PlotData.h.

template<class T >
T casa::PlotScalarErrorDataImpl< T >::m_yBottomError [private]

Definition at line 792 of file PlotData.h.

template<class T >
T casa::PlotScalarErrorDataImpl< T >::m_yTopError [private]

Definition at line 792 of file PlotData.h.


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