fdds_parent - fetch a field tag within a DDS structure


SYNOPSIS

#include <fdds.h> (fixed-format sources)
#include <f90dds.h> (free-format sources)

integer fdds_parent(bin_tag, field_tag)

integer bin_tag
integer field_tag

DESCRIPTION

fdds_parent returns the tag associated with the field of the parent from the member or object defined by field_tag. A return value of -1 indicates field_tag is the top member or object.

INPUT

bin_tag is the tag associated with an open binary, previously obtained from fdds_open. It specifies a particular binary stream.

field_tag is the tag associated with a particular field known by bin_tag. A value of "0" always refers to the entire trace field.

OUTPUT

The return value is the field tag associate with the desired object or "-1" if none found.

SEE ALSO

fdds_member  Fetch field tag
fdds_object  Fetch object tag
fdds_next Fetch next field tag
fdds_prev Fetch previous field tag
fdds_prime  Fetch field prime tag
    

AUTHOR

Jerry Ehlers, BP America (May 2003)