SheafSystem  0.0.0.0
postorder_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 postorder_member_iterator
19 
20 #ifndef POSTORDER_MEMBER_ITERATOR_H
21 #define POSTORDER_MEMBER_ITERATOR_H
22 
23 #ifndef SHEAF_DLL_SPEC_H
24 #include "SheafSystem/sheaf_dll_spec.h"
25 #endif
26 
27 #ifndef FILTERED_DEPTH_FIRST_MEMBER_ITERATOR_H
28 #include "SheafSystem/filtered_depth_first_member_iterator.h"
29 #endif
30 
31 namespace sheaf
32 {
33 
34 class subposet;
35 class zn_to_bool;
36 
45 {
46 
47 public:
48 
49  // CANONICAL MEMBERS
50 
56 
61 
65  virtual postorder_member_iterator& operator=(const filtered_depth_first_member_iterator& xother);
66 
70  postorder_member_iterator& operator=(const postorder_member_iterator& xother);
71 
75  virtual ~postorder_member_iterator();
76 
80  virtual bool is_ancestor_of(const any* other) const;
81 
85  virtual postorder_member_iterator* clone() const;
86 
90  bool invariant() const;
91 
92  // OTHER CONSTRUCTORS
93 
100  bool xdown,
101  bool xstrict);
102 
109  const subposet& xfilter,
110  bool xdown,
111  bool xstrict);
112 
119  pod_index_type xfilter_index,
120  bool xdown,
121  bool xstrict);
122 
129  const scoped_index& xfilter_index,
130  bool xdown,
131  bool xstrict);
132 
139  const std::string& xfilter_name,
140  bool xdown,
141  bool xstrict);
142 
143 protected:
144 
149  abstract_poset_member* xitem);
150 
151 };
152 
153 } // namespace sheaf
154 
155 #endif // ifndef POSTORDER_MEMBER_ITERATOR_H
A client handle for a subposet.
Definition: subposet.h:86
Abstract base class with useful features for all objects.
Definition: any.h:39
An index within the external ("client") scope of a given id space.
Definition: scoped_index.h:116
int_type pod_index_type
The plain old data index type.
Definition: pod_types.h:49
Namespace for the sheaves component of the sheaf system.
An abstract client handle for a member of a poset.