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

Method get

IO/Geometry/vtkTecplotReader.cxx:110–133  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

108}
109//------------------------------------------------------------------------------
110int FileStreamReader::get()
111{
112 if (!this->is_open() || this->eof())
113 {
114 return this->eof();
115 }
116
117 // when reading uncompressed data, zlib will return if it hits
118 // and eol character
119
120 if (this->Pos >= this->BuffEnd)
121 {
122 this->Pos = 0;
123 // read the first buffer
124 this->BuffEnd = gzread(this->file, this->buff, FileStreamReader::BUFF_SIZE);
125 // assign EOF to what gzread returned
126 this->Eof = (this->BuffEnd <= 0);
127 if (this->Eof)
128 {
129 return this->Eof;
130 }
131 }
132 return this->buff[this->Pos++];
133}
134
135//------------------------------------------------------------------------------
136void FileStreamReader::rewind()

Callers 15

GetNextTokenMethod · 0.45
PreParseDataFileMethod · 0.45
PreParseFluentFileMethod · 0.45
GetCaseChunkMethod · 0.45
GetDataChunkMethod · 0.45
ReadDataZoneSectionIdMethod · 0.45
ReadZoneSectionIdMethod · 0.45
ReadZoneSectionMethod · 0.45
RequestInformationMethod · 0.45
ReadMaterialTypesMethod · 0.45
ReadCellConnectivityMethod · 0.45

Calls 3

is_openMethod · 0.95
eofMethod · 0.95
gzreadFunction · 0.85

Tested by 15

TestStreambufFunction · 0.36
TestQtSwapWindowsFunction · 0.36
get_render_windowFunction · 0.36
set_render_windowFunction · 0.36
showFunction · 0.36
grab_framebufferFunction · 0.36
TestLibProjFunction · 0.36
testFloatReferenceMethod · 0.36
testIntReferenceMethod · 0.36
get_toggle_valueMethod · 0.36
set_toggle_valueMethod · 0.36
_on_pick_finishedMethod · 0.36