Aniso1DMTObjective.h

Go to the documentation of this file.
00001 #ifndef ANISO1DMTOBJECTIVE_H_
00002 #define ANISO1DMTOBJECTIVE_H_
00003 #include "C1DMTObjective.h"
00004 #include "C1DAnisoMTSynthData.h"
00005 
00006 namespace gplib
00007   {
00008     class Aniso1DMTObjective: public C1DMTObjective
00009       {
00010     private:
00011       virtual void CalcSynthData(const ttranscribed &member);
00012       C1DAnisoMTSynthData AnisoMTSynth;
00013       virtual MTStation &GetMTSynth()
00014         {
00015           return AnisoMTSynth;
00016         }
00017     public:
00018       Aniso1DMTObjective& operator=(const Aniso1DMTObjective& source);
00019       Aniso1DMTObjective(const Aniso1DMTObjective &Old);
00020       explicit Aniso1DMTObjective(const MTStation &LocalMTData);
00021       virtual ~Aniso1DMTObjective();
00022       virtual Aniso1DMTObjective *clone() const
00023         {
00024           return new Aniso1DMTObjective(*this);
00025         }
00026       //! write the current model to a file
00027       virtual void WriteModel(const std::string &filename)
00028         {
00029           AnisoMTSynth.WriteModel(filename);
00030         }
00031       //! write the current model for plotting to a file
00032       virtual void WritePlot(const std::string &filename)
00033         {
00034           AnisoMTSynth.WritePlot(filename);
00035         }
00036       //! Write current data to a file
00037       virtual void WriteData(const std::string &filename)
00038         {
00039           AnisoMTSynth.WriteAsMtt(filename);
00040         }
00041       };
00042   }
00043 #endif /*ANISO1DMTOBJECTIVE_H_*/

Generated on Tue Nov 3 13:24:13 2009 for GPLIB++ by  doxygen 1.5.8