MCPcopy Create free account
hub / github.com/NTNU-IHB/PythonFMU / getline

Function getline

src/pythonfmu/PySlaveInstance.cpp:21–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19namespace
20{
21std::string getline(const std::filesystem::path& fileName)
22{
23 std::string line;
24 std::ifstream infile(fileName);
25 std::getline(infile, line);
26 return line;
27}
28
29PyObject* findClass(const std::string& resources, const std::string& moduleName)
30{

Callers 2

findClassFunction · 0.85
PySlaveInstanceMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected