SplatResult.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #ifndef SPLATRESULT_H_
00027 #define SPLATRESULT_H_
00028 #include <string>
00029 using namespace std;
00030
00031 namespace casa {
00032
00033 class SplatResult {
00034 public:
00035 SplatResult( int speciesId, const string& species,
00036 const string& chemicalName,
00037 const string& quantumNumbers, const pair<double,string>& frequency,
00038 const pair<double,string>& temperature,
00039 double smu2, const pair<double,string>& el,
00040 const pair<double,string>& eu, double logA, double intensity );
00041 int getSpeciesId() const;
00042 std::string getSpecies() const;
00043 std::string getChemicalName() const;
00044 std::string getQuantumNumbers() const;
00045 pair<double,std::string> getFrequency() const;
00046 pair<double,std::string> getTemperature() const;
00047 pair<double,std::string> getEL() const;
00048 pair<double,std::string> getEU() const;
00049 double getLogA() const;
00050 double getSmu2() const;
00051 double getIntensity() const;
00052 string toString() const;
00053 string toLine(string spacer = " ") const;
00054 virtual ~SplatResult();
00055 private:
00056 std::string _species;
00057 std::string _chemicalName;
00058 std::string _quantumNumbers;
00059 int _speciesId;
00060 pair<double,std::string> _frequency;
00061 pair<double,std::string> _temperature;
00062 pair<double,std::string> _el;
00063 pair<double,std::string> _eu;
00064 double _smu2;
00065 double _logA;
00066 double _intensity;
00067 };
00068
00069 }
00070 #endif