RISsetClass(3DTM)

NAME
RISsetClass, RIScompareClass - Raster image class labeling and scanning macros.

SYNOPSIS
#include <ris.h>

RISsetClass(char *header)

RIScompareClass(char *header)

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

RIScompareClass returns a non-zero value if the character string header contains the RISclass constant. Though the constant RISclass is accessible at all times, it is recommended that the macro RIScompareClass to determine whether or not a header indicates raster image data.

SEE ALSO
DTM, RISclass

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