FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
GridList.hpp
1#ifndef __FIBER_GRIDLIST_HPP
2#define __FIBER_GRIDLIST_HPP "Created 25.08.2004 19:13:48 by bzfbenge"
3
4#include "BundleAPI.h"
5#include <fiber/grid/Grid.hpp>
6#include "GridID.hpp"
7
8namespace Fiber
9{
10
15{
16 typedef set<WeakPtr<GridID> > IDs_t;
17 IDs_t IDs;
18
19public:
20 GridList();
21 ~GridList();
22
28 RefPtr<GridID> operator[](const string&gridname);
29
31 RefPtr<GridID> operator()(const string&gridname) const;
32
34 RefPtr<GridID> find(const string&gridname) const;
35
36 const IDs_t&getGridIdentifiers() const
37 {
38 return IDs;
39 }
40
45
49 int getGridnames(stringset_t&Gridnames) const;
50
54 size_t getNumberOfGrids() const;
55};
56
57} /* namespace Fiber */
58
59#endif /* __GRIDLIST_HPP */
constexpr _InputIterator find(_InputIterator __first, _InputIterator __last, const _Tp &__val)
An iterator with an optional DataCreator, which is just a class to intercept creation of data along a...
Definition CreativeIterator.hpp:34
An abstract base class for a list of Grid objects.
Definition GridContainer.hpp:25
A sequence of Grid objects with identifiers.
Definition GridList.hpp:15
std::set< string > stringset_t
A set of strings.
Definition GridList.hpp:44
T & operator[](index_t i) const
Access an element of the array, writeable.
Definition vector/Iterator.hpp:712
Given a fragmented field of curvilinear coordinates, (3D array of coordinates), build a uniform Grid ...
Definition FAQ.dox:2