MCPcopy Create free account
hub / github.com/Cantera/cantera / keys_str

Method keys_str

src/base/AnyMap.cpp:1507–1520  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1505}
1506
1507string AnyMap::keys_str() const
1508{
1509 fmt::memory_buffer b;
1510 auto iter = this->begin();
1511 if (iter != this->end()) {
1512 fmt_append(b, "{}", iter->first);
1513 ++iter;
1514 }
1515 while (iter != this->end()) {
1516 fmt_append(b, ", {}", iter->first);
1517 ++iter;
1518 }
1519 return to_string(b);
1520}
1521
1522set<string> AnyMap::keys() const
1523{

Callers 2

TESTFunction · 0.80
setStateMethod · 0.80

Calls 3

beginMethod · 0.95
endMethod · 0.95
fmt_appendFunction · 0.85

Tested by 1

TESTFunction · 0.64