MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / syncKeys

Method syncKeys

base/poco/JSON/src/Object.cpp:98–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96
97
98void Object::syncKeys(const KeyList& keys)
99{
100 if(_preserveInsOrder)
101 {
102 // update iterators in _keys to point to copied _values
103 for(KeyList::const_iterator it = keys.begin(); it != keys.end(); ++it)
104 {
105 ValueMap::const_iterator itv = _values.find((*it)->first);
106 poco_assert (itv != _values.end());
107 _keys.push_back(itv);
108 }
109 }
110}
111
112
113Var Object::get(const std::string& key) const

Callers

nothing calls this directly

Calls 4

beginMethod · 0.45
endMethod · 0.45
findMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected