SheafSystem  0.0.0.0
biorder_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 biorder_iterator
19 
20 
21 #ifndef BIORDER_ITERATOR_H
22 #define BIORDER_ITERATOR_H
23 
24 #ifndef SHEAF_DLL_SPEC_H
25 #include "SheafSystem/sheaf_dll_spec.h"
26 #endif
27 
28 #ifndef FILTERED_DEPTH_FIRST_ITERATOR_H
29 #include "SheafSystem/filtered_depth_first_iterator.h"
30 #endif
31 
32 namespace sheaf
33 {
34 
39 class SHEAF_DLL_SPEC biorder_iterator : public filtered_depth_first_iterator
40 {
41 public:
42 
43  // CANONICAL MEMBERS
44 
50 
54  biorder_iterator(const biorder_iterator& xother);
55 
60 
64  virtual bool is_ancestor_of(const any* other) const;
65 
69  virtual biorder_iterator* clone() const;
70 
74  bool invariant() const;
75 
76  // OTHER CONSTRUCTORS
77 
84  bool xdown,
85  bool xstrict);
86 
93  const subposet& xfilter,
94  bool xdown,
95  bool xstrict);
96 
103  pod_index_type xfilter_index,
104  bool xdown,
105  bool xstrict);
106 
113  const scoped_index& xfilter_index,
114  bool xdown,
115  bool xstrict);
116 
123  const std::string& xfilter_name,
124  bool xdown,
125  bool xstrict);
126 };
127 
128 } // namespace sheaf
129 
130 #endif // ifndef BIORDER_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
Specialization of the filtered depth-first iterator which exposes the PREVISIT_ACTION and the POSTVIS...
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.