MCPcopy Create free account
hub / github.com/crownengine/crown / from_string_id

Method from_string_id

src/core/strings/dynamic_string.cpp:20–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18}
19
20void DynamicString::from_string_id(const StringId32 &id)
21{
22 array::resize(_data, STRING_ID32_BUF_LEN);
23 id.to_string(array::begin(_data), STRING_ID32_BUF_LEN);
24 array::pop_back(_data);
25}
26
27void DynamicString::from_string_id(const StringId64 &id)
28{

Callers 10

test_dynamic_stringFunction · 0.80
destination_pathFunction · 0.80
stream_destination_pathFunction · 0.80
parse_geometriesFunction · 0.80
parse_nodeFunction · 0.80
parse_geometriesFunction · 0.80
parse_nodeFunction · 0.80
write_data_indexFunction · 0.80
write_data_mtimesFunction · 0.80
write_data_dependenciesFunction · 0.80

Calls 3

to_stringMethod · 0.80
resizeFunction · 0.50
beginFunction · 0.50

Tested by 1

test_dynamic_stringFunction · 0.64