|
SEDRIS Reference Manual
APPENDIX A - LEVEL 0 READ and WRITE API Functions SE HasAssociations |
|---|
| extern SE_Status_Code | |||
| SE_HasAssociations | |||
| ( | |||
| SE_Object | object_in, | (notes) | |
| SE_DRM_Class | drm_class, | (notes) | |
| SE_ITR_Behaviour | itr_traversal, | (notes) | |
| SE_Boolean | * | result_out_ptr | (notes) |
| ); | |||
Determines whether an object has associations to other SEDRIS objects.
What counts as an association and what doesn't?
For the purposes of this function:
| SE_STAT_CODE_SUCCESS | and *result_out_ptr is set to the result of the check, if valid parameters were passed in and all operations succeeded. |
| SE_STAT_CODE_NULL_REQUIRED_PARAMETER | and *result_out_ptr is left unaltered, if result_out_ptr was NULL. |
| SE_STAT_CODE_INVALID_OR_NULL_OBJECT | and *result_out_ptr is set to SE_FALSE, if object_in isn't a handle to a valid, active (i.e., unfreed) SEDRIS object. |
| SE_STAT_CODE_UNRESOLVED_START_OBJECT | and *result_out_ptr is set to SE_FALSE, if object_in is currently unresolved (see SE_Object's comments for details on how this condition occurs). |
| SE_STAT_CODE_FAILURE | and *result_out_ptr is set to SE_FALSE, if
|
the SEDRIS object for which the user wants to know whether
any associations exist.
the DRM class of associate desired. If
SE_DRM_CLS_NULL is passed in, then any associated object will do.
Asking for an object of an abstract DRM class is allowed; in that case,
the API will look for associations to concrete objects that are
descendants of the of the given abstract DRM class.
the user must choose how
the function will behave when it encounters an Inter-Transmittal
Reference (ITR). The function could automatically resolve such
references and continue the search within the new transmittal;
report all ITR references without resolving them; or just ignore
them completely and continue to search within the current
transmittal.
a pointer to the variable in the user's memory space
where the answer will be stored.
Prev: SE_HasAggregates.
Next: SE_HasComponents.
Up:Index.
|