Public Member Functions | Private Attributes
vil_nitf2_max_field_value_plus_offset_and_threshold Class Reference

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. More...

#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.

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

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.


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

Definition at line 155 of file vil_nitf2_field_functor.h.

Definition at line 154 of file vil_nitf2_field_functor.h.

Definition at line 153 of file vil_nitf2_field_functor.h.

Definition at line 156 of file vil_nitf2_field_functor.h.


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