![]() |
ENSDF++ 1.1
An easy, fast and simple way to run querys towards the ENSDF database, written in C++.
|
00001 00015 #include "Record.h" 00016 #include "Nukleid.h" 00017 #include "QValueRecord.h" 00018 #include "QValueRecordChildrenWrapper.h" 00019 #include "DoubleMath.h" 00020 #include "Child.h" 00021 #include "ChildAddable.h" 00022 00023 00024 #ifndef STRING 00025 #define STRING //!<Inclusion guard 00026 #include <string> 00027 #endif 00028 00029 #ifndef LIST 00030 #define LIST //!<Inclusion guard 00031 #include <list> 00032 #endif 00033 00034 using namespace std; 00035 00036 #ifndef LEVELRECORD_H 00037 #define LEVELRECORD_H //!<Inclusion guard. 00038 00039 class LevelRecordChildrenWrapper; 00040 00047 class LevelRecord : public Record, public ChildAddable<Child<LevelRecord> >, public QValueRecordChildrenWrapper 00048 { 00049 public: 00050 LevelRecord(list<string> cardArg, 00051 QValueRecord* qValRecord 00052 ); 00053 00054 double getEnergy() const; 00055 double getHalfLife() const; 00056 00057 bool operator== (const LevelRecord &other 00058 ) const; 00059 00060 protected: 00061 double energy; 00062 double halfLife; 00063 private: 00064 void processCard(); 00065 }; 00066 00067 #endif