entity_test_filter
List of: Classes
Subjects: Filtering
Contents: Kernel

Purpose: Returns TRUE if the given C++ test function returns TRUE.

Derivation: entity_test_filter : entity_filter : ACIS_OBJECT : -

Filename: kern/kernel/geomhusk/efilter.hxx

Description: This class is a filter that returns TRUE if the given C++ test function returns TRUE.

Data: protected entity_test_proc the_Test_Proc;

The C++ test function.

Constructor: public: entity_test_filter::entity_test_filter (


entity_test_proc proc // test procedure


);


C++ constructor, creating an entity_test_filter using the specified parameters.


This type of filter has a procedure that takes an ENTITY* as an argument and returns TRUE or FALSE. One way to use this filter is to pass one of the is_TYPE procedures defined in the acistype.hxx file as the test procedure to test for entities of a given type.



Methods: public: virtual logical entity_test_filter::test (


const ENTITY* // entity


) const;


Tests the child filter. This method returns TRUE if and only if the child function returns TRUE.
PDF/KERN/31CLE.PDF
HTM/DATA/KERN/KERN/31CLE/0014.HTM