The Fortran name of this function is NhlFUpdateData.
This function is used to force a DataComm object to update its internal state to any changes that have occurred in associated DataItems.
#include <ncarg/hlu/DataComm.h> NhlErrorTypes NhlUpdateData( int dcommid )
subroutine NhlFUpdateData(dcommid, ierr) integer dcommid, ierr
Type name: NhlTErrorTypes Definition: typedef enum _NhlErrType{ NhlFATAL = -4, /* "FATAL" */ NhlWARNING = -3, /* "WARNING" */ NhlINFO = -2, /* "INFO" */ NhlNOERROR = -1 /* "NOERROR" */ } NhlErrorTypes;
The DataComm does not get out-of-date when the application programmer makes AddData or RemoveData calls to it. It is only if the application programmer makes a SetValues call to an associated DataItem object that the DataComm object has the possibility of being out-of-date. For example, if the application programmer changed the Minimum value in an associated DataItem object, it is possible the data extents of the plot (DataComm object) may be affected. It is important that the DataComm object respond to these changes in the data.
Value | Meaning --------+------------------------------------------------- NOERROR | The DataComm object was updated without | any problem. (It may have already been | up-to-date.) --------+------------------------------------------------- INFO | Recoverable error. --------+------------------------------------------------- WARNING | Recoverable error, but there may be more | problems. --------+------------------------------------------------- FATAL | Unable to update the DataComm object.
NG4.1 Home, Index, Examples, Glossary, Feedback, Ref Contents, Ref WhereAmI?