NCL Home > Documentation > HLUs > API

NhlClassName

The Fortran name of this function is NhlFClassName.

Returns the name of the class of an object.


C synopsis

#include <ncarg/hlu/hlu.h>

const char *NhlClassName(
		int	id
		)

Fortran synopsis

      subroutine NhlFClassName(id, name_ret, ierr)
      integer id, ierr
      character*(*) name_ret

Arguments

id (input)
Specifies the object identifier.
name_ret (output, Fortran only)
On output, the class name of the object specified by the id argument.
ierr (output, Fortran only)
Error code.

Types

Type name:		NhlTErrorTypes
Definition:
typedef enum _NhlErrType{
	NhlFATAL	= -4,	/* "FATAL"	*/
	NhlWARNING	= -3,	/* "WARNING"	*/
	NhlINFO		= -2,	/* "INFO"	*/
	NhlNOERROR	= -1	/* "NOERROR"	*/
} NhlErrorTypes;