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

vil_nitf2_max_field_value_plus_offset_and_threshold Class Reference

#include <vil_nitf2_field_functor.h>

Inheritance diagram for vil_nitf2_max_field_value_plus_offset_and_threshold:

Inheritance graph
[legend]
List of all members.

Detailed Description

Functor vil_nitf2_max_field_value_plus_offset_and_threshold defines a function that sets its out parameter to either the value of a specified field plus an offset, or a specified minimum value, whichever is greater.

The function returns whether the field was found.

Definition at line 138 of file vil_nitf2_field_functor.h.

Public Member Functions

 vil_nitf2_max_field_value_plus_offset_and_threshold (vcl_string tag, int offset, int min_threshold=0, int tag_factor=1)
vil_nitf2_field_functor< int > * copy () const
bool operator() (vil_nitf2_field_sequence *record, const vil_nitf2_index_vector &indexes, int &value)

Private Attributes

vcl_string tag
int offset
int min_threshold
int tag_factor


Constructor & Destructor Documentation

vil_nitf2_max_field_value_plus_offset_and_threshold::vil_nitf2_max_field_value_plus_offset_and_threshold vcl_string  tag,
int  offset,
int  min_threshold = 0,
int  tag_factor = 1
[inline]
 

Definition at line 141 of file vil_nitf2_field_functor.h.


Member Function Documentation

vil_nitf2_field_functor<int>* vil_nitf2_max_field_value_plus_offset_and_threshold::copy  )  const [inline, virtual]
 

Implements vil_nitf2_field_functor< int >.

Definition at line 145 of file vil_nitf2_field_functor.h.

bool vil_nitf2_max_field_value_plus_offset_and_threshold::operator() vil_nitf2_field_sequence record,
const vil_nitf2_index_vector indexes,
int &  value
[virtual]
 

Implements vil_nitf2_field_functor< int >.

Definition at line 39 of file vil_nitf2_field_functor.cxx.


Member Data Documentation

int vil_nitf2_max_field_value_plus_offset_and_threshold::min_threshold [private]
 

Definition at line 155 of file vil_nitf2_field_functor.h.

int vil_nitf2_max_field_value_plus_offset_and_threshold::offset [private]
 

Definition at line 154 of file vil_nitf2_field_functor.h.

vcl_string vil_nitf2_max_field_value_plus_offset_and_threshold::tag [private]
 

Definition at line 153 of file vil_nitf2_field_functor.h.

int vil_nitf2_max_field_value_plus_offset_and_threshold::tag_factor [private]
 

Definition at line 156 of file vil_nitf2_field_functor.h.


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