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

TTypedMapIterator

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

Implements an iterator for items in a map.

Declaration

Source position: maps.pp line 218

type TTypedMapIterator = class(TBaseMapIterator)

public

  constructor Create();

  

Constructor for the class instance.

  procedure GetData();

  

Gets the Data for the map item.

  procedure GetID();

  

Gets the ID for the map item.

  function Locate();

  

Locates a map item with the specified ID.

  procedure SetData();

  

Stores the Data for the map item.

end;

Inheritance

TTypedMapIterator

  

Implements an iterator for items in a map.

|

TBaseMapIterator

  

Specifies the interface used for map item iterators.

|

TObject

Description

TTypedMapIterator is a TMapIterator descendant that implements an iterator for map items with reference counted Type Information in their Data. TTypedMapIterator 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. TTypedMapIterator also provides an implementation of the Locate method.

See also

TMapIterator

  

Implements an iterator for items in a map.


Version 3.2 Generated 2024-02-25 Home