SEDRIS Reference Manual
APPENDIX A - Transmittal Access Level 0 API
Functions
SE InitializeInheritedComponentIterator
extern SE_Return_Code
SE_InitializeInheritedComponentIterator
(
SE_Object start_object, (notes)
SE_Search_Filter filter, (notes)
SE_Boolean directly_attach_table_components, (notes)
SE_ITR_Behaviour itr_traversal, (notes)
SE_Iterator *iterator_out_ptr (notes)
);

Definition

Creates an iterator to (traverse over the list of)/(return pointers to) component objects that were inherited.

If you just want the inherited components of an object, then use this function call.

If you just want the directly aggregated components of an object, then use the SE_InitializeComponentIterator() function with the process_inheritance parameter set to SE_FALSE.

If you want both the inherited components and the directly aggregated components of an object (and don't care to distinguish between the two sets) then use the SE_InitializeComponentIterator() function with the process_inheritance parameter set to SE_TRUE.


Returns

SE_RET_CODE_SUCCESS and the iterator is initialized.
SE_RET_CODE_FAILUREand the status code is set appropriately if the call failed.

Status Codes

SE_Status_Code(s) when SE_RET_CODE_SUCCESS is returned:

SE_STAT_CODE_SUCCESS set if valid parameters were passed in and all operations succeeded.

SE_Status_Code(s) when SE_RET_CODE_FAILURE is returned:

SE_STAT_CODE_UNRESOLVED_INPUT_OBJECT set if start_object is currently unresolved (see SE_Object's comments for details on how this condition occurs).
SE_STAT_CODE_INACTIONABLE_FAILURE set if
  1. itr_traversal is invalid,
  2. a search filter is provided, but is not a handle to a valid, active (i.e., unfreed) search filter,
  3. the start_object and search filter came from different API implementations, or
  4. the call fails for any other reason


Parameters Notes


start_object

 object whose list of inherited components will be returned.

filter

 a search filter that will be used to filter
    the output of this iterator.

directly_attach_table_components

 see comments in
    SE_InitializeComponentIterator().

itr_traversal

 see comments in
    SE_InitializeComponentIterator().

iterator_out_ptr

 a pointer to the freshly created iterator that will
    iterate over the inherited components of the start_object.  If a
    search filter was provided, then only the inherited components that
    pass that search filter will be included in the list.


Prev: SE_InitializeComponentIterator. Next: SE_IsIteratorComplete. Up:Index.

Last updated: July 16, 2004 Copyright © 2004 SEDRIS