#include <vil_nitf2_field_sequence.h>
Public Member Functions | |
vil_nitf2_field_sequence (const vil_nitf2_field_definitions &field_definitions) | |
virtual | ~vil_nitf2_field_sequence () |
bool | get_value (vcl_string tag, int &out_value) const |
bool | get_value (vcl_string tag, double &out_value) const |
bool | get_value (vcl_string tag, char &out_value) const |
bool | get_value (vcl_string tag, void *&out_value) const |
bool | get_value (vcl_string tag, vcl_string &out_value) const |
bool | get_value (vcl_string tag, vil_nitf2_location *&out_value) const |
bool | get_value (vcl_string tag, vil_nitf2_date_time &out_value) const |
bool | get_value (vcl_string tag, vil_nitf2_tagged_record_sequence &out_value) const |
bool | get_value (vcl_string tag, const vil_nitf2_index_vector &indexes, int &out_value, bool ignore_extra_indexes=false) const |
bool | get_value (vcl_string tag, const vil_nitf2_index_vector &indexes, double &out_value, bool ignore_extra_indexes=false) const |
bool | get_value (vcl_string tag, const vil_nitf2_index_vector &indexes, char &out_value, bool ignore_extra_indexes=false) const |
bool | get_value (vcl_string tag, const vil_nitf2_index_vector &indexes, void *&out_value, bool ignore_extra_indexes=false) const |
bool | get_value (vcl_string tag, const vil_nitf2_index_vector &indexes, vcl_string &out_value, bool ignore_extra_indexes=false) const |
bool | get_value (vcl_string tag, const vil_nitf2_index_vector &indexes, vil_nitf2_location *&out_value, bool ignore_extra_indexes=false) const |
bool | get_value (vcl_string tag, const vil_nitf2_index_vector &indexes, vil_nitf2_date_time &out_value, bool ignore_extra_indexes=false) const |
bool | get_values (vcl_string tag, const vil_nitf2_index_vector &indexes, vcl_vector< int > &out_values, bool clear_out_values=true) const |
bool | get_values (vcl_string tag, const vil_nitf2_index_vector &indexes, vcl_vector< double > &out_values, bool clear_out_values=true) const |
bool | get_values (vcl_string tag, const vil_nitf2_index_vector &indexes, vcl_vector< char > &out_values, bool clear_out_values=true) const |
bool | get_values (vcl_string tag, const vil_nitf2_index_vector &indexes, vcl_vector< void * > &out_values, bool clear_out_values=true) const |
bool | get_values (vcl_string tag, const vil_nitf2_index_vector &indexes, vcl_vector< vcl_string > &out_values, bool clear_out_values=true) const |
bool | get_values (vcl_string tag, const vil_nitf2_index_vector &indexes, vcl_vector< vil_nitf2_location * > &out_values, bool clear_out_values=true) const |
bool | get_values (vcl_string tag, const vil_nitf2_index_vector &indexes, vcl_vector< vil_nitf2_date_time > &out_values, bool clear_out_values=true) const |
bool | get_values (vcl_string tag, vcl_vector< int > &out_values) const |
bool | get_values (vcl_string tag, vcl_vector< double > &out_values) const |
bool | get_values (vcl_string tag, vcl_vector< char > &out_values) const |
bool | get_values (vcl_string tag, vcl_vector< void * > &out_values) const |
bool | get_values (vcl_string tag, vcl_vector< vcl_string > &out_values) const |
bool | get_values (vcl_string tag, vcl_vector< vil_nitf2_location * > &out_values) const |
bool | get_values (vcl_string tag, vcl_vector< vil_nitf2_date_time > &out_values) const |
vil_nitf2_field * | get_field (vcl_string tag) const |
bool | read (vil_nitf2_istream &input, const vil_nitf2_field_definitions *field_defs=0, vil_nitf2_index_vector indexes=vil_nitf2_index_vector()) |
virtual bool | write (vil_nitf2_ostream &, const vil_nitf2_field_definitions *field_defs=0, vil_nitf2_index_vector indexes=vil_nitf2_index_vector()) |
bool | create_array_fields (const vil_nitf2_field_definitions *field_defs, int num_dimensions) |
void | set_array_fields_dimension (const vil_nitf2_field_definitions *field_defs, const vil_nitf2_index_vector &index, int repeat_count) |
vil_nitf2_field_definition * | find_field_definition (vcl_string tag) |
virtual vil_nitf2_field::field_tree * | get_tree (vil_nitf2_field::field_tree *tr=0) const |
Private Types | |
typedef vcl_map< vcl_string, vil_nitf2_field * > | field_map |
Private Member Functions | |
void | insert_field (const vcl_string &str, vil_nitf2_field *field) |
Private Attributes | |
field_map | fields |
vcl_vector< vil_nitf2_field * > | fields_vector |
const vil_nitf2_field_definitions * | m_field_definitions |
Definition at line 27 of file vil_nitf2_field_sequence.h.
typedef vcl_map<vcl_string, vil_nitf2_field*> vil_nitf2_field_sequence::field_map [private] |
Definition at line 161 of file vil_nitf2_field_sequence.h.
vil_nitf2_field_sequence::vil_nitf2_field_sequence | ( | const vil_nitf2_field_definitions & | field_definitions | ) | [inline] |
Definition at line 31 of file vil_nitf2_field_sequence.h.
vil_nitf2_field_sequence::~vil_nitf2_field_sequence | ( | ) | [virtual] |
Definition at line 355 of file vil_nitf2_field_sequence.cxx.
bool vil_nitf2_field_sequence::create_array_fields | ( | const vil_nitf2_field_definitions * | field_defs, |
int | num_dimensions | ||
) |
Definition at line 32 of file vil_nitf2_field_sequence.cxx.
vil_nitf2_field_definition * vil_nitf2_field_sequence::find_field_definition | ( | vcl_string | tag | ) |
Definition at line 486 of file vil_nitf2_tagged_record.cxx.
vil_nitf2_field * vil_nitf2_field_sequence::get_field | ( | vcl_string | tag | ) | const |
Definition at line 366 of file vil_nitf2_field_sequence.cxx.
vil_nitf2_field::field_tree * vil_nitf2_field_sequence::get_tree | ( | vil_nitf2_field::field_tree * | tr = 0 | ) | const [virtual] |
Definition at line 16 of file vil_nitf2_field_sequence.cxx.
bool vil_nitf2_field_sequence::get_value | ( | vcl_string | tag, |
int & | out_value | ||
) | const |
bool vil_nitf2_field_sequence::get_value | ( | vcl_string | tag, |
double & | out_value | ||
) | const |
bool vil_nitf2_field_sequence::get_value | ( | vcl_string | tag, |
char & | out_value | ||
) | const |
bool vil_nitf2_field_sequence::get_value | ( | vcl_string | tag, |
void *& | out_value | ||
) | const |
bool vil_nitf2_field_sequence::get_value | ( | vcl_string | tag, |
vcl_string & | out_value | ||
) | const |
bool vil_nitf2_field_sequence::get_value | ( | vcl_string | tag, |
vil_nitf2_location *& | out_value | ||
) | const |
bool vil_nitf2_field_sequence::get_value | ( | vcl_string | tag, |
vil_nitf2_date_time & | out_value | ||
) | const |
bool vil_nitf2_field_sequence::get_value | ( | vcl_string | tag, |
vil_nitf2_tagged_record_sequence & | out_value | ||
) | const |
bool vil_nitf2_field_sequence::get_value | ( | vcl_string | tag, |
const vil_nitf2_index_vector & | indexes, | ||
int & | out_value, | ||
bool | ignore_extra_indexes = false |
||
) | const |
bool vil_nitf2_field_sequence::get_value | ( | vcl_string | tag, |
const vil_nitf2_index_vector & | indexes, | ||
double & | out_value, | ||
bool | ignore_extra_indexes = false |
||
) | const |
bool vil_nitf2_field_sequence::get_value | ( | vcl_string | tag, |
const vil_nitf2_index_vector & | indexes, | ||
char & | out_value, | ||
bool | ignore_extra_indexes = false |
||
) | const |
bool vil_nitf2_field_sequence::get_value | ( | vcl_string | tag, |
const vil_nitf2_index_vector & | indexes, | ||
void *& | out_value, | ||
bool | ignore_extra_indexes = false |
||
) | const |
bool vil_nitf2_field_sequence::get_value | ( | vcl_string | tag, |
const vil_nitf2_index_vector & | indexes, | ||
vcl_string & | out_value, | ||
bool | ignore_extra_indexes = false |
||
) | const |
bool vil_nitf2_field_sequence::get_value | ( | vcl_string | tag, |
const vil_nitf2_index_vector & | indexes, | ||
vil_nitf2_location *& | out_value, | ||
bool | ignore_extra_indexes = false |
||
) | const |
bool vil_nitf2_field_sequence::get_value | ( | vcl_string | tag, |
const vil_nitf2_index_vector & | indexes, | ||
vil_nitf2_date_time & | out_value, | ||
bool | ignore_extra_indexes = false |
||
) | const |
bool vil_nitf2_field_sequence::get_values | ( | vcl_string | tag, |
const vil_nitf2_index_vector & | indexes, | ||
vcl_vector< int > & | out_values, | ||
bool | clear_out_values = true |
||
) | const |
bool vil_nitf2_field_sequence::get_values | ( | vcl_string | tag, |
const vil_nitf2_index_vector & | indexes, | ||
vcl_vector< double > & | out_values, | ||
bool | clear_out_values = true |
||
) | const |
bool vil_nitf2_field_sequence::get_values | ( | vcl_string | tag, |
const vil_nitf2_index_vector & | indexes, | ||
vcl_vector< char > & | out_values, | ||
bool | clear_out_values = true |
||
) | const |
bool vil_nitf2_field_sequence::get_values | ( | vcl_string | tag, |
const vil_nitf2_index_vector & | indexes, | ||
vcl_vector< void * > & | out_values, | ||
bool | clear_out_values = true |
||
) | const |
bool vil_nitf2_field_sequence::get_values | ( | vcl_string | tag, |
const vil_nitf2_index_vector & | indexes, | ||
vcl_vector< vcl_string > & | out_values, | ||
bool | clear_out_values = true |
||
) | const |
bool vil_nitf2_field_sequence::get_values | ( | vcl_string | tag, |
const vil_nitf2_index_vector & | indexes, | ||
vcl_vector< vil_nitf2_location * > & | out_values, | ||
bool | clear_out_values = true |
||
) | const |
bool vil_nitf2_field_sequence::get_values | ( | vcl_string | tag, |
const vil_nitf2_index_vector & | indexes, | ||
vcl_vector< vil_nitf2_date_time > & | out_values, | ||
bool | clear_out_values = true |
||
) | const |
bool vil_nitf2_field_sequence::get_values | ( | vcl_string | tag, |
vcl_vector< int > & | out_values | ||
) | const |
bool vil_nitf2_field_sequence::get_values | ( | vcl_string | tag, |
vcl_vector< double > & | out_values | ||
) | const |
bool vil_nitf2_field_sequence::get_values | ( | vcl_string | tag, |
vcl_vector< char > & | out_values | ||
) | const |
bool vil_nitf2_field_sequence::get_values | ( | vcl_string | tag, |
vcl_vector< void * > & | out_values | ||
) | const |
bool vil_nitf2_field_sequence::get_values | ( | vcl_string | tag, |
vcl_vector< vcl_string > & | out_values | ||
) | const |
bool vil_nitf2_field_sequence::get_values | ( | vcl_string | tag, |
vcl_vector< vil_nitf2_location * > & | out_values | ||
) | const |
bool vil_nitf2_field_sequence::get_values | ( | vcl_string | tag, |
vcl_vector< vil_nitf2_date_time > & | out_values | ||
) | const |
void vil_nitf2_field_sequence::insert_field | ( | const vcl_string & | str, |
vil_nitf2_field * | field | ||
) | [private] |
Definition at line 25 of file vil_nitf2_field_sequence.cxx.
bool vil_nitf2_field_sequence::read | ( | vil_nitf2_istream & | input, |
const vil_nitf2_field_definitions * | field_defs = 0 , |
||
vil_nitf2_index_vector | indexes = vil_nitf2_index_vector() |
||
) |
Definition at line 90 of file vil_nitf2_field_sequence.cxx.
void vil_nitf2_field_sequence::set_array_fields_dimension | ( | const vil_nitf2_field_definitions * | field_defs, |
const vil_nitf2_index_vector & | index, | ||
int | repeat_count | ||
) |
Definition at line 62 of file vil_nitf2_field_sequence.cxx.
bool vil_nitf2_field_sequence::write | ( | vil_nitf2_ostream & | output, |
const vil_nitf2_field_definitions * | field_defs = 0 , |
||
vil_nitf2_index_vector | indexes = vil_nitf2_index_vector() |
||
) | [virtual] |
Definition at line 251 of file vil_nitf2_field_sequence.cxx.
field_map vil_nitf2_field_sequence::fields [private] |
Definition at line 162 of file vil_nitf2_field_sequence.h.
vcl_vector<vil_nitf2_field*> vil_nitf2_field_sequence::fields_vector [private] |
Definition at line 165 of file vil_nitf2_field_sequence.h.
const vil_nitf2_field_definitions* vil_nitf2_field_sequence::m_field_definitions [private] |
Definition at line 167 of file vil_nitf2_field_sequence.h.