TRUE if the given C++ test function returns TRUE.
More...
#include <efilter.hxx>


Public Member Functions | |
| entity_test_filter (entity_test_proc proc) | |
C++ constructor, creating an entity_test_filter using the specified parameters. | |
| 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 *e) const |
Tests the child filter, This method returns TRUE if and only if the child function returns TRUE. | |
TRUE if the given C++ test function returns TRUE.
Role: This class is a filter that returns TRUE if the given C++ test function returns TRUE.
| entity_test_filter::entity_test_filter | ( | entity_test_proc | proc | ) |
C++ constructor, creating an entity_test_filter using the specified parameters.
| proc | test procedure. |
| void entity_filter::increment_use | ( | ) | [inline, inherited] |
Increments the use count for an entity_filter.
Role: This object is not destroyed while users still exist.
| void entity_filter::lose | ( | ) | [inherited] |
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_test_filter::test | ( | const ENTITY * | e | ) | const [virtual] |
Tests the child filter, This method returns TRUE if and only if the child function returns TRUE.
| e | entity. |
Implements entity_filter.