The Fortran name of this function is NhlFName.
This function returns the "name" of an object.
#include <ncarg/hlu/hlu.h> const char *NhlName( int id )
subroutine NhlFName(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 NhlName C function returns a valid const
char*
or NULL on error.
The NhlFName Fortran subroutine returns the error in ierr:
Value | Meaning --------+------------------------------------------------- NOERROR | Object 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?