MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / peekReset

Method peekReset

other_src/astyle/src/astyle_main.cpp:242–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

240// reset current position and EOF for peekNextLine()
241template<typename T>
242void ASStreamIterator<T>::peekReset()
243{
244 assert(peekStart != 0);
245 inStream->clear();
246 inStream->seekg(peekStart);
247 peekStart = 0;
248}
249
250// save the last input line after input has reached EOF
251template<typename T>

Callers 3

peekNextTextMethod · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected