MCPcopy Create free account
hub / github.com/couchbase/fleece / iterator

Method iterator

Fleece/Mutable/HeapDict.cc:266–276  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

264
265
266 HeapDict::iterator::iterator(const HeapDict *dict) noexcept
267 :_sourceIter(dict->_source)
268 ,_newIter(dict->_map.begin())
269 ,_newEnd(dict->_map.end())
270 ,_count(dict->count() + 1)
271 ,_sharedKeys(dict->sharedKeys())
272 {
273 getSource();
274 getNew();
275 ++(*this);
276 }
277
278 HeapDict::iterator::iterator(const MutableDict *dict) noexcept
279 :iterator((HeapDict*)HeapCollection::asHeapValue(dict))

Callers

nothing calls this directly

Calls 4

beginMethod · 0.45
endMethod · 0.45
countMethod · 0.45
sharedKeysMethod · 0.45

Tested by

no test coverage detected