Class TXQVCustomList

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TXQVCustomList = class(TObject)

Description

List of TXQValue-s

. Can store any xqvalue, even nested sequences

Hierarchy

  • TObject
  • TXQVCustomList

Overview

Methods

Public constructor create(capacity: integer = 0);
Public destructor Destroy; override;
Public procedure delete(i: integer);
Public function get(i: integer): IXQValue; inline;
Public function last: IXQValue;
Public function first: IXQValue;
Public procedure clear;
Public procedure revert;
Public procedure sort(cmp: TPointerCompareFunction; data: TObject = nil);

Properties

Public property items[i:integer]: IXQValue read get write put;
Public property Count: integer read fcount write setCount;

Description

Methods

Public constructor create(capacity: integer = 0);
 
Public destructor Destroy; override;
 
Public procedure delete(i: integer);

Deletes a value (since it is an interface, the value is freed iff there are no other references to it remaining)

Public function get(i: integer): IXQValue; inline;

Gets a PXQValue from the list.

Public function last: IXQValue;

Last PXQValue from the list.

Public function first: IXQValue;

First PXQValue from the list.

Public procedure clear;
 
Public procedure revert;

Reverts the list

Public procedure sort(cmp: TPointerCompareFunction; data: TObject = nil);

Sorts the list

Properties

Public property items[i:integer]: IXQValue read get write put;
 
Public property Count: integer read fcount write setCount;
 

Generated by PasDoc 0.14.0.