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

Function DiscardLine

IO/Core/vtkResourceParser.h:519–522  ·  view source on GitHub ↗

* @brief Discard a line from the input stream. * * @param limit maximum amount of character to discard * * vtkParseResult::EndOfStream if EOS is reached before any character is discarded, * vtkParseResult::Limit if limit is reached before an end of line marker, * vtkParseResult::EndOfLine otherwise. * This function never returns vtkParseResult::Ok, vtkParseResult::EndOfLine in

Source from the content-addressed store, hash-verified

517 * This function never returns vtkParseResult::Ok, vtkParseResult::EndOfLine indicates success.
518 */
519 vtkParseResult DiscardLine(std::size_t limit = NoLimit)
520 {
521 return this->ReadLine([](const char*, std::size_t) {}, limit);
522 }
523
524protected:
525 /**

Callers

nothing calls this directly

Calls 1

ReadLineMethod · 0.45

Tested by

no test coverage detected