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

Method PutBack

IO/Geometry/vtkOpenFOAMReader.cxx:1916–1923  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1914 int ReadNext();
1915
1916 void PutBack(int c)
1917 {
1918 if (--this->Superclass::BufPtr < this->Superclass::Outbuf)
1919 {
1920 this->ThrowDuplicatedPutBackException();
1921 }
1922 *this->Superclass::BufPtr = static_cast<unsigned char>(c);
1923 }
1924
1925 // get a character
1926 int Getc()

Callers 5

ReadMethod · 0.95
ReadExpectingMethod · 0.95
ReadIntegerValueMethod · 0.95
ReadDoubleValueMethod · 0.95
NextTokenHeadMethod · 0.95

Calls 1

Tested by

no test coverage detected