#include <seSearchIterator.h>
Public Member Functions | |
| seSearchIterator () | |
| Constructor. | |
| virtual | ~seSearchIterator () |
| Destructor. | |
| void | start (seObject &start_obj, SE_DRM_Class filter) |
| bool | getNext (seObject &ret_obj) |
Protected Member Functions | |
| bool | mayHaveIt (seObject &obj) |
| Returns true if the object may have a matching component. | |
| void | push_hierarchy (seObject &root_obj) |
| Pushes an object's hierarchy on the stack. | |
Protected Attributes | |
| std::stack< seIterator > | _iter_stack |
| The stack of iterators that need to be searched. | |
| SE_DRM_Class | _filter |
| The DRM class to match the objects agains. | |
seSearchIterator iter; seObject obj; ... iter.start(some_obj, SE_DRM_CLS_POLYGON); while (iter.getNext(obj)) { obj.print(); }
Iteration is done depth first.
|
|
|
|
|
|
|
|
Retrieve the next object matching the search criteria.
|
|
|
|
|
|
|
|
||||||||||||
|
Reset the iterator to start at a specified object.
|
|
|
|
|
|
|
| SEDRIS Transmittal Access C++ API | 4.0.0 beta - 14 Jul 2004 |
| Copyright © 2004 SEDRIS | Docs by Doxygen 1.3.2 |