BioInt
1.02.00
BioInt: An integrative biological object-oriented application framework and interpreter
|
00001 /**************************************************************************** 00002 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 00003 The BioBhasha : A Programming Language for Biologist 00004 Version 1.0 (19th December 2001) 00005 Dr. Prasad, B.V.L.S. 00006 Contact: prasadbvls@helixgenomics.com 00007 Version 1.1 (23th January 2003) 00008 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 00009 *****************************************************************************/ 00010 #ifndef BIOELEMENTLIBRARY_H 00011 #define BIOELEMENTLIBRARY_H 00012 00013 using namespace std; 00014 #include <string> 00015 #include <map> 00016 #include <iostream> 00017 #include <cstdlib> 00018 #include <cstdio> 00019 #include "BioElement.h" 00020 00021 class BioElementLibrary 00022 { 00023 static bool elementInitialized_; 00024 00025 public: 00026 ~BioElementLibrary() 00027 { 00028 map<const string, BioElement*>().swap(Element); 00029 Element.clear(); 00030 } 00031 00032 00033 static map<const string, BioElement*> Element; 00034 00035 static void Initialize(); 00036 static void Clear(); 00037 00038 static unsigned int getNumberOfElements(); 00039 static string getElement(const unsigned int& i); 00040 }; 00041 00042 #endif