Public Member Functions | Private Attributes
vil_nitf2_field_value_greater_than< T > Class Template Reference

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>

Inheritance diagram for vil_nitf2_field_value_greater_than< T >:
Inheritance graph
[legend]

List of all members.

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
threshold

Detailed Description

template<typename T>
class vil_nitf2_field_value_greater_than< T >

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.


Constructor & Destructor Documentation

template<typename T >
vil_nitf2_field_value_greater_than< T >::vil_nitf2_field_value_greater_than ( vcl_string  tag,
threshold 
) [inline]

Definition at line 169 of file vil_nitf2_field_functor.h.


Member Function Documentation

template<typename T >
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.

template<typename T >
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.


Member Data Documentation

template<typename T >
vcl_string vil_nitf2_field_value_greater_than< T >::tag [private]

Definition at line 187 of file vil_nitf2_field_functor.h.

template<typename T >
T vil_nitf2_field_value_greater_than< T >::threshold [private]

Definition at line 188 of file vil_nitf2_field_functor.h.


The documentation for this class was generated from the following file: