MCPcopy Create free account
hub / github.com/comaps/comaps / ReadLine

Method ReadLine

libs/coding/csv_reader.cpp:76–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74CSVReader::IstreamWrapper::IstreamWrapper(std::istream & stream) : m_stream(stream) {}
75
76std::optional<std::string> CSVReader::IstreamWrapper::ReadLine()
77{
78 std::string line;
79 return std::getline(m_stream, line) ? line : std::optional<std::string>();
80}
81
82CSVReader::ReaderWrapper::ReaderWrapper(Reader const & reader) : m_reader(reader) {}
83

Callers 1

ReadRowMethod · 0.80

Calls 8

IstreamWrapperClass · 0.85
backMethod · 0.80
endFunction · 0.50
beginFunction · 0.50
SizeMethod · 0.45
ReadMethod · 0.45
emplace_backMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected