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

TBaseMapIterator.ValidateMap

Ensures that the map for the iterator is still valid.

Declaration

Source position: maps.pp line 146

protected procedure TBaseMapIterator.ValidateMap;

Description

ValidateMap is a procedure used to ensure that the map class for the iterator is still valid. An EInvalidOperation exception is raised if the class instance is unassigned (contains Nil).

Errors

EInvalidOperation is raised if the map class instance is unassigned (contains Nil). Raised with the message 'Map destroyed'.


Version 4.0 Generated 2025-05-03 Home