The Fortran name of this function is NhlFClassName.
Returns the name of the class of an object.
#include <ncarg/hlu/hlu.h> const char *NhlClassName( int id )
subroutine NhlFClassName(id, name_ret, ierr) integer id, ierr character*(*) name_ret
Type name: NhlTErrorTypes Definition: typedef enum _NhlErrType{ NhlFATAL = -4, /* "FATAL" */ NhlWARNING = -3, /* "WARNING" */ NhlINFO = -2, /* "INFO" */ NhlNOERROR = -1 /* "NOERROR" */ } NhlErrorTypes;
The NhlClassName C function returns a valid
const char*
or NULL on error.
The NhlFClassName Fortran subroutine returns the error in ierr:
Value | Meaning --------+------------------------------------------------- NOERROR | Class name successfully copied to name_ret --------+------------------------------------------------- INFO | not possible --------+------------------------------------------------- WARNING | name_ret wasn't big enough --------+------------------------------------------------- FATAL | An invalid object id passed in.
NG4.1 Home, Index, Examples, Glossary, Feedback, Ref Contents, Ref WhereAmI?