Name2Table.h
Go to the documentation of this file.00001 #ifndef _NAME2TABLE_H_
00002 #define _NAME2TABLE_H_
00003 #include "ASDMTableBase.h"
00004
00005 #include <map>
00006 #include <set>
00007
00008 using namespace std;
00009
00010 class Name2Table {
00011 private:
00012 static map<string, ASDM_TABLE_BASE*> name2Table_;
00013 static bool init_;
00014 static bool init();
00015
00016 static set<ASDM_TABLE_BASE*> table_;
00017
00018 public:
00019 static const set<ASDM_TABLE_BASE*>& find(const vector<string>& name,bool verbose=false);
00020 };
00021 #endif // _NAME2TABLE_H_