Main Page   Namespace List   Alphabetical List   Compound List   File List   Compound Members   File Members  

Anaphe::AIDA_DataPointSet_native::AIDA_DataPointSet Class Reference

#include <AIDA_DataPointSet.h>

List of all members.


Detailed Description

Implementation of the AIDA IDataPointSet class

Annotation items defined:

"Title" (sticky), "Name" (sticky), "Dimension", "Size"

Definition at line 21 of file AIDA_DataPointSet.h.

Public Methods

 AIDA_DataPointSet (const std::string &title, int dimension, AIDA::IAnnotation *annotation)
 Constructor.

 AIDA_DataPointSet (const AIDA_DataPointSet &dps, AIDA::IAnnotation *annotation)
 Copy constructor.

 AIDA_DataPointSet (const AIDA::IDataPointSet &dps, AIDA::IAnnotation *annotation)
 Copy constructor from another AIDA IDataPointSet.

 ~AIDA_DataPointSet ()
 Destructor.

const std::string & name () const
 Methods inherited from IManagedObject.

bool isUpToDate () const
 Methods inherited from IDevManagedObject.

void setUpToDate (bool isUpToDate)
bool setName (const std::string &newName)
const std::string & userLevelClassType () const
AIDA::IAnnotation & annotation ()
 Methods inherited from IDataPointSet.

const AIDA::IAnnotation & annotation () const
const std::string & title () const
bool setTitle (const std::string &newTitle)
int dimension () const
void clear ()
int size () const
AIDA::IDataPoint * point (int index)
const AIDA::IDataPoint * point (int index) const
bool addPoint ()
bool addPoint (const AIDA::IDataPoint &other)
bool removePoint (int index)
double lowerExtent (int coordinate) const
double upperExtent (int coordinate) const
bool scale (double scaleFactor)
bool scaleValues (double scaleFactor)
bool scaleErrors (double scaleFactor)

Private Methods

void updateAnnotation () const
AIDA::IAnnotation * createAnnotation ()
AIDA_DataPointSet & operator= (const AIDA_DataPointSet &)

Private Attributes

AIDA::IAnnotation * m_annotation
int m_dimension
bool m_upToDate
std::vector< AIDA::IDataPoint * > m_dataPoints


Constructor & Destructor Documentation

Anaphe::AIDA_DataPointSet_native::AIDA_DataPointSet::AIDA_DataPointSet const std::string &    title,
int    dimension,
AIDA::IAnnotation *    annotation
 

Definition at line 14 of file AIDA_DataPointSet.cpp.

References emptyString, m_annotation, nameKey, sizeKey, and title().

Anaphe::AIDA_DataPointSet_native::AIDA_DataPointSet::AIDA_DataPointSet const AIDA_DataPointSet &    dps,
AIDA::IAnnotation *    annotation
 

Definition at line 28 of file AIDA_DataPointSet.cpp.

References annotation(), emptyString, m_annotation, m_dataPoints, m_dimension, nameKey, point(), size(), sizeKey, and title().

Anaphe::AIDA_DataPointSet_native::AIDA_DataPointSet::AIDA_DataPointSet const AIDA::IDataPointSet &    dps,
AIDA::IAnnotation *    annotation
 

Definition at line 67 of file AIDA_DataPointSet.cpp.

References emptyString, m_annotation, m_dataPoints, m_dimension, nameKey, and sizeKey.

Anaphe::AIDA_DataPointSet_native::AIDA_DataPointSet::~AIDA_DataPointSet  
 

Definition at line 106 of file AIDA_DataPointSet.cpp.

References m_annotation, and m_dataPoints.


Member Function Documentation

bool Anaphe::AIDA_DataPointSet_native::AIDA_DataPointSet::addPoint const AIDA::IDataPoint &    other
 

Definition at line 231 of file AIDA_DataPointSet.cpp.

References m_dataPoints, and m_dimension.

bool Anaphe::AIDA_DataPointSet_native::AIDA_DataPointSet::addPoint  
 

Definition at line 223 of file AIDA_DataPointSet.cpp.

References m_dataPoints, and m_dimension.

const AIDA::IAnnotation & Anaphe::AIDA_DataPointSet_native::AIDA_DataPointSet::annotation   const
 

Definition at line 160 of file AIDA_DataPointSet.cpp.

References m_annotation, and updateAnnotation().

AIDA::IAnnotation & Anaphe::AIDA_DataPointSet_native::AIDA_DataPointSet::annotation  
 

Definition at line 152 of file AIDA_DataPointSet.cpp.

References m_annotation, and updateAnnotation().

Referenced by AIDA_DataPointSet().

void Anaphe::AIDA_DataPointSet_native::AIDA_DataPointSet::clear  
 

Definition at line 190 of file AIDA_DataPointSet.cpp.

References m_dataPoints.

AIDA::IAnnotation* Anaphe::AIDA_DataPointSet_native::AIDA_DataPointSet::createAnnotation   [private]
 

int Anaphe::AIDA_DataPointSet_native::AIDA_DataPointSet::dimension   const
 

Definition at line 183 of file AIDA_DataPointSet.cpp.

References m_dimension.

bool Anaphe::AIDA_DataPointSet_native::AIDA_DataPointSet::isUpToDate   const
 

Definition at line 123 of file AIDA_DataPointSet.cpp.

References m_upToDate.

Referenced by setUpToDate().

double Anaphe::AIDA_DataPointSet_native::AIDA_DataPointSet::lowerExtent int    coordinate const
 

Definition at line 253 of file AIDA_DataPointSet.cpp.

References m_dataPoints.

const std::string & Anaphe::AIDA_DataPointSet_native::AIDA_DataPointSet::name   const
 

Definition at line 116 of file AIDA_DataPointSet.cpp.

References m_annotation, and nameKey.

AIDA_DataPointSet& Anaphe::AIDA_DataPointSet_native::AIDA_DataPointSet::operator= const AIDA_DataPointSet &    [private]
 

const AIDA::IDataPoint * Anaphe::AIDA_DataPointSet_native::AIDA_DataPointSet::point int    index const
 

Definition at line 215 of file AIDA_DataPointSet.cpp.

References m_dataPoints, and size().

AIDA::IDataPoint * Anaphe::AIDA_DataPointSet_native::AIDA_DataPointSet::point int    index
 

Definition at line 207 of file AIDA_DataPointSet.cpp.

References m_dataPoints, and size().

Referenced by AIDA_DataPointSet(), scale(), scaleErrors(), and scaleValues().

bool Anaphe::AIDA_DataPointSet_native::AIDA_DataPointSet::removePoint int    index
 

Definition at line 240 of file AIDA_DataPointSet.cpp.

References m_dataPoints, and size().

bool Anaphe::AIDA_DataPointSet_native::AIDA_DataPointSet::scale double    scaleFactor
 

Definition at line 279 of file AIDA_DataPointSet.cpp.

References m_dataPoints, m_dimension, and point().

bool Anaphe::AIDA_DataPointSet_native::AIDA_DataPointSet::scaleErrors double    scaleFactor
 

Definition at line 309 of file AIDA_DataPointSet.cpp.

References m_dataPoints, m_dimension, and point().

bool Anaphe::AIDA_DataPointSet_native::AIDA_DataPointSet::scaleValues double    scaleFactor
 

Definition at line 295 of file AIDA_DataPointSet.cpp.

References m_dataPoints, m_dimension, and point().

bool Anaphe::AIDA_DataPointSet_native::AIDA_DataPointSet::setName const std::string &    newName
 

Definition at line 137 of file AIDA_DataPointSet.cpp.

References m_annotation, and nameKey.

bool Anaphe::AIDA_DataPointSet_native::AIDA_DataPointSet::setTitle const std::string &    newTitle
 

Definition at line 175 of file AIDA_DataPointSet.cpp.

References m_annotation.

void Anaphe::AIDA_DataPointSet_native::AIDA_DataPointSet::setUpToDate bool    isUpToDate
 

Definition at line 130 of file AIDA_DataPointSet.cpp.

References isUpToDate(), and m_upToDate.

int Anaphe::AIDA_DataPointSet_native::AIDA_DataPointSet::size   const
 

Definition at line 200 of file AIDA_DataPointSet.cpp.

References m_dataPoints.

Referenced by AIDA_DataPointSet(), point(), removePoint(), and updateAnnotation().

const std::string & Anaphe::AIDA_DataPointSet_native::AIDA_DataPointSet::title   const
 

Definition at line 168 of file AIDA_DataPointSet.cpp.

References m_annotation.

Referenced by AIDA_DataPointSet().

void Anaphe::AIDA_DataPointSet_native::AIDA_DataPointSet::updateAnnotation   const [private]
 

Definition at line 331 of file AIDA_DataPointSet.cpp.

References m_annotation, size(), and sizeKey.

Referenced by annotation().

double Anaphe::AIDA_DataPointSet_native::AIDA_DataPointSet::upperExtent int    coordinate const
 

Definition at line 266 of file AIDA_DataPointSet.cpp.

References m_dataPoints.

const std::string & Anaphe::AIDA_DataPointSet_native::AIDA_DataPointSet::userLevelClassType   const
 

Definition at line 145 of file AIDA_DataPointSet.cpp.

References g_userLevelClassType.


Member Data Documentation

AIDA::IAnnotation* Anaphe::AIDA_DataPointSet_native::AIDA_DataPointSet::m_annotation [private]
 

Definition at line 66 of file AIDA_DataPointSet.h.

Referenced by AIDA_DataPointSet(), annotation(), name(), setName(), setTitle(), title(), updateAnnotation(), and ~AIDA_DataPointSet().

std::vector< AIDA::IDataPoint* > Anaphe::AIDA_DataPointSet_native::AIDA_DataPointSet::m_dataPoints [private]
 

Definition at line 69 of file AIDA_DataPointSet.h.

Referenced by addPoint(), AIDA_DataPointSet(), clear(), lowerExtent(), point(), removePoint(), scale(), scaleErrors(), scaleValues(), size(), upperExtent(), and ~AIDA_DataPointSet().

int Anaphe::AIDA_DataPointSet_native::AIDA_DataPointSet::m_dimension [private]
 

Definition at line 67 of file AIDA_DataPointSet.h.

Referenced by addPoint(), AIDA_DataPointSet(), dimension(), scale(), scaleErrors(), and scaleValues().

bool Anaphe::AIDA_DataPointSet_native::AIDA_DataPointSet::m_upToDate [private]
 

Definition at line 68 of file AIDA_DataPointSet.h.

Referenced by isUpToDate(), and setUpToDate().


The documentation for this class was generated from the following files:
Generated on Tue Nov 19 12:32:05 2002 for AIDA_DataPointSet_native by doxygen1.2.16