Units
Classes, Interfaces, Objects
Types
Variables
Constants
Functions, Procedures
Identifiers

Class TExContainerType

Unit

rjExCardinal2AnsiDict

Declaration

type TExContainerType = class(TCardinalBase04AnsiCSDict)

Description

Base class for TCardinal2AnsiCSDict.

Hierarchy

TCardinalBase04AnsiCSDict > TCardinalAnsiCSDict > TExContainerType > TBase04AnsiCSDict > TExAnsiCSDict > TExAnsiDict > TExAbstractDictHash > TExContainer > TErrorObject

Fields

None.

Methods

Overview

function GetNumber2OfKey(const AKey: TExKeyType): TExNumber2Type;
function GetNumber2OfKeyBuf(const Buffer: Pointer; const BufferSize: Cardinal): TExNumber2Type;
function GetPNumber2OfKey(const AKey: TExKeyType): PExNumber2Type;
function GetPNumber2OfKeyBuf(const Buffer: Pointer; const BufferSize: Cardinal): PExNumber2Type;
function InsertNumber2ByKey(const AKey: TExKeyType; const ANumber2: TExNumber2Type): Pointer;
function InsertNumberNumber2ByKey(const AKey: TExKeyType; const ANumber: TExNumberType; const ANumber2: TExNumber2Type): Pointer;
procedure SetNumber2OfKey(const AKey: TExKeyType; const ANumber2: TExNumber2Type);
procedure SetNumber2OfKeyBuf(const Buffer: Pointer; const BufferSize: Cardinal; const ANumber2: TExNumber2Type);
procedure SetPNumber2OfKey(const AKey: TExKeyType; const ANumber2: PExNumber2Type);
procedure SetPNumber2OfKeyBuf(const Buffer: Pointer; const BufferSize: Cardinal; const ANumber2: PExNumber2Type);

Description

function GetNumber2OfKey(const AKey: TExKeyType): TExNumber2Type;

Locates the Item with key equal to AKey. If found, returns the Item's Number2 Element, otherwise 0 (zero).

function GetNumber2OfKeyBuf(const Buffer: Pointer; const BufferSize: Cardinal): TExNumber2Type;

Locates the Item with key equal to Buffer. If found, returns the Item's Number2 Element, otherwise 0 (zero).

function GetPNumber2OfKey(const AKey: TExKeyType): PExNumber2Type;

Locates the Item with key equal to AKey. If found, returns a pointer to the Item's Number2 Element, otherwise nil.

function GetPNumber2OfKeyBuf(const Buffer: Pointer; const BufferSize: Cardinal): PExNumber2Type;

Locates the Item with key equal to Buffer. If found, returns a pointer to the Item's Number2 Element, otherwise nil.

function InsertNumber2ByKey(const AKey: TExKeyType; const ANumber2: TExNumber2Type): Pointer;

Inserts a new Item into the container and stores ANumber2 to the new Item's Number2 element.

InsertNumber2ByKey returns a pointer to the new Item. If an Item with AKey is already in the container, no new Item is inserted, ANumber2 is not stored and InsertNumber2ByKey returns nil.

function InsertNumberNumber2ByKey(const AKey: TExKeyType; const ANumber: TExNumberType; const ANumber2: TExNumber2Type): Pointer;

Inserts a new Item into the container and stores ANumber and ANumber2 to the new Item's Number and Number2 elements.

InsertNumberNumber2ByKey returns a pointer to the new Item. If an Item with AKey is already in the container, no new Item is inserted, nothing is stored and InsertNumberNumber2ByKey returns nil.

procedure SetNumber2OfKey(const AKey: TExKeyType; const ANumber2: TExNumber2Type);

Locates the Item with key equal to AKey. If found, SetNumber2OfKey stores ANumber2 to the Item's Number2 element. Otherwise, SetNumber2OfKey does nothing.

procedure SetNumber2OfKeyBuf(const Buffer: Pointer; const BufferSize: Cardinal; const ANumber2: TExNumber2Type);

Locates the Item with key equal to Buffer. If found, SetNumber2OfKeyBuf stores ANumber2 to the Item's Number2 element. Otherwise, SetNumber2OfKeyBuf does nothing.

procedure SetPNumber2OfKey(const AKey: TExKeyType; const ANumber2: PExNumber2Type);

Locates the Item with key equal to AKey. If found, SetPNumber2OfKey stores ANumber2 to the Item's Number2 element. Otherwise, SetPNumber2OfKey does nothing.

procedure SetPNumber2OfKeyBuf(const Buffer: Pointer; const BufferSize: Cardinal; const ANumber2: PExNumber2Type);

Locates the Item with key equal to Buffer. If found, SetPNumber2OfKeyBuf stores ANumber2 to the Item's Number2 element. Otherwise, SetPNumber2OfKeyBuf does nothing.

Properties

Overview

Number2OfKey[const AKey: TExKeyType]: TExNumber2Type;
Number2OfKeyBuf[const Buffer: Pointer; const BufferSize: Cardinal]: TExNumber2Type;
PNumber2OfKey[const AKey: TExKeyType]: PExNumber2Type;
PNumber2OfKeyBuf[const Buffer: Pointer; const BufferSize: Cardinal]: PExNumber2Type;

Description

Number2OfKey[const AKey: TExKeyType]: TExNumber2Type;

Reads or writes the Number2 Element of an Item with key equal to AKey.

Number2OfKeyBuf[const Buffer: Pointer; const BufferSize: Cardinal]: TExNumber2Type;

Reads or writes the Number2 Element of an Item with key equal to Buffer.

PNumber2OfKey[const AKey: TExKeyType]: PExNumber2Type;

Reads or writes the Number2 Element of an Item with key equal to AKey.

PNumber2OfKeyBuf[const Buffer: Pointer; const BufferSize: Cardinal]: PExNumber2Type;

Reads or writes the Number2 Element of an Item with key equal to Buffer.


rjExContainer Library Version 0.2.
Copyright Ralf Junker 2000-2001.
http://www.zeitungsjunge.de/delphi/.