Datum.h

Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 2004 CSIRO ICT Centre
00003  *
00004  * $Id: Datum.h 587 2004-12-03 15:06:33Z nch $
00005  */
00006 
00007 #ifndef DATUM_DEFINED
00008 #define DATUM_DEFINED
00009 
00010 #include <iostream>
00011 
00012 #include "Object.h"
00013 
00014 
00015 class Datum : public Object
00016 {
00017   public:
00018     Datum(unsigned long long id, double ra, double dec, double sd);
00019     Datum(unsigned long long id, double ra, double orthoSD, double dec, double decSD);
00020     virtual ~Datum() {};
00021 
00022     virtual double getSD()      const;
00023     virtual double getOrthoSD() const   { return orthoSD; };
00024     virtual double getDecSD()   const   { return decSD; };
00025     virtual void print(std::ostream & os) const;
00026 
00027     unsigned long long getId()      const   { return id; };
00028 
00029   private:
00030     unsigned long long id;
00031     double orthoSD;
00032     double decSD;
00033     mutable bool validSD;
00034     mutable double sd;
00035 
00036     Datum();
00037     Datum(Datum const & other);
00038     Datum & operator=(Datum const &);
00039 };
00040 
00041 #endif // ifndef DATUM_DEFINED
Generated on Mon Oct 4 10:39:55 2010 for Matching.kdevelop by  doxygen 1.6.3