» » DIContainers 5.6.2.D7-XE10


DIContainers 5.6.2.D7-XE10

Author: Loreal on 27-10-2015, 17:33, views: 596

DIContainers 5.6.2.D7-XE10
DIContainers 5.6.2.D7-XE10 | 10 Mb

DIContainers is a collection of more than 100 different container classes for Borland / CodeGear Delphi.

Four different container structures are available:

Hash containers
Doubly-linked lists
N-ary trees
Vector containers

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.


Category: Delphi

Dear visitor, you are browsing our website as Guest.
We strongly recommend you to register and login to view hidden contents.
Would you like to leave your comment? Please Login to your account to leave comments. Don't have an account? You can create a free account now.