Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

vil_nitf2_field_value_greater_than< T > Class Template Reference

#include <vil_nitf2_field_functor.h>

Inheritance diagram for vil_nitf2_field_value_greater_than< T >:

Inheritance graph
[legend]
List of all members.

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.

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


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 186 of file vil_nitf2_field_functor.h.

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

Definition at line 187 of file vil_nitf2_field_functor.h.


The documentation for this class was generated from the following file:
Generated on Thu Jan 10 14:40:12 2008 for core/vil by  doxygen 1.4.4