DsInqClassId(3D)

NAME
DsInqClassId - Return the class identifier of a named class

SYNOPSIS
C:
DtInt DsInqClassId (class_name)
DtPtr class_name;
FORTRAN:
INTEGER*4 DSQCI(CLSNME, N)
CHARACTER*N CLSNME

DESCRIPTION

DsInqClassId returns the class identifier of the class with the string name class_name. If class_name is not the name of a class installed in Dore then DsInqClassId returns the value -1.

By convention, a class is given the same name as the C Language name of the routine used to create an object of that class. For example, an object created with DoPolygon is of class ``DoPolygon''.

FORTRAN SPECIFIC

The CLSNME parameter is the class name string, which is N characters long.