ORIGINAL
|
A filter that checks if an element is greater than a target value. More...
#include <filter.h>
Public Member Functions | |
greaterFilter (const TYPE &high) | |
Constructs a greaterFilter with the target value. | |
greaterFilter * | clone () const override |
Clones the greaterFilter object. | |
![]() | |
~filter () override=default | |
Virtual destructor for the filter class. | |
bool | operator() (const TYPE &t) const |
Applies the filter to the element. | |
![]() | |
~cloneable () override=default | |
Virtual destructor for cloneable. | |
![]() | |
virtual | ~baseCloneable ()=default |
Virtual destructor for baseCloneable. | |
Additional Inherited Members | |
![]() | |
cloneable ()=default | |
Default constructor for cloneable. | |
![]() | |
baseCloneable ()=default | |
Default constructor for baseCloneable. | |
A filter that checks if an element is greater 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 greater than the target.
|
explicit |
Constructs a greaterFilter with the target value.
high | The value to compare elements against. |
|
overridevirtual |
Clones the greaterFilter object.
Reimplemented from original::filter< TYPE >.