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

Class TExContainerType

Unit

rjExCardinalAnsiDict

Declaration

type TExContainerType = class(TBase04AnsiCSDict)

Description

Base class for TAnsiStringAnsiCSHash.

Hierarchy

TBase04AnsiCSDict > TExAnsiCSDict > TExAnsiDict > TExAbstractDictHash > TExContainer > TErrorObject

Fields

None.

Methods

Overview

function GetNumberOfKey(const AKey: TExKeyType): TExNumberType;
function GetNumberOfKeyBuf(const Buffer: Pointer; const BufferSize: Cardinal): TExNumberType;
function GetPNumberOfKey(const AKey: TExKeyType): PExNumberType;
function GetPNumberOfKeyBuf(const Buffer: Pointer; const BufferSize: Cardinal): PExNumberType;
function InsertNumberByKey(const AKey: TExKeyType; const ANumber: TExNumberType): Pointer;
procedure SetNumberOfKey(const AKey: TExKeyType; const ANumber: TExNumberType);
procedure SetNumberOfKeyBuf(const Buffer: Pointer; const BufferSize: Cardinal; const ANumber: TExNumberType);
procedure SetPNumberOfKey(const AKey: TExKeyType; const ANumber: PExNumberType);
procedure SetPNumberOfKeyBuf(const Buffer: Pointer; const BufferSize: Cardinal; const ANumber: PExNumberType);

Description

function GetNumberOfKey(const AKey: TExKeyType): TExNumberType;

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

function GetNumberOfKeyBuf(const Buffer: Pointer; const BufferSize: Cardinal): TExNumberType;

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

function GetPNumberOfKey(const AKey: TExKeyType): PExNumberType;

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

function GetPNumberOfKeyBuf(const Buffer: Pointer; const BufferSize: Cardinal): PExNumberType;

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

function InsertNumberByKey(const AKey: TExKeyType; const ANumber: TExNumberType): Pointer;

Inserts a new Item into the container and stores ANumber to the new Item's Number element.

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

procedure SetNumberOfKey(const AKey: TExKeyType; const ANumber: TExNumberType);

Locates the Item with key equal to AKey. If found, SetNumberOfKey stores ANumber to the Item's Number element. Otherwise, SetNumberOfKey does nothing.

procedure SetNumberOfKeyBuf(const Buffer: Pointer; const BufferSize: Cardinal; const ANumber: TExNumberType);

Locates the Item with key equal to Buffer. If found, SetNumberOfKeyBuf stores ANumber to the Item's Number element. Otherwise, SetNumberOfKeyBuf does nothing.

procedure SetPNumberOfKey(const AKey: TExKeyType; const ANumber: PExNumberType);

Locates the Item with key equal to AKey. If found, SetPNumberOfKey stores ANumber to the Item's Number element. Otherwise, SetPNumberOfKey does nothing.

procedure SetPNumberOfKeyBuf(const Buffer: Pointer; const BufferSize: Cardinal; const ANumber: PExNumberType);

Locates the Item with key equal to Buffer. If found, SetPNumberOfKeyBuf stores ANumber to the Item's Number element. Otherwise, SetPNumberOfKeyBuf does nothing.

Properties

Overview

NumberOfKey[const AKey: TExKeyType]: TExNumberType;
NumberOfKeyBuf[const Buffer: Pointer; const BufferSize: Cardinal]: TExNumberType;
PNumberOfKey[const AKey: TExKeyType]: PExNumberType;
PNumberOfKeyBuf[const Buffer: Pointer; const BufferSize: Cardinal]: PExNumberType;

Description

NumberOfKey[const AKey: TExKeyType]: TExNumberType;

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

NumberOfKeyBuf[const Buffer: Pointer; const BufferSize: Cardinal]: TExNumberType;

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

PNumberOfKey[const AKey: TExKeyType]: PExNumberType;

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

PNumberOfKeyBuf[const Buffer: Pointer; const BufferSize: Cardinal]: PExNumberType;

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


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