00001 #include <fstream> 00002 #include <iostream> 00003 #include <cstdlib> 00004 00005 00006 using namespace std; 00012 struct SIsotope 00013 { 00014 short unsigned iAmax; 00015 short unsigned iAmin; 00016 }; 00017 00018 00019 00028 class CChart 00029 { 00030 private: 00031 CChart(); 00032 static CChart *fInstance; 00033 SIsotope * isotope; 00034 static int const iZmax; 00035 int * iZindex; 00036 00037 00038 public: 00039 static CChart* instance(); 00040 ~CChart(); 00041 int getAmax(int iZ); 00042 int getAmin(int iZ); 00043 int getIndex(int iZ,int iA); 00044 int iMassDim; 00045 };