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

Function ReadLineTo

IO/Core/vtkResourceParser.h:476–489  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

474 */
475 template <typename OutputIt>
476 ReadToResult<OutputIt> ReadLineTo(OutputIt output, std::size_t limit = NoLimit)
477 {
478 const auto result = this->ReadLine(
479 [&output](const char* data, std::size_t size)
480 {
481 for (std::size_t i{}; i < size; ++i)
482 {
483 *output++ = data[i];
484 }
485 },
486 limit);
487
488 return ReadToResult<OutputIt>{ result, output };
489 }
490
491 /**
492 * @brief Read an entire line from the input stream

Callers

nothing calls this directly

Calls 2

distanceFunction · 0.50
ReadLineMethod · 0.45

Tested by

no test coverage detected