Main Page Class Hierarchy Compound List File List Compound Members

# Coosys.h

    00001 #ifndef COOSYS_H
    00002 #define COOSYS_H
    00003
    00004 #include "global.h"
    00005
    00011 //Date created - 27 May 2002
    00012
    00013 class Coosys {
    00014
    00015         public:
    00019                 Coosys();
    00020
    00024                 ~Coosys();
    00025
    00029                 Coosys operator=(const Coosys &c);
    00030
    00034                 Coosys(const Coosys &c);
    00035
    00036                 int setEquinox(char * infoValue, int * status);
    00037                 int setID(char * infoID, int * status);
    00038                 int setEpoch(char * epoch, int * status);
    00039                 int setPCData(char * pcdata, int * status);
    00040                 int setSystem(coosys_system system, int * status);
    00041
    00045                 int getEquinox(char * &equinox, int * status);
    00046
    00050                 int getID(char * &infoID, int * status);
    00051
    00055                 int getEpoch(char * &epoch, int * status);
    00056
    00060                 int getPCData(char * &pcdata, int * status);
    00061
    00065                 int getSystem(coosys_system &system, int * status);
    00066
    00067         private:
    00068                 char * m_ID;
    00069                 char * m_equinox;
    00070                 char * m_epoch;
    00071                 coosys_system m_system;
    00072                 char * m_pcdata;
    00073
    00074                 void cleanup();
    00075                 void makecopy(const Coosys &r);
    00076                 void init(void);
    00077
    00078 };
    00079
    00080 #endif