Object TTreeMapCursor

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TTreeMapCursor = object(TObject)

Description

Hierarchy

  • TObject
  • TTreeMapCursor

Overview

Methods

Public function Equals(const Cursor: TTreeMapCursor) : Boolean; inline;
Public function HasItem: Boolean; inline;
Public constructor Init(Map : TAbstractTreeMap; AnEntry: Pointer = nil);
Public function IsFirst: Boolean; inline;
Public function IsLast: Boolean; inline;
Public function IsNil: Boolean; inline;
Public procedure MoveNext; inline;
Public procedure MovePrevious; inline;

Properties

Public property TreeMap : TAbstractTreeMap read fTreeMap;
Public property Entry : Pointer read fEntry write fEntry;

Description

Methods

Public function Equals(const Cursor: TTreeMapCursor) : Boolean; inline;

Check if the cursors designate the same item.

Public function HasItem: Boolean; inline;

Check if the cursors designate an item.

Public constructor Init(Map : TAbstractTreeMap; AnEntry: Pointer = nil);

Constructor.

Public function IsFirst: Boolean; inline;

Returns true if the cursor designates the first element.

Public function IsLast: Boolean; inline;

Returns true if the cursor designates the last element.

Public function IsNil: Boolean; inline;

Equivalent to (not HasItem).

Public procedure MoveNext; inline;

If cursor is nil then do nothing, else if cursor is last then cursor becomes nil cursor, otherwise move cursor to the next item.

Public procedure MovePrevious; inline;

If cursor is nil then do nothing, else if cursor is first then cursor becomes nil cursor, otherwise move cursor to the previous item.

Properties

Public property TreeMap : TAbstractTreeMap read fTreeMap;
 
Public property Entry : Pointer read fEntry write fEntry;

Designated entry.


Generated by PasDoc 0.13.0 on 2014-07-29 16:12:40