pipObjectGetAttributeInfoByName - spatial_geostan - 2024.00

Spatial+ Reference for Windows, UNIX/Linux, z/OS

Product type
Software
Portfolio
Locate
Product family
GeoStan Geocoding Suite
Product
GeoStan Geocoding Suite > Spatial+
Version
2024.00
Language
English
Product name
Spatial+
Title
Spatial+ Reference for Windows, UNIX/Linux, z/OS
Copyright
2024
First publish date
1994
Last updated
2024-05-07
Published on
2024-05-07T22:16:04.316305

Retrieves the data in the GSA attribute file based on the name of the attribute.

Syntax

intl pipObjectGetAttributeInfoByName ( pipObjectFile obj_h, pstr * fieldName, pipAttributeInfoStruct* info)

Arguments

obj_h The file handle of the opened object file. Input.

*fieldName The field name in the attribute (GSA) file. Input.

*info The pipAttributeInfoStruct containing the information about the attribute. Output.

Return Value

PIP_OK PIP_ERROR PIP_NOT_FOUND

Prerequisites

pipObjectFileOpen

Alternates

None.

Notes

The pipObjectGetAttributeInfoByName function uses pipAttributeInfoStruct

as a data structure to hold information about the specified attribute.

Example

The pipAttributeInfoStruct holds the following file information:

Field Description
char name[12] Field name.
char value[256] Field value.
intl length Field length.
intl type Field type: CHARACTER=67, NUMERIC=78.
intl decimals If numeric, are there any decimals?