Next: SDDS_GetColumn
Up: Manual Pages
Previous: SDDS_GetArrayNames
Contents
SDDS_GetArrayType
- name:
SDDS_GetArrayType
- description:
Returns the SDDS data type of a named array in the data set.
- synopsis: #include "SDDS.h"
long SDDS_GetArrayType(SDDS_TABLE *SDDS_table, long array_index)
- arguments:
- SDDS_table: Address of the SDDS_TABLE structure for the data set.
- array_index: The integer index of the array in the data set. Returned by SDDS_DefineArray or obtained from SDDS_GetArrayIndex.
- return value:
On success, returns a non-negative integer giving the SDDS data type; this will be one of the constants (defined in SDDS.h) SDDS_DOUBLE, SDDS_FLOAT, SDDS_LONG, SDDS_SHORT, SDDS_CHARACTER, or SDDS_STRING.
On failure, returns -1 and records an error message.
Robert Soliday
2006-06-29