SEDRIS Reference Manual
APPENDIX A - Transmittal Access Level 0 API
Types
SE_Traversal_Order
/*
 * 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 enum
{
SE_TRAV_ORDR_BREADTH_FIRST, (notes)
SE_TRAV_ORDR_DEPTH_FIRST, (notes)
SE_TRAV_ORDR_MOST_EFFICIENT (notes)
} SE_Traversal_Order;


Enumerant Notes


SE_TRAV_ORDR_BREADTH_FIRST

 A breadth-first traversal.  Complete contexts (inherited components
 and transformations) are available during a breadth-first traversal.

SE_TRAV_ORDR_DEPTH_FIRST

 A depth-first traversal.   Complete contexts (inherited components and
 transformations) are available during a depth-first traversal.

SE_TRAV_ORDR_MOST_EFFICIENT

 Leave the API free to search in any order it can.  Context and
 transformation information is not necessarily maintained.



Prev: SE_Transmittal_API_Function. Next: SE_Unmatched_State_Behaviour.


Return to: Top of this Page, Type Index

Last updated: July 16, 2004 Copyright © 2004 SEDRIS