SdsInsert - Insert an existing object into a structure

Function

Insert an existing object into a structure

Description

An existing top level object is inserted into a structure.

Language

C

Declaration

void SdsInsert(SdsIdType parent_id, SdsIdType id, StatusType * SDSCONST status)

Parameters

(">" input, "!" modified, "W" workspace, "<" output)

>parent_idSdsIdTypeThe identifier of the structure to which the component is to be added.
>idSdsIdTypeThe identifier of the object to be inserted.
!statusStatusType*Modified status. Possible failure codes are:

SDS__BADID Invalid identifier
SDS__NOTSTRUCT Parent is not a structure
SDS__NOTTOP Not a top level object
SDS__NOMEM Insufficient memory
SDS__EXTERN Object is external

Support

Jeremy Bailey, {AAO}

Version date

23-Oct-91

Click here for the DRAMA home page and here for the AAO home page.

 For more information, contact tony.farrell@mq.edu.au