IContainerControl::Iterator

The IContainerControl::Iterator class applies a function to the container's objects. To perform a function on the objects of the container, derive a class from IContainerControl::Iterator and implement the behavior of IContainerControl::Iterator::applyTo. Next, call IContainerControl::allObjectsDo with an object of this class. allObjectsDo calls applyTo on each object until one of the following occurs:


IContainerControl::Iterator - Member Functions and Data by Group

Constructors & Destructor

You cannot construct objects of this class because it is an abstract base class.


[view class]
~Iterator
public:
virtual ~Iterator()

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
Iterator
public:
Iterator()

You can not construct objects of this class because it is an abstract base class.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Filter Behavior

Use these members apply a behavior to all objects in a container.


[view class]
applyTo
public:
virtual bool applyTo(IContainerObject* object) = 0

If the iteration is to continue, true is returned. If the iteration is to stop, false is returned.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


IContainerControl::Iterator - Inherited Member Functions and Data

Inherited Public Functions

Inherited Public Data

Inherited Protected Functions

Inherited Protected Data