CAST II Game Engine

   MAIN       FEATURES       SCREENSHOTS       FORUMS       MANUAL       DOWNLOADS       CONTACTS   
Units
Class Hierarchy
Classes, Interfaces and Objects
Types
Enumerations
Variables
Constants
Functions and Procedures
Identifiers

Class TPointerPointerMap

Unit

basecont

Declaration

type TPointerPointerMap = class

Description

Pointer to pointer hash map

A data structure which maps a pointer to another pointer in constant time (O(1))

Fields

 NameDescription
PublicHashFunctionCurrent hash function

Methods

Overview

Publicconstructor Create; overload;
Publicconstructor Create(Capacity: Integer); overload;
Publicprocedure DoForEach(DoFunction: TPointerPointerDoFunction);

Description

Publicconstructor Create; overload;

 

Publicconstructor Create(Capacity: Integer); overload;

 

Publicprocedure DoForEach(DoFunction: TPointerPointerDoFunction);

Calls a delegate for each value stored in the map

Properties

Overview

Publicproperty Capacity: Integer;
Publicproperty Values[const Key: KeyType]: ValueType;

Description

Publicproperty Capacity: Integer;

Determines hash function values range which is currently used.

Publicproperty Values[const Key: KeyType]: ValueType;

Values retrieved by pointer key

Last modified: 26 Oct, 2008
Copyright (C) 2006-2008, casteng.com