00001 #ifndef CMTDATACOMP_H
00002 #define CMTDATACOMP_H
00003
00004 #include <string>
00005 #include "types.h"
00006
00007
00008
00009
00010
00011
00012
00013 class CMTDataComp
00014 {
00015 private:
00016
00017 void Update(trealdata frequency);
00018 void Assign(const int nfreq);
00019
00020 std::string name;
00021
00022 trealdata rhoa;
00023
00024 trealdata phi;
00025
00026 trealdata drhoa;
00027
00028 trealdata dphi;
00029
00030 tcompdata Z;
00031
00032 trealdata dZ;
00033 public:
00034 std::string GetName()const{return name;}
00035 trealdata GetRhoa()const{return rhoa;}
00036 trealdata GetPhi()const{return phi;}
00037 trealdata GetdRhoa()const{return drhoa;}
00038 trealdata GetdPhi()const{return dphi;}
00039 tcompdata GetZ()const{return Z;}
00040 trealdata GetdZ()const{return dZ;}
00041
00042 CMTDataComp(const int nfreq = 0);
00043
00044 virtual ~CMTDataComp();
00045
00046 friend class CMTStation;
00047 friend class C1DMTSynthData;
00048 friend class JParser;
00049 friend class EDIParser;
00050 virtual CMTDataComp& operator= (const CMTDataComp& source);
00051 virtual void erase(const int index);
00052 };
00053
00054 #endif