SDSsetClass(3DTM)

NAME
SDSsetClass, SDScompareClass - Scientific data set class labeling and scanning macros.

SYNOPSIS
#include <sds.h>

SDSsetClass(char *header)

SDScompareClass(char *header)

DESCRIPTION

SDSsetClass inserts the message class constant SDSclass into the character string header indicating that the data to follow should be considered some form of a scientific data set. The SDSclass constant is declared in the file sds.h , and though it is accessible at all times, it is recommended that the macro SDSsetClass be used to correctly insert this message type tag into the header.

SDScompareClass returns a non-zero value if the character string header contains the SDSclass constant. Though the constant SDSclass is accessible at all times, it is recommended that the macro SDScompareClass be used to determine whether or not a header indicates a scientific data set.

SEE ALSO
DTM, SDSclass

BUGS
SDSsetClass has no way of determining if the header contains sufficient space to hold the tag SDSclass. The results of attempting to store this information beyond the end of the allocated space are undefined.