|
ORIGINAL
|
A filter that checks if an element is less than a target value. More...
#include <filter.h>


Public Member Functions | |
| lessFilter (const TYPE &low) | |
| Constructs a lessFilter with the target value. | |
| lessFilter * | clone () const override |
| Clones the lessFilter object. | |
Public Member Functions inherited from original::filter< TYPE > | |
| ~filter () override=default | |
| Virtual destructor for the filter class. | |
| 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. | |
Additional Inherited Members | |
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. | |
A filter that checks if an element is less than a target value.
| TYPE | Type of the element to match |
This filter compares an element to a target value and returns true if the element is less than the target.
Constructs a lessFilter with the target value.
| low | The value to compare elements against. |
|
overridevirtual |
Clones the lessFilter object.
Reimplemented from original::filter< TYPE >.