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

Function to_string_fixed_width

src/serializers/RocksDbSerializer.cpp:116–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114namespace {
115 template <typename T>
116 std::string to_string_fixed_width(const T& t, size_t w) {
117 // @todo currently inactive
118 std::ostringstream oss;
119 oss << /*std::setfill('0') << std::setw(w) <<*/ t;
120 return oss.str();
121 }
122}
123
124void RocksDbSerializer::write_streaming_() {

Callers 1

write_streaming_Method · 0.70

Calls 1

strMethod · 0.45

Tested by

no test coverage detected