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