entity_filter
List of: Classes
Subjects: Filtering
Contents: Kernel

Purpose: Provides generic methods and data for all filters.

Derivation: entity_filter : ACIS_OBJECT : -

Filename: kern/kernel/geomhusk/efilter.hxx

Description: 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.

References: by KERN entity_binary_filter, entity_not_filter

Data: protected int use_Count;

The use count for the entity_filter.

Constructor: public: entity_filter::entity_filter ();


C++ constructor, creating an entity_filter.




Destructor: public: void entity_filter::lose ();


Posts a delete bulletin to the bulletin board indicating the instance is no longer used in the active model. The lose methods for attached attributes are also called.






protected: virtual entity_filter::~entity_filter ();


This C++ destructor should never be called directly, because this references ENTITY items. Instead, applications should use the overloaded lose method inherited from the ENTITY class, because this supports history management.



Methods: public: void entity_filter::increment_use ();


Increment the use count for an entity_filter. This object is not destroyed while users still exist.






public: virtual logical entity_filter::test (


const ENTITY* // entity filter


) const = 0;


Tests the entity_filter.
PDF/KERN/31CLE.PDF
HTM/DATA/KERN/KERN/31CLE/0008.HTM