Lines Matching refs:ChildIterator
163 class ChildIterator {
172 ChildIterator(); // Disable default constructor.
174 ChildIterator(NodeType *F, NodeSubset C) : FirstNode(F), Children(C) {} in ChildIterator() function
178 ChildIterator(const ChildIterator &other) = default;
179 ChildIterator &operator=(const ChildIterator &other) = default;
182 bool operator==(const ChildIterator &other) const {
186 bool operator!=(const ChildIterator &other) const {
191 ChildIterator& operator++() {
204 ChildIterator operator++(int) {
205 ChildIterator Result(*this);
224 static ChildIterator child_begin(NodeType *Parent) { in child_begin()
225 return ChildIterator(Parent - Parent->first, Parent->second); in child_begin()
229 static ChildIterator child_end(NodeType *Parent) { in child_end()
230 return ChildIterator(Parent - Parent->first, NodeSubset()); in child_end()
237 typedef typename Graph<N>::ChildIterator ChildIteratorType;