Public Member Functions | Private Types | Private Member Functions | Private Attributes
vil_nitf2_field_sequence Class Reference

#include <vil_nitf2_field_sequence.h>

List of all members.

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_fieldget_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_definitionfind_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_definitionsm_field_definitions

Detailed Description

Definition at line 27 of file vil_nitf2_field_sequence.h.


Member Typedef Documentation

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.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Member Data Documentation

Definition at line 162 of file vil_nitf2_field_sequence.h.

Definition at line 165 of file vil_nitf2_field_sequence.h.

Definition at line 167 of file vil_nitf2_field_sequence.h.


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