16 void ncCheck(
int retCode,
const char* file,
int line);
void ncCheckDataMode(int ncid)
Function checks if the file (group) is in data mode.
void ncCheckDefineMode(int ncid)
Function checks if the file (group) is in define mode.
void ncCheck(int retCode, const char *file, int line)
Function checks error code and if necessary throws an exception.