MCPcopy Create free account
hub / github.com/KhronosGroup/OpenCOLLADA / str

Method str

DAEValidator/library/src/DaeValidator.cpp:53–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51 {}
52
53 string str() const
54 {
55 stringstream s;
56 for (const auto & entry : table)
57 {
58 if (mSize < (get<0>(entry) * 1024))
59 {
60 s << round(mSize / static_cast<double>(get<0>(entry))) << get<1>(entry);
61 break;
62 }
63 }
64 return s.str();
65 }
66
67 private:
68 size_t mSize = 0;

Callers 15

usageMethod · 0.80
for_each_daeMethod · 0.80
checkSchemaMethod · 0.80
operator <Method · 0.80
pathFileMethod · 0.80
ParseMethod · 0.80
Uri.cppFile · 0.80
TEST_METHODFunction · 0.80
ToStringFunction · 0.80
Version>Method · 0.80
TEST_METHODFunction · 0.80
toAsciiMethod · 0.80

Calls

no outgoing calls

Tested by 4

TEST_METHODFunction · 0.64
ToStringFunction · 0.64
Version>Method · 0.64
TEST_METHODFunction · 0.64