00001 #ifndef CELLSETFACTORY_H
00002 #define CELLSETFACTORY_H
00003
00004 #include "SundanceDefs.h"
00005
00006 #include "XMLObject.h"
00007 #include "CellSet.h"
00008
00009 namespace Sundance
00010 {
00011
00012 using namespace TSF;
00013 using std::string;
00014
00015 using std::ostream;
00016
00017
00018
00019
00020
00021
00022
00023 class CellSetFactory
00024 {
00025 public:
00026 static CellSet getCellSetByName(const string& name);
00027
00028 static CellSet createCellSet(const XMLObject& xml);
00029
00030 private:
00031
00032
00033
00034 static TSFHashtable<string, CellSet> cellSets_;
00035 };
00036
00037
00038 }
00039 #endif