[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'Maps' (#lazutils)

TMapIterator

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Implements an iterator for items in a map.

Declaration

Source position: maps.pp line 175

type TMapIterator = class(TBaseMapIterator)

public

  constructor Create();

  

Constructor for the class instance.

  function DataPtr;

  

Gets the Pointer to the Data in a map item.

  procedure GetData();

  

Gets the Data for a map item.

  procedure GetID();

  

Gets the ID for a map item.

  function Locate();

  

Locates a map item with the specified ID.

  procedure SetData();

  

Sets the Data for a map item.

end;

Inheritance

TMapIterator

  

Implements an iterator for items in a map.

|

TBaseMapIterator

  

Specifies the interface used for map item iterators.

|

TObject

Description

TMapIterator is a TBaseMapIterator descendant that implements an iterator for items in a map. TMapIterator provides methods to initialize the iterator for a map. It also provides methods to read the IDs for map items, and to read and write the Data in map items. TMapIterator also provides an implementation of the Locate method.

See also

TBaseMapIterator

  

Specifies the interface used for map item iterators.


Version 3.2 Generated 2024-02-25 Home