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

Method ReadLine

src/strgen/strgen.cpp:85–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83 }
84
85 std::optional<std::string> ReadLine() override
86 {
87 std::string result;
88 if (!std::getline(this->input_stream, result)) return std::nullopt;
89 return result;
90 }
91
92 void HandlePragma(std::string_view str, LanguagePackHeader &lang) override;
93

Callers 1

ParseFileMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected