CAST II Game Engine |
||||||||
![]() |
MAIN | FEATURES | SCREENSHOTS | FORUMS | MANUAL | DOWNLOADS | CONTACTS | |
(C) 2006 George "Mirage" Bakhtadze. www.casteng.com
The source code may be used under either MPL 1.1 or LGPL 2.1 license. See included license.txt file
Created May 30, 2006
Unit contains basic container classes
| Name | Description |
|---|---|
Class TBaseUniqueItem | |
Class TPointerPointerMap | Pointer to pointer hash map |
Class TQueue | |
Class TReferencedItem | |
Class TReferencedItemManager | |
Class TSampledData | |
Class TSampledFloats | |
Class TSampledGradient | |
Class TTempContainer | |
Class TUniqueItemCollection |
CReferencedItem = of TReferencedItem; |
KeyType = Pointer; |
TKeyLocation = packed record Index1, Index2: Integer; end; |
TKeyValuePair = packed record Key: KeyType; Value: ValueType; end; |
TPointerHashFunction = function(Key: KeyType): Integer of object; |
TPointerPointerDoFunction = function(Key: KeyType; Value: ValueType): Boolean of object; |
TValueStore = packed record Count: Integer; Data: array of TKeyValuePair; end; |
ValueType = Pointer; |
CReferencedItem = of TReferencedItem; |
KeyType = Pointer; |
Pointer-to-pointer map key type
TKeyLocation = packed record Index1, Index2: Integer; end; |
Hash map key location data structure
TKeyValuePair = packed record Key: KeyType; Value: ValueType; end; |
Hash map key-value pair
TPointerHashFunction = function(Key: KeyType): Integer of object; |
Hash function delegate
TPointerPointerDoFunction = function(Key: KeyType; Value: ValueType): Boolean of object; |
Hash map action delegate
TValueStore = packed record Count: Integer; Data: array of TKeyValuePair; end; |
Data structure to store values of hash map
ValueType = Pointer; |
Pointer-to-pointer map value type
DefaultHashmapCapacity = 16; |
DefaultHashmapCapacity = 16; |
Default capacity for hash map containers
|
Last modified: Jan 6, 2010 |