### 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::applyTo returns false.
  - IContainerControl::allObjectsDo has called applyTo for all the objects in the container.

### IContainerControl::Iterator - Member Functions and Data by Group

### Constructors & Destructor

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

~Iterator

      public:
      virtual ~Iterator()

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

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.

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

  - None

#### Inherited Public Data

  - None

#### Inherited Protected Functions

  - None

#### Inherited Protected Data

  - None