TRUE if both of its two child filters return TRUE.
More...
#include <efilter.hxx>


Public Member Functions | |
| entity_and_filter (entity_filter *left, entity_filter *right) | |
| C++ initialize constructor requests memory for this object and populates it with the data supplied as arguments. | |
| 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 both filters. | |
TRUE if both of its two child filters return TRUE.
Role: This class is a binary filter that returns TRUE if both of its two child filters return TRUE.
| entity_and_filter::entity_and_filter | ( | entity_filter * | left, | |
| entity_filter * | right | |||
| ) |
C++ initialize constructor requests memory for this object and populates it with the data supplied as arguments.
| left | left entity filter. | |
| right | right entity filter. |
| 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_and_filter::test | ( | const ENTITY * | e | ) | const [virtual] |
Tests both filters.
Role: This method returns TRUE if both the left and right filters return TRUE; both filters are always tested.
| e | entity. |
Implements entity_binary_filter.