MCPcopy Create free account
hub / github.com/assimp/assimp / AddLineNumber

Function AddLineNumber

code/AssetLib/STEPParser/STEPFileReader.cpp:61–63  ·  view source on GitHub ↗

------------------------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

59
60// ------------------------------------------------------------------------------------------------
61std::string AddLineNumber(const std::string& s,uint64_t line /*= LINE_NOT_SPECIFIED*/, const std::string& prefix = std::string()) {
62 return line == STEP::SyntaxError::LINE_NOT_SPECIFIED ? prefix+s : static_cast<std::string>( (Formatter::format(),prefix,"(line ",line,") ",s) );
63}
64
65// ------------------------------------------------------------------------------------------------
66std::string AddEntityID(const std::string& s,uint64_t entity /*= ENTITY_NOT_SPECIFIED*/, const std::string& prefix = std::string()) {

Callers 4

SyntaxErrorMethod · 0.85
TypeErrorMethod · 0.85
ReadFileHeaderMethod · 0.85
ReadFileMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected