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

TtiVisited

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

The class that gets visited

Declaration

Source position: tiVisitor.pas line 109

type TtiVisited = class(TtiBaseObject) end;

protected

  function GetCaption; virtual;

  procedure IterateTopDownRecurse();

  procedure IterateTopDownSinglePass();

  procedure IterateBottomUpSinglePass();

  procedure IterateAssignTouched(); virtual;

  procedure IterateRecurse(); virtual;

  procedure IterateOverList();

  procedure TouchMethodAddToList();

  procedure TouchMethodExecuteVisitor();

  procedure ExecuteVisitor();

  function GetTerminated; virtual;

  function ContinueVisiting(); virtual;

  function CheckContinueVisitingIfTopDownRecurse(); virtual;

  function TIOPFManager; virtual;

published

  property Caption: string; [r]

  

A short text description of the object.

public

  constructor Create; virtual;

  procedure Iterate(); overload;

  

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

  procedure FindAllByClassType();

  

Find all the objects that are of a given class type.

  property Terminated: Boolean; [r]

Inheritance

TtiVisited

  

The class that gets visited

|

TtiBaseObject,IInterface

|

TObject

Description

TtiVisited implements the Iterate method, which will pass a tiVisitor over every node in the graph of objects. Object instances exposed as published properties will be touched by the TtiVisitor. Objects contained in a published TList will also be touched.


Documentation generated on: 2017-08-16