MCPcopy Create free account
hub / github.com/Norbyte/ositools / Iterate

Method Iterate

OsiInterface/DivBaseTypes.h:178–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176
177 template <class Visitor>
178 void Iterate(Visitor visitor)
179 {
180 for (uint32_t bucket = 0; bucket < HashSize; bucket++) {
181 Node * item = HashTable[bucket];
182 while (item != nullptr) {
183 visitor(item->Key, item->Value);
184 item = item->Next;
185 }
186 }
187 }
188 };
189
190 template <class ValueType>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected