MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / ItemList

Class ItemList

src/common/classes/tree.h:284–302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282 class NodeList;
283
284 class ItemList : public SortedVector<Value, LEAF_COUNT, Key, KeyOfValue, Cmp>
285 {
286 public:
287 NodeList* parent;
288 ItemList* next;
289 ItemList* prev;
290
291 // Adds newly created item to doubly-linked list
292 ItemList(ItemList* items)
293 : parent(nullptr)
294 {
295 if ((next = items->next))
296 next->prev = this;
297 prev = items;
298 items->next = this;
299 }
300 // Create first item in the linked list
301 ItemList() : parent(nullptr), next(nullptr), prev(nullptr) {}
302 };
303
304 union NodePtr
305 {

Callers 1

addMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected