IContainerControl::FilterFn

The IContainerControl::FilterFn class provides a filter function for container. The container uses a FilterFn object to show a subset of the existing container objects.

When the container calls IContainerControl::filter, an IContainerControl::FilterFn object is passed as input to this function. Thereafter, the container calls IContainerControl::FilterFn_isMemberOf as needed to filter each container object.

Windows Considerations

The native Windows containers (that is, containers constructed without the pmCompatible style) do not support filtering of objects.


IContainerControl::FilterFn - Member Functions and Data by Group

Constructors & Destructor

You can construct and destruct objects of this class.


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

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
FilterFn
public:
FilterFn()

Provides the default constructor.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Object Filtering

Use these members to filter objects from the container.


[view class]
isMemberOf
public:
virtual bool isMemberOf( IContainerObject* object, IContainerControl* container ) const = 0

If the specified object is to remain in the container, true is returned. If the object is to be removed, false is returned.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


IContainerControl::FilterFn - Inherited Member Functions and Data

Inherited Public Functions

Inherited Public Data

Inherited Protected Functions

Inherited Protected Data