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

Method GetNumberOfBlocks

IO/AMR/vtkAMRFlashReader.cxx:113–123  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

111
112//------------------------------------------------------------------------------
113int vtkAMRFlashReader::GetNumberOfBlocks()
114{
115 assert("pre: Internal Flash Reader is nullptr" && (this->Internal != nullptr));
116 if (!this->IsReady)
117 {
118 return 0;
119 }
120
121 this->Internal->ReadMetaData();
122 return (this->Internal->NumberOfBlocks);
123}
124
125//------------------------------------------------------------------------------
126int vtkAMRFlashReader::GetNumberOfLevels()

Callers

nothing calls this directly

Calls 2

assertFunction · 0.50
ReadMetaDataMethod · 0.45

Tested by

no test coverage detected