SdsFind - Find a structure component by name

Function

Find a structure component by name

Description

Given the name of a component in a structure, return an identifier to the component.

Language

C

Declaration

void SdsFind(SdsIdType parent_id, char *name, SdsIdType *id, StatusType * SDSCONST status)

Parameters

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

>parent_idSdsIdTypeIdentifier of the structure.
>namechar*Name of the component to be found.
<idSdsIdType*Identifier to the component.
!statusStatusType*Modified status. Possible failure codes are:

SDS__NOMEM Insufficient memory for creation
SDS__NOTSTRUCT parent_id not a structure
SDS__NOITEM No item with that name

Support

Jeremy Bailey, {AAO}

Version date

18-Oct-91

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

 For more information, contact tjf@aao.gov.au