19 if (field !=
nullptr) {
21 bool is_string_value = record->
get_value(
tag, indexes, value,
true);
22 if (is_string_value) {
25 result = !value.empty();
43 bool found = record->
get_value(
tag, indexes, value1,
true);
57 value = value1 * value2;
bool operator()(vil_nitf2_field_sequence *record, const vil_nitf2_index_vector &indexes, int &value) override
vil_nitf2_field_definition * find_field_definition(const std::string &tag)
vil_nitf2_field * get_field(const std::string &tag) const
bool use_zero_if_tag_not_found
bool operator()(vil_nitf2_field_sequence *record, const vil_nitf2_index_vector &indexes, int &value) override
bool operator()(vil_nitf2_field_sequence *record, const vil_nitf2_index_vector &indexes, bool &result) override
bool get_value(std::string tag, int &out_value) const
Functors used by NITF classes.