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

Class TExContainerType

Unit

rjExAnsiStringAnsiDict

Declaration

type TExContainerType = class(TBase04AnsiCSDict)

Description

Base class for TAnsiStringAnsiCSHash.

Hierarchy

TBase04AnsiCSDict > TExAnsiCSDict > TExAnsiDict > TExAbstractDictHash > TExContainer > TErrorObject

Fields

None.

Methods

Overview

constructor Create; override;
function GetNameOfKey(const AKey: TExKeyType): TExNameType;
function GetNameOfKeyBuf(const Buffer: Pointer; const BufferSize: Cardinal): TExNameType;
function GetPNameOfKey(const AKey: TExKeyType): PExNameType;
function GetPNameOfKeyBuf(const Buffer: Pointer; const BufferSize: Cardinal): PExNameType;
function InsertNameByKey(const AKey: TExKeyType; const AName: TExNameType): Pointer;
procedure SetNameOfKey(const AKey: TExKeyType; const AName: TExNameType);
procedure SetNameOfKeyBuf(const Buffer: Pointer; const BufferSize: Cardinal; const AName: TExNameType);
procedure SetPNameOfKey(const AKey: TExKeyType; const AName: PExNameType);
procedure SetPNameOfKeyBuf(const Buffer: Pointer; const BufferSize: Cardinal; const AName: PExNameType);

Description

constructor Create; override;

Creates an instance of TExContainerType.

function GetNameOfKey(const AKey: TExKeyType): TExNameType;

Locates the Item with key equal to AKey. If found, returns the Item's Name Element, otherwise '' (empty string).

function GetNameOfKeyBuf(const Buffer: Pointer; const BufferSize: Cardinal): TExNameType;

Locates the Item with key equal to Buffer. If found, returns the Item's Name Element, otherwise '' (empty string).

function GetPNameOfKey(const AKey: TExKeyType): PExNameType;

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

function GetPNameOfKeyBuf(const Buffer: Pointer; const BufferSize: Cardinal): PExNameType;

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

function InsertNameByKey(const AKey: TExKeyType; const AName: TExNameType): Pointer;

Inserts a new Item into the container and stores AName to the new Item's Name element.

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

procedure SetNameOfKey(const AKey: TExKeyType; const AName: TExNameType);

Locates the Item with key equal to AKey. If found, stores the Name pointed to by AName to the Item's Name element. Otherwise, does not store the name.

procedure SetNameOfKeyBuf(const Buffer: Pointer; const BufferSize: Cardinal; const AName: TExNameType);

Locates the Item with key equal to Buffer. If found, stores the Name pointed to by AName to the Item's Name element. Otherwise, does not store the name.

procedure SetPNameOfKey(const AKey: TExKeyType; const AName: PExNameType);

Locates the Item with key equal to AKey. If found, SetPNameOfKey stores AName to the Item's Name element. Otherwise, SetPNameOfKey does nothing.

procedure SetPNameOfKeyBuf(const Buffer: Pointer; const BufferSize: Cardinal; const AName: PExNameType);

Locates the Item with key equal to Buffer. If found, SetPNameOfKeyBuf stores AName to the Item's Name element. Otherwise, SetPNameOfKeyBuf does nothing.

Properties

Overview

NameOfKey[const AKey: TExKeyType]: TExNameType;
NameOfKeyBuf[const Buffer: Pointer; const BufferSize: Cardinal]: TExNameType;
PNameOfKey[const AKey: TExKeyType]: PExNameType;
PNameOfKeyBuf[const Buffer: Pointer; const BufferSize: Cardinal]: PExNameType;

Description

NameOfKey[const AKey: TExKeyType]: TExNameType;

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

NameOfKeyBuf[const Buffer: Pointer; const BufferSize: Cardinal]: TExNameType;

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

PNameOfKey[const AKey: TExKeyType]: PExNameType;

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

PNameOfKeyBuf[const Buffer: Pointer; const BufferSize: Cardinal]: PExNameType;

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


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