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::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

Public Member Functions

 PlotScalarErrorDataImpl (std::vector< T > &x, std::vector< T > &y, T xLeftError, T xRightError, T yBottomError, T yTopError, bool shouldDelete=false)
 Scalar error for top, bottom, left, and right. More...
 
 PlotScalarErrorDataImpl (casacore::Vector< T > &x, casacore::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 (std::vector< T > &x, std::vector< T > &y, T xError, T yError, bool shouldDelete=false)
 Single error for x and y. More...
 
 PlotScalarErrorDataImpl (casacore::Vector< T > &x, casacore::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 (std::vector< T > &x, std::vector< T > &y, T error, bool shouldDelete=false)
 Single error for all values. More...
 
 PlotScalarErrorDataImpl (casacore::Vector< T > &x, casacore::Vector< T > &y, T error, bool shouldDelete=false)
 
 PlotScalarErrorDataImpl (T *&x, T *&y, unsigned int size, T error, bool shouldDelete=false)
 
 ~PlotScalarErrorDataImpl ()
 Destructor. More...
 
double xLeftErrorAt (unsigned int) const
 Implements PlotErrorData getter methods. More...
 
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(). More...
 
- Public Member Functions inherited from casa::PlotPointDataImpl< T >
 PlotPointDataImpl (std::vector< T > &x, std::vector< T > &y, bool shouldDelete=false)
 X/Y constructors. More...
 
 PlotPointDataImpl (casacore::Vector< T > &x, casacore::Vector< T > &y, bool shouldDelete=false)
 
 PlotPointDataImpl (T *&x, T *&y, unsigned int size, bool shouldDel=false)
 
 PlotPointDataImpl (std::vector< T > &y, bool shouldDelete=false)
 Y constructors. More...
 
 PlotPointDataImpl (casacore::Vector< T > &y, bool shouldDelete=false)
 
 PlotPointDataImpl (T *&y, unsigned int size, bool shouldDel=false)
 
virtual ~PlotPointDataImpl ()
 
bool isValid () const
 Implements PlotData::isValid(). More...
 
virtual bool willDeleteData () const
 Implements PlotData::willDeleteData(). More...
 
virtual void setDeleteData (bool del=true)
 Implements PlotData::setDeleteData(). More...
 
unsigned int size () const
 Implements PlotPointData::size(). More...
 
double xAt (unsigned int i) const
 Implements PlotPointData::xAt(). More...
 
double yAt (unsigned int i) const
 Implements PlotPointData::yAt(). More...
 
bool minsMaxes (double &xMin, double &xMax, double &yMin, double &yMax)
 Implements PlotPointData::minsMaxes(). More...
 
- Public Member Functions inherited from casa::PlotPointData
 PlotPointData ()
 
virtual ~PlotPointData ()
 
virtual void xAndYAt (unsigned int index, double &x, double &y) const
 IMPLEMENTED METHODS //. More...
 
- Public Member Functions inherited from casa::PlotData
 PlotData ()
 
virtual ~PlotData ()
 

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

Constructor & Destructor Documentation

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

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

Definition at line 726 of file PlotData.h.

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

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

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

Single error for x and y.

Definition at line 746 of file PlotData.h.

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

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

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

Single error for all values.

Definition at line 763 of file PlotData.h.

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

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

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

Destructor.

Definition at line 779 of file PlotData.h.

Member Function Documentation

template<class T >
bool casa::PlotScalarErrorDataImpl< T >::errorMaxes ( double &  xLeft,
double &  xRight,
double &  yBottom,
double &  yTop 
)
inline
template<class T >
double casa::PlotScalarErrorDataImpl< T >::xLeftErrorAt ( unsigned  int) const
inline

Implements PlotErrorData getter methods.

Definition at line 783 of file PlotData.h.

References casa::PlotScalarErrorDataImpl< T >::m_xLeftError.

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

Definition at line 784 of file PlotData.h.

References casa::PlotScalarErrorDataImpl< T >::m_xRightError.

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

Definition at line 785 of file PlotData.h.

References casa::PlotScalarErrorDataImpl< T >::m_yBottomError.

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

Definition at line 786 of file PlotData.h.

References casa::PlotScalarErrorDataImpl< T >::m_yTopError.

Member Data Documentation

template<class T >
T casa::PlotScalarErrorDataImpl< T >::m_xLeftError
private
template<class T >
T casa::PlotScalarErrorDataImpl< T >::m_xRightError
private
template<class T >
T casa::PlotScalarErrorDataImpl< T >::m_yBottomError
private
template<class T >
T casa::PlotScalarErrorDataImpl< T >::m_yTopError
private

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