SheafSystem  0.0.0.0
triorder_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 triorder_iterator
19 
20 
21 #ifndef TRIORDER_ITERATOR_H
22 #define TRIORDER_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 
41 class SHEAF_DLL_SPEC triorder_iterator : public filtered_depth_first_iterator
42 {
43 public:
44 
45  // CANONICAL MEMBERS
46 
52 
56  triorder_iterator(const triorder_iterator& xother);
57 
62 
66  virtual bool is_ancestor_of(const any* other) const;
67 
71  virtual triorder_iterator* clone() const;
72 
76  bool invariant() const;
77 
78  // OTHER CONSTRUCTORS
79 
86  bool xdown,
87  bool xstrict);
88 
95  const subposet& xfilter,
96  bool xdown,
97  bool xstrict);
98 
105  pod_index_type xfilter_index,
106  bool xdown,
107  bool xstrict);
108 
115  const scoped_index& xfilter_index,
116  bool xdown,
117  bool xstrict);
118 
125  const std::string& xfilter_name,
126  bool xdown,
127  bool xstrict);
128 };
129 
130 } // namespace sheaf
131 
132 #endif // ifndef TRIORDER_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.