SheafSystem  0.0.0.0
poset_member_iterator.h
1 
2 //
3 // Copyright (c) 2014 Limit Point Systems, Inc.
4 //
5 // Licensed under the Apache License, Version 2.0 (the "License");
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
8 //
9 // http://www.apache.org/licenses/LICENSE-2.0
10 //
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
16 //
17 
18 // Interface for class poset_member_iterator
19 
20 #ifndef POSET_MEMBER_ITERATOR_H
21 #define POSET_MEMBER_ITERATOR_H
22 
23 #ifndef SHEAF_DLL_SPEC_H
24 #include "SheafSystem/sheaf_dll_spec.h"
25 #endif
26 
27 #ifndef TOTAL_POSET_MEMBER_H
28 #include "SheafSystem/total_poset_member.h"
29 #endif
30 
31 namespace sheaf
32 {
33 
38 class SHEAF_DLL_SPEC poset_member_iterator : public total_poset_member
39 {
40 public:
41 
42 
43 
47  virtual bool is_done() const = 0;
48 
52  virtual void next() = 0;
53 
57  virtual void reset() = 0;
58 };
59 
60 } // namespace sheaf
61 
62 #endif // ifndef POSET_MEMBER_ITERATOR_H
Namespace for the sheaves component of the sheaf system.
A client handle for an unrestricted member of a poset. A total_poset_member is guaranteed not to be r...