![]() |
ENSDF++ 1.1
An easy, fast and simple way to run querys towards the ENSDF database, written in C++.
|
00001 00010 using namespace std; 00011 #ifndef STRING 00012 #define STRING //!<Inclusion guard 00013 #include <string> 00014 #endif 00015 00016 #ifndef MAP 00017 #define MAP //!<Inclusion guard. 00018 #include <map> 00019 #endif 00020 00021 #ifndef ELEMENTLOOKUPTABLE_H 00022 #define ELEMENTLOOKUPTABLE_H 00023 00027 class ElementLookupTable 00028 { 00029 public: 00030 ElementLookupTable(); 00031 unsigned short int lookupElement(string elementToLookup); 00032 protected: 00033 void stringToUpper(string& s 00034 ); 00035 map<string, unsigned short int> myTable; 00036 }; 00037 #endif