MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / string_as

Function string_as

src/ifcparse/IfcLogger.cpp:86–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84
85template <typename T>
86std::basic_string<T> string_as(const std::string& string) {
87 std::basic_string<T> result;
88 result.assign(string.begin(), string.end());
89 return result;
90}
91
92template <typename T>
93void json_message(T& out, const IfcUtil::IfcBaseClass* current_product, Logger::Severity type, const std::string& message, const IfcUtil::IfcBaseInterface* instance) {

Callers

nothing calls this directly

Calls 3

assignMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected