DIContainers 5.8.0 D4 -XE10.2 | 12 Mb
DIContainers is a collection of more than 100 different container classes for Borland / CodeGear Delphi.
Four different container structures are available:
DIContainers is designed with easy customization in mind. Unlike other libraries, it strictly separates a containers’ data and structure:
Data describes an individual item in the container, for example an Integer number. The data layer is mostly responsible to manage the item’s memory, but also for copying, comparing, and streaming of items. Data items in DIContainers are made up of memory efficient Pascal records. Special item handlers take care to initialize and finalize items automatically as required.
Structure describes the arrangement of items within the container, like linked list, linear vector, etc. The structure determines how quickly items can be added, manipulated and retrieved from the container. Using different item handlers, the same structure can provide for quite different containers (see hierarchy on the right). To create a new container for some type of data, it is often sufficient to reuse an already existing item handler or to create a new item handler for the new type of data.
Type. On top of the general container classes, there are many ready-made containers which interface typed access to their items like strings (WideStrings and AnsiStrings), different Number types, Objects, Pointer, and various combinations of the above. More than 100 of these containers are ready to use straight out of the box.
Advanced container operations include cross-container assignment (i.e. from lists to vectors) and cascading streaming.
The graphic to the right shows the class hierarchy of containers contained in DIContainers. Bold font marks important classes like item handlers and structure containers. Their descendant classes in regular font provide typed access to their items. The graphic was automatically created from the DIContainers library by one of the demo applications.
DIContainers 5.8.0 – 3 Apr 2017
Support Delphi 10.2 Tokyo Win32 and Win64.
container, containers, DIContainers, different, items, classes, structure, lists, handlers, Delphi, linked, hierarchy, create, describes, right, Borland, streaming, collection, graphic, memory, container, containers, DIContainers, different, items, classes, structure, lists, linked, Delphi, handlers, describes, automatically, streaming, provide, memory, create, handler, ready, typed