Previous: SDDS_GetParameterNames
Up: Manual Pages
Next: SDDS_GetRow
Previous Page: SDDS_GetParameterNames
Next Page: SDDS_GetRow
- name:
SDDS_GetParameterType
- description:
Returns the SDDS data type of a named parameter in the data set.
- synopsis:
#include "SDDS.h"
long SDDS_GetParameterType(SDDS_TABLE *SDDS_table, long parameter_index)
- arguments:
- SDDS_table : Address of the SDDS_TABLE structure for the data set.
- parameter_index: The integer index of the parameter in the data set. Returned by
SDDS_DefineParameter or obtained from SDDS_GetParameterIndex.
- 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: