Functor vil_nitf2_multiply_field_values defines a function that sets its out parameter to the product of the values of two fields. More...
#include <vil_nitf2_field_functor.h>

Public Member Functions | |
| vil_nitf2_multiply_field_values (std::string tag_1, std::string tag_2, bool use_zero_if_tag_not_found=false) | |
| vil_nitf2_field_functor< int > * | copy () const override |
| bool | operator() (vil_nitf2_field_sequence *record, const vil_nitf2_index_vector &indexes, int &value) override |
Private Attributes | |
| std::string | tag_1 |
| std::string | tag_2 |
| bool | use_zero_if_tag_not_found |
Functor vil_nitf2_multiply_field_values defines a function that sets its out parameter to the product of the values of two fields.
The predicate returns true iff both fields are found or the arg 'use_zero_if_tag_not_found'; in the latter case, the out parameter is set to 0.
Definition at line 112 of file vil_nitf2_field_functor.h.
|
inline |
Definition at line 115 of file vil_nitf2_field_functor.h.
|
inlineoverridevirtual |
Implements vil_nitf2_field_functor< int >.
Definition at line 122 of file vil_nitf2_field_functor.h.
|
overridevirtual |
Implements vil_nitf2_field_functor< int >.
Definition at line 51 of file vil_nitf2_field_functor.cxx.
|
private |
Definition at line 131 of file vil_nitf2_field_functor.h.
|
private |
Definition at line 132 of file vil_nitf2_field_functor.h.
|
private |
Definition at line 133 of file vil_nitf2_field_functor.h.
1.8.15