MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / valueFromLine

Function valueFromLine

src/Mod/Fem/App/FemVTKTools.cpp:1535–1539  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1533//}
1534template<typename T>
1535void valueFromLine(const std::string_view::iterator& it, int digits, T& value)
1536{
1537 std::string_view sub(&*it, digits);
1538 value = std::strtol(sub.data(), nullptr, 10);
1539}
1540template<>
1541void valueFromLine<double>(const std::string_view::iterator& it, int digits, double& value)
1542{

Callers 4

readNodesFunction · 0.85
readElementsFunction · 0.85
readResultInfoFunction · 0.85
readResultsFunction · 0.85

Calls 1

dataMethod · 0.45

Tested by

no test coverage detected