Object TTreeSetCursor

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TTreeSetCursor = object(TObject)

Description

Hierarchy

  • TObject
  • TTreeSetCursor

Overview

Methods

Public function Equals(const Cursor: TTreeSetCursor) : Boolean;
Public function HasItem: Boolean; inline;
Public constructor Init(TreeSet : TAbstractTreeSet; const APos: TTreeMapCursor);
Public function IsFirst: Boolean; inline;
Public function IsLast: Boolean; inline;
Public function IsNil: Boolean; inline;
Public procedure MoveNext;
Public procedure MovePrevious;

Properties

Public property TreeSet : TAbstractTreeSet read fTreeSet;
Public property Pos : TTreeMapCursor read fPos;

Description

Methods

Public function Equals(const Cursor: TTreeSetCursor) : Boolean;

Check if the cursors designate the same item.

Public function HasItem: Boolean; inline;

Check if the cursors designate an item.

Public constructor Init(TreeSet : TAbstractTreeSet; const APos: TTreeMapCursor);

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;

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;

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 TreeSet : TAbstractTreeSet read fTreeSet;
 
Public property Pos : TTreeMapCursor read fPos;

Designated entry.


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