Next: SDDS_GetMatrixFromColumn
Up: Manual Pages
Previous: SDDS_GetColumnNames
Contents
SDDS_GetColumnType
- name:
SDDS_GetColumnType
- description:
Returns the SDDS data type of a named column in the data set.
- synopsis: #include "SDDS.h"
long SDDS_GetColumnType(SDDS_TABLE *SDDS_table, long column_index)
- arguments:
- SDDS_table: Address of the SDDS_TABLE structure for the data set.
- column_index: The integer index of the column in the data set. Returned by SDDS_DefineColumn or obtained from SDDS_GetColumnIndex.
- 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.
- see also:
Robert Soliday
2006-06-29