|
SEDRIS Reference Manual
APPENDIX A - LEVEL 0 READ and WRITE API Functions SE AddComponentRelationship |
|---|
| extern SE_Status_Code | |||
| SE_AddComponentRelationship | |||
| ( | |||
| SE_Object | aggregate_object, | (notes) | |
| SE_Object | component_object, | (notes) | |
| SE_Object | link_object | (notes) | |
| ); | |||
Adds a composition relationship from aggregate_object to component_object, provided that the following criteria are met.
| NOTE: | Relationships between objects in different transmittals are not implicitly bi-directional, so if the component object is unresolved, then the relationship will be uni-directional from the aggregate to the component. |
|---|
| SE_STAT_CODE_SUCCESS | and the requested composition relationship is added, if valid parameters were passed in and all operations succeeded. |
| SE_STAT_CODE_INVALID_OR_NULL_OBJECT | and no changes are made, if
|
| SE_STAT_CODE_UNPUBLISHED_OBJECT | and no changes are made, if component_object is in another transmittal than aggregate_object, but is not published by that transmittal or vice-versa. |
| SE_STAT_CODE_UNRESOLVED_START_OBJECT | and no changes are made, if
|
| SE_STAT_CODE_INVALID_ACCESS_MODE | and no changes are made, if
|
| SE_STAT_CODE_FAILURE | and no changes are made, if the API implementation specified does not provide this function in its shared library, and dynamic binding is specified at compile time. |
object to which a component is being added
component object being added
the link object that will be
traversed to reach the component object, if applicable;
must be resolved, if provided.
Prev: SE_AddAssociateRelationship.
Next: SE_AddSymbolicAssociate.
Up:Index.
|