Functor vil_nitf2_field_value_greater_than defines a comparison predicate that sets its out parameter to true if a specified field from a field sequence is found and its value is greater than a specified threshold. More...
#include <vil_nitf2_field_functor.h>
Public Member Functions | |
vil_nitf2_field_value_greater_than (vcl_string tag, T threshold) | |
vil_nitf2_field_functor< bool > * | copy () const |
bool | operator() (vil_nitf2_field_sequence *record, const vil_nitf2_index_vector &indexes, bool &result) |
Private Attributes | |
vcl_string | tag |
T | threshold |
Functor vil_nitf2_field_value_greater_than defines a comparison predicate that sets its out parameter to true if a specified field from a field sequence is found and its value is greater than a specified threshold.
The predicate returns whether the field was found.
Definition at line 166 of file vil_nitf2_field_functor.h.
vil_nitf2_field_value_greater_than< T >::vil_nitf2_field_value_greater_than | ( | vcl_string | tag, |
T | threshold | ||
) | [inline] |
Definition at line 169 of file vil_nitf2_field_functor.h.
vil_nitf2_field_functor<bool>* vil_nitf2_field_value_greater_than< T >::copy | ( | ) | const [inline, virtual] |
Implements vil_nitf2_field_functor< bool >.
Definition at line 172 of file vil_nitf2_field_functor.h.
bool vil_nitf2_field_value_greater_than< T >::operator() | ( | vil_nitf2_field_sequence * | record, |
const vil_nitf2_index_vector & | indexes, | ||
bool & | result | ||
) | [inline, virtual] |
Implements vil_nitf2_field_functor< bool >.
Definition at line 175 of file vil_nitf2_field_functor.h.
vcl_string vil_nitf2_field_value_greater_than< T >::tag [private] |
Definition at line 187 of file vil_nitf2_field_functor.h.
T vil_nitf2_field_value_greater_than< T >::threshold [private] |
Definition at line 188 of file vil_nitf2_field_functor.h.