The Fortran name of this function is NhlFRemoveData.
This function is used to dissociate a DataItem object from a data resource in a DataComm object.
#include <ncarg/hlu/DataComm.h> NhlErrorTypes NhlRemoveData( int dcommid, NhlString res_name, int ditemid )
subroutine NhlFRemoveData(dcommid, res_name, ditemid, ierr) integer dcommid, ditemid, ierr character*(*) res_name
Type name: NhlTErrorTypes Definition: typedef enum _NhlErrType{ NhlFATAL = -4, /* "FATAL" */ NhlWARNING = -3, /* "WARNING" */ NhlINFO = -2, /* "INFO" */ NhlNOERROR = -1 /* "NOERROR" */ } NhlErrorTypes;
To allow a higher degree of configurability, it is also possible that a DataSpec object had been added to the res_name resource. If that is the case, then the DataSpec id must be used to dissociate the DataItem as well.
Value | Meaning --------+------------------------------------------------- NOERROR | The DataItem was removed from the res_name | data resource without any problems. --------+------------------------------------------------- INFO | Recoverable error. --------+------------------------------------------------- WARNING | Recoverable error. --------+------------------------------------------------- FATAL | Unable to remove the given dcommid from | the object. Usually indicates that the | user provided an invalid dcommid or | res_name. If there is problem internally, | then it is possible that the dcommid | object was destroyed to maintain the | integrity of the HLU library.
NG4.1 Home, Index, Examples, Glossary, Feedback, Ref Contents, Ref WhereAmI?