Module va_toolbox.linked_list

Implementation of the Amiga linked lists in D

Functions

NameDescription
addNodeSorted(listHead, node) addNodeSorted -- insert a node into a list by ln_Priority field
findNode(list, name) findNode -- find a node by name
makeHead() Generator to create a ListHead on heap
makeHead(type, name) Generator to create a ListHead on heap
makeNode() Generator to create a ListNode on heap, optionally setting other fields
makeNode(type, pri, name) Generator to create a ListNode on heap, optionally setting other fields
makeNode(block) Generator to create a ListHead on heap - we use the generic template constuctor

Structs

NameDescription
LinkedList * NOTE: * We use and propose short prefixes for structure elements. This allows * simple specific search, or later replacement. You should use this for your * code too.

Enums

NameDescription
ListNodeType Type definitions for 'extended' LinkedListNodes

Templates

NameDescription
LinkListHeadExtras The type and the human readable name of the list head.
LinkListNodeExtras The type and the human readable name of the list node.