SEDRIS Reference Manual
APPENDIX A - Transmittal Access Level 0 API Types SE_Traversal_Order |
---|
/* * REGISTERABLE ENUM: SE_Traversal_Order * * Used to indicate the desired traversal order for a component * iterator. The traversal order of the branches of an <Aggregate Feature>/ * <Aggregate Geometry> are determined either by the DRM or by the * SE_Hierarchy_Order_Parameters for the iterator, but the general traversal * scheme - the order to search for objects from the <Transmittal Root> * down to the maximum depth of the search, is up to the user. * * All component iterators treat the start_object of the iterator as * the "root" of a "composition tree". The order of the tree traversal * from that root is given by one of the enumerants below. */typedef SE_Short_Integer SE_Traversal_Order;
Enumerant | Definition | Value |
---|---|---|
SE_TRAVORDR_BREADTH_FIRST | A breadth-first traversal. Complete contexts (inherited components and transformations) are available during a breadth-first traversal. |
1 |
SE_TRAVORDR_DEPTH_FIRST | A depth-first traversal. Complete contexts (inherited components and transformations) are available during a depth-first traversal. |
2 |
SE_TRAVORDR_MOST_EFFICIENT | Leave the API free to search in any order it can. Context and transformation information is not necessarily maintained. |
3 |
|