MCPcopy Create free account
hub / github.com/Kitware/VTK / CheckError

Method CheckError

IO/NetCDF/vtkNetCDFUGRIDReader.cxx:720–730  ·  view source on GitHub ↗

--------------------------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

718
719//--------------------------------------------------------------------------------------------------
720bool vtkNetCDFUGRIDReader::CheckError(int error)
721{
722 if (error != NC_NOERR)
723 {
724 vtkErrorMacro(
725 "Failed to read information of file \"" << this->FileName << "\": " << nc_strerror(error));
726 return false;
727 }
728
729 return true;
730}
731
732//--------------------------------------------------------------------------------------------------
733std::string vtkNetCDFUGRIDReader::GetVariableName(int var)

Callers 9

RequestInformationMethod · 0.95
ParseHeaderMethod · 0.95
FillPointsMethod · 0.95
FillCellsMethod · 0.95
GetVariableNameMethod · 0.95
GetAttributeNameMethod · 0.95
GetDimensionNameMethod · 0.95
GetAttributeStringMethod · 0.95
GetArrayDataMethod · 0.95

Calls 1

nc_strerrorFunction · 0.85

Tested by

no test coverage detected