GLG Toolkit, C# Class Library  Version 4.6
GlgObjectActionInterfaceExt Interface Reference

Extended custom action interface. More...

Detailed Description

Extended custom action interface.

This object is used as a parameter of the TraverseObjects method and provides a custom action to be performed on each object in a collection of objects.

It extends GlgObjectActionInterface by providing an additional ActionExt method which is invoked after traversing all subobjects of the object.

Inherits GlgObjectActionInterface.

Public Member Functions

bool Action (GlgObject object)
 This method is invoked on each traversed object and provides a custom "enter" action to be performed on the object before traversing its subobjects. More...
 
bool ActionExt (GlgObject object)
 This method is invoked on each traversed object and provides a custom "exit" action to be performed on the object after traversing its subobjects. More...
 

Member Function Documentation

◆ Action()

bool Action ( GlgObject  object)

This method is invoked on each traversed object and provides a custom "enter" action to be performed on the object before traversing its subobjects.

Parameters
objectThe object being entered.
Returns
true to indicate that the object matches, or false otherwise.

Implements GlgObjectActionInterface.

◆ ActionExt()

bool ActionExt ( GlgObject  object)

This method is invoked on each traversed object and provides a custom "exit" action to be performed on the object after traversing its subobjects.

Parameters
objectThe object being exited.
Returns
Reserved for future use, must return true.