Home

entity_filter Class Reference
[Entity Operations]

Provides generic methods and data for all filters. More...

#include <efilter.hxx>

Inheritance diagram for entity_filter:

Inheritance graph
[legend]
Collaboration diagram for entity_filter:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 entity_filter ()
 C++ constructor, creating an entity_filter.
void increment_use ()
 Increments the use count for an entity_filter.
void lose ()
 Posts a delete bulletin to the bulletin board indicating the instance is no longer used in the active model.
virtual logical test (const ENTITY *filter) const =0
 Tests the entity_filter.


Detailed Description

Provides generic methods and data for all filters.


Role: This class is the base class for providing filters. Derived classes include entity_and_filter, entity_binary_filter, entity_color_filter, entity_not_filter, entity_or_filter, and entity_test_filter.

See also:
entity_binary_filter, entity_not_filter

Constructor & Destructor Documentation

entity_filter::entity_filter (  ) 

C++ constructor, creating an entity_filter.


Member Function Documentation

void entity_filter::increment_use (  )  [inline]

Increments the use count for an entity_filter.



Role: This object is not destroyed while users still exist.

void entity_filter::lose (  ) 

Posts a delete bulletin to the bulletin board indicating the instance is no longer used in the active model.



Role: The lose methods for attached attributes are also called.

virtual logical entity_filter::test ( const ENTITY filter  )  const [pure virtual]

Tests the entity_filter.



Parameters:
filter entity filter.

Implemented in entity_binary_filter, entity_or_filter, entity_and_filter, entity_not_filter, and entity_test_filter.