Sign in Join
FPDoc Onlineexperiment

TTypedMapIterator class

In unit Maps

Implements an iterator for items in a map.

Declaration

pascal
TTypedMapIterator = class(TBaseMapIterator)

Inheritance

  1. TTypedMapIterator
  2. TBaseMapIterator
  3. 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

Methods

CreatepublicConstructor for the class instance.
GetDatapublicGets the Data for the map item.
GetIDpublicGets the ID for the map item.
LocatepublicLocates a map item with the specified ID.
SetDatapublicStores the Data for the map item.

Inherited

From TBaseMapIterator (15)

AddToMap BOM Current Destroy EOM First InternalCreate InternalLocate Last Next Previous RemoveFromMap Valid Validate ValidateMap

From TObject (40)

AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.