Využijte prosincové slevy na Delphi a C++Builder:

  • 20% na edice Professional
  • 30% na edice Enterprise
  • 40% na edice Architect

Code Template - Property with Getter and Setter

By TechInsite Pty Ltd.

Freeware + source 29 Jun 2008


Code template which can be use for completing Read-Write and Read-Only properties. Originally it was set up with two points ... one for the property variable ["ident"] and one for it's type ["type"].


  • Status: Fully functional
  • Source: Included
  • Size: 1kB

Platforms: D2005, D2006, D2007

DTL - Delphi Template Library v.0.8

By Pavel Tishkin.

Freeware + source 05 May 2007


DTL (Delphi Template Library) - project which has purpose to create the library of templates for managing of various structures of data. The project has test status and at the current moment contains templates for following containers: stack, queue, deque, priority queue, array, vector, set, multiset, map, multimap which can store any datatypes.


  • Status: Fully functional
  • Source: Included
  • Size: 82kB

Platforms: D2006, D2007

dzTemplates v.1.0.2

By Thomas Mueller.

Freeware + source 15 May 2006


dzTemplates is a set of container pseudo templates for Delphi, Kylix and other Object Pascal compilers. It adds some kind of C++ like templates to the language by using include files.

dzTemplates is a set of type safe containers that can be easily used to store whatever data you want it to store.

The following containers are available:

  • List templates are the most generic containers. They come in two flavours: One that stores anything that can be typecasted into a pointer or an interface and one that assumes the items are descendants of TObject and "owns" them (that is, it will free them in its destructor). There is also an interface declaration for this kind of container (dzListInterfaceTemplate).
    • dzListTemplate / dzObjectListTemplate is the most generic container it stores its items in the order they are added.
    • dzSortedListTemplate / dzSortedObjectListTemplate is based on dzListTemplate and adds a sort order to it. It introduces methods for comparing two items and searching for them with a binary search algorithm. A Duplicates property like the one in TStringList determines what to do with duplicate items.
    • dzIntegerSortedListTemplate / dzIntegerSortedObjectListTemplate is a specialized descendant of dzSortedListTemplate which assumes that its items are sorted by an integer value.
  • dzStackTemplate / dzObjectStackTemplate are both stacks (LIFO = last in first out), again one for storing anything that can be typecasted to a pointer or interface and one for storing TObject descendants.
  • dzQueueTemplate is a queue (FIFO = first in first out) for storing anything that can be typecasted to a pointer or interface. There is currently no dzObjectQueueTemplate but I will add one shortly.
  • dzHashTemplate is a hash or associative array for storing items and accessing them via an associated string.


  • Status: Fully functional
  • Source: Included
  • Size: 69kB

Platforms: D2005, D2006

Script Template Engine OTA Plugin

By Daniel Wischnewski.

Freeware + source 04 Dec 2005


The Borland Developer Studio allows you to extend the template mechanism for the code editor.

This sample shows you a simple Delphi BPL, which needs to be installed into the BDS 2006, and a XML template, which needs to be copied to $(BDS)Objreposcode_templatesdelphi folder.

After installing the Design-Time only BPL into Delphi a new Script Template Engine will be registered. This will work together with the search.xml template. In your Delphi code editor, enter now "search" and press [space]. Now, you can enter your search keywords and press [tab] to start the online search.

The Script Template Engine will allow you to change the search-url in the search.xml file.


  • Status: Fully functional
  • Source: Included
  • Size: 7kB

Platforms: C2k6, D2006