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

TtiVisited.Iterate

Iterate will cause an instance of TtiVisitor to be passed over all objects that are accessable by RTTI as published.

Declaration

Source position: tiVisitor.pas line 171

public procedure TtiVisited.Iterate(

  const AVisitor: TtiVisitor

); overload;

Arguments

AVisitor

  

An instance of the TtiVisitor to be passed over the object graph.

Description

Iterate will cause an instance of TtiVisitor to be passed over all objects that are accessable by RTTI as published.

Note: Do not override Iterate to change the behaviour of your object. Override IterateAssignTouched Instead. Iterate is not called by the VisitorManager, so your overriden method will not execute. Alternatively, you can set the IterationStyle property on the Visitor to change iteration behaviour.


Documentation generated on: 2017-08-16