Class TExContainerType
Unit
rjExCardinalList
Declaration
type TExContainerType = class(TBase04List
)
Description
Base class for TCardinalList
.Hierarchy
TBase04List
> TExList
> TExContainer
> TErrorObject
Fields
None.
Methods
Overview
Description
function ExistAllNumbers(const ANumbers: array of TExNumberType): Boolean; |
Returns True
if all of the ANumbers
in the array exist in the Items' Number Elements of the container, otherwise returns False
. Comparison starts with the first Item.
function ExistAnyNumbers(const ANumbers: array of TExNumberType): Boolean; |
Returns True
if at least one of the ANumbers
in the array exists in the Items' Number Elements of the container, otherwise returns False
. Comparison starts with the first Item.
function ExistsBackFromNumber(const Item: Pointer; const Number: TExNumberType): Boolean; |
function ExistsBackNumber(const ANumber: TExNumberType): Boolean; |
Returns True if ANumber
exists among the Items' Number Elements of the container, otherwise returns False. Comparison starts with the last Item.
function ExistsFromNumber(const Item: Pointer; const Number: TExNumberType): Boolean; |
Returns True if ANumber
exists among the Items' Number Elements of the container, otherwise returns False. Comparison starts with the first Item.
Returns the Number Element of the first Item in the container.
Returns the Number Element of the last Item in the container.
Returns the Number Element of the Item pointed to by Item
.
function InsertNumberAfter(const Item: Pointer; const Number: TExNumberType): Pointer; |
function InsertNumberBefore(const Item: Pointer; const Number: TExNumberType): Pointer; |
function InsertNumberFirst(const Number: TExNumberType): Pointer; |
Removes all Items whose Number Element is the same as ANumber
from the container.
Removes all Items whose Number Element is the same as ANumber
from the container starting at the last Item.
Stores Number
to the Number Element of the first Item in the container.
Stores Number
to the Number Element of the last Item in the container.
procedure SetNumber(const Item: Pointer; const Number: TExNumberType); |
Stores Number
to the Number Element of the Item pointed to by Item
.
Sorts all Items in the container by their Number Element in ascending order.
procedure SortByNumberDesc; |
Sorts all Items in the container by their Number Element in descending order.
Properties
Overview
Description
Reads or modifies the Number Element of the first Item in the container.
Reads or modifies the Number Element of the last Item in the container.
Reads or writes the Number Element of the Item pointed to by Item
.
rjExContainer Library Version 0.2.
Copyright Ralf Junker 2000-2001.
http://www.zeitungsjunge.de/delphi/.