ENSDF++ 1.1
An easy, fast and simple way to run querys towards the ENSDF database, written in C++.
Record.h
Go to the documentation of this file.
00001 
00017 using namespace std;
00018 
00019 #ifndef LIST
00020 #define LIST //!<Inclusion guard
00021 #include <list>
00022 #endif
00023 
00024 #ifndef STRING
00025 #define STRING //!<Inclusion guard
00026 #include <string>
00027 #endif
00028 
00029 #ifndef STDLIB_H
00030 #define STDLIB_H //!<Inclusion guard
00031 #include <stdlib.h>
00032 #endif
00033 
00034 #ifndef MATH_H
00035 #define MATH_H//!<Inclusion guard.
00036 #include <math.h>
00037 #endif
00038 
00039 #ifndef UTILITY
00040 #define UTILITY //!<Inclusion guard.
00041 #include <utility>
00042 #endif
00043 
00044 #include "Nukleid.h"
00045 
00046 
00047 #ifndef RECORD
00048 #define RECORD //!<Inclusion guard.
00049 
00055 class Record
00056 {
00057 public:
00058   Record(list<string> cardArg 
00059          );
00060   virtual ~Record();
00061   Nukleid getNukleid() const; 
00062   list<string> getCardStrings() const; 
00063         
00064 protected:
00065   double cardToDouble(int startPos, 
00066                       int endPos 
00067                       ); 
00068 
00069   double parseHalfLife(int startPos, 
00070                        int endPos 
00071                        ); 
00072   
00073   string trimString(string toTrim 
00074                     ); 
00075  private:
00076   Nukleid myNukleid; 
00077   list<string> myCard; 
00078 };                                                                              
00079 
00080 #endif
 All Classes Files Functions Variables Enumerations Enumerator Defines

Back to the main page of the Precalibrated Ion Beam Identification Detector project

Created by Rikard Lundmark