SdsCopy - Make a copy of an object

Function

Make a copy of an object

Description

Make a copy of an object and return an identifier to the copy. The copy is a new top level object, the original object is unchanged by the operation.

The object being copied can be either external or internal. The copy is always an internal object.

Language

C

Declaration

void SdsCopy(SdsIdType id, SdsIdType *copy_id, StatusType * SDSCONST status)

Parameters

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

>idSdsIdTypeIdentifier of the object to be copied.
<copy_idSdsIdType*Identifier of the copy.
!statusStatusType*Modified status. Possible failure codes are:

SDS__BADID The identifier is invalid.
SDS__NOMEM Insuficient memory.

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