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

Public Member Functions

 PlotErrorDataImpl (T *&x, T *&y, T *&xError, T *&yError, unsigned int size, bool shouldDelete=true)
 Symmetric error constructors. More...
 
 PlotErrorDataImpl (std::vector< T > &x, std::vector< T > &y, std::vector< T > &xError, std::vector< T > &yError, bool shouldDelete=false)
 
 PlotErrorDataImpl (casacore::Vector< T > &x, casacore::Vector< T > &y, casacore::Vector< T > &xError, casacore::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. More...
 
 PlotErrorDataImpl (std::vector< T > &x, std::vector< T > &y, std::vector< T > &xLeftError, std::vector< T > &xRightError, std::vector< T > &yBottomError, std::vector< T > &yTopError, bool shouldDelete=false)
 
 PlotErrorDataImpl (casacore::Vector< T > &x, casacore::Vector< T > &y, casacore::Vector< T > &xLeftError, casacore::Vector< T > &xRightError, casacore::Vector< T > &yBottomError, casacore::Vector< T > &yTopError, bool shouldDelete=false)
 
 ~PlotErrorDataImpl ()
 
bool willDeleteData () const
 Overrides PlotPointDataImpl::willDeleteData(). More...
 
void setDeleteData (bool del=true)
 Overrides PlotPointDataImpl::setDeleteData(). More...
 
double xLeftErrorAt (unsigned int i) const
 Implements PlotErrorData getter methods. More...
 
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(). 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...
 
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

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

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

Definition at line 822 of file PlotData.h.

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

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

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

Definition at line 842 of file PlotData.h.

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

Definition at line 848 of file PlotData.h.

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

Definition at line 856 of file PlotData.h.

Member Function Documentation

template<class T >
bool casa::PlotErrorDataImpl< T >::errorMaxes ( double &  xLeft,
double &  xRight,
double &  yBottom,
double &  yTop 
)
inline
template<class T >
void casa::PlotErrorDataImpl< T >::setDeleteData ( bool  del = true)
inlinevirtual
template<class T >
bool casa::PlotErrorDataImpl< T >::willDeleteData ( ) const
inlinevirtual
template<class T >
double casa::PlotErrorDataImpl< T >::xLeftErrorAt ( unsigned int  i) const
inline

Implements PlotErrorData getter methods.

Definition at line 873 of file PlotData.h.

References casa::PlotErrorDataImpl< T >::m_xError.

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

Definition at line 874 of file PlotData.h.

References casa::PlotErrorDataImpl< T >::m_xError.

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

Definition at line 875 of file PlotData.h.

References casa::PlotErrorDataImpl< T >::m_yError.

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

Definition at line 876 of file PlotData.h.

References casa::PlotErrorDataImpl< T >::m_yError.

Member Data Documentation

template<class T >
PlotPointDataImpl<T> casa::PlotErrorDataImpl< T >::m_xError
private
template<class T >
PlotPointDataImpl<T> casa::PlotErrorDataImpl< T >::m_yError
private

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