CLASS  1.1
include/EvolutionDataBase.hxx
Aller à la documentation de ce fichier.
00001 #ifndef __EVOLUTIONDATABASE_HXX__
00002 #define __EVOLUTIONDATABASE_HXX__
00003 
00013 #include <map>
00014 #include <string>
00015 
00016 
00017 using namespace std;
00018 
00019 class IsotopicVector;
00020 class ZAI;
00021 class EvolutiveProduct;
00022 class LogFile;
00023 
00024 
00025 
00027 
00035 class EvolutionDataBase 
00036 {
00037         
00038 public :
00039 //********* Constructor/Destructor Method *********//
00040 
00041         EvolutionDataBase(LogFile* Log, string DB_index_file = "Default_Index.dat" );
00042         ~EvolutionDataBase();
00043 
00044 //********* Get Method *********//
00045 
00046         map<ZAI ,EvolutiveProduct* >    GetEvolutionDataBase() const {return fEvolutionDataBase;}
00047         string  GetDataBaseIndex() const {return fDataBaseIndex;}
00048         bool    IsDefine(const ZAI& zai) const;
00049         
00050 //********* Set Method *********//
00051 
00052         void SetDataBaseIndex(string database) {fDataBaseIndex = database;}
00053         
00054 //********* Modification Method *********//
00055         IsotopicVector  DecayProduction(const ZAI &zai, double dt); 
00057         bool AddEvolutiveProduct(const ZAI& zai);
00058 
00059 
00060 
00061 //********* Printing Method *********//
00062         void Print() const;
00063         
00064 protected :
00065         
00066         map<ZAI ,EvolutiveProduct* >    fEvolutionDataBase;
00067         string                          fDataBaseIndex;
00068         LogFile*                        fLog;
00069         
00070 
00071 };
00072 
00073 
00074 #endif
 Tout Classes Fichiers Fonctions Variables Macros