|
ORIGINAL
|
Base class for filter operations. More...
#include <filter.h>


Public Member Functions | |
| ~filter () override=default | |
| Virtual destructor for the filter class. | |
| filter * | clone () const override |
| Clones the filter object. | |
| bool | operator() (const TYPE &t) const |
| Applies the filter to the element. | |
Public Member Functions inherited from original::cloneable | |
| ~cloneable () override=default | |
| Virtual destructor for cloneable. | |
Public Member Functions inherited from original::baseCloneable< cloneable > | |
| virtual | ~baseCloneable ()=default |
| Virtual destructor for baseCloneable. | |
Protected Member Functions | |
| virtual bool | match (const TYPE &t) const |
| Determines if an element matches the filter condition. | |
Protected Member Functions inherited from original::cloneable | |
| cloneable ()=default | |
| Default constructor for cloneable. | |
Protected Member Functions inherited from original::baseCloneable< cloneable > | |
| baseCloneable ()=default | |
| Default constructor for baseCloneable. | |
Base class for filter operations.
| TYPE | Type of the element to match |
This class provides the interface for performing match operations on an element of type TYPE. Derived classes should implement the match method for specific matching logic. The operator() method is used to invoke the match method.
|
overridevirtual |
Clones the filter object.
Reimplemented from original::baseCloneable< cloneable >.
Reimplemented in original::notEqualFilter< TYPE >, original::lessFilter< TYPE >, original::greaterFilter< TYPE >, original::notLessFilter< TYPE >, original::notGreaterFilter< TYPE >, and original::rangeFilter< TYPE >.
|
protectedvirtual |
Determines if an element matches the filter condition.
| t | The element to check. |
true if the element matches the filter, false otherwise. | bool original::filter< TYPE >::operator() | ( | const TYPE & | t | ) | const |
Applies the filter to the element.
| t | The element to check. |
true if the element matches the filter, false otherwise.