00001 #ifndef __FIBER_GRIDLIST_HPP
00002 #define __FIBER_GRIDLIST_HPP "Created 25.08.2004 19:13:48 by bzfbenge"
00003
00004 #include "BundleAPI.h"
00005 #include <grid/Grid.hpp>
00006 #include "GridID.hpp"
00007
00008 namespace Fiber
00009 {
00010
00014 class BUNDLE_API GridList : public GridContainer
00015 {
00016 typedef set<WeakPtr<GridID> > IDs_t;
00017 IDs_t IDs;
00018
00019 public:
00020 GridList();
00021 ~GridList();
00022
00028 RefPtr<GridID> operator[](const string&gridname);
00029
00031 RefPtr<GridID> operator()(const string&gridname) const;
00032
00034 RefPtr<GridID> find(const string&gridname) const;
00035
00036 typedef std::set<string> stringset_t;
00037
00041 int getGridnames(stringset_t&Gridnames) const;
00042 };
00043
00044 }
00045
00046 #endif