Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

vil_nitf2_typed_array_field< T > Class Template Reference

#include <vil_nitf2_typed_array_field.h>

Inheritance diagram for vil_nitf2_typed_array_field< T >:

Inheritance graph
[legend]
List of all members.

Detailed Description

template<class T>
class vil_nitf2_typed_array_field< T >

Definition at line 20 of file vil_nitf2_typed_array_field.h.

Public Member Functions

 vil_nitf2_typed_array_field (int num_dimensions, vil_nitf2_field_definition *field_definition)
bool value (const vil_nitf2_index_vector &indexes, T &out_value) const
bool read_vector_element (vil_nitf2_istream &input, const vil_nitf2_index_vector &indexes, int variable_width)
bool write_vector_element (vil_nitf2_ostream &output, const vil_nitf2_index_vector &indexes, int variable_width) const
virtual vcl_ostream & output (vcl_ostream &os) const
 ~vil_nitf2_typed_array_field ()
template<>
 ~vil_nitf2_typed_array_field ()
template<>
 ~vil_nitf2_typed_array_field ()
int num_dimensions () const
void set_next_dimension (const vil_nitf2_index_vector &indexes, int bound)
int next_dimension (const vil_nitf2_index_vector &indexes) const
bool check_index (const vil_nitf2_index_vector &indexes) const
virtual field_tree * get_tree () const
virtual bool value (const vil_nitf2_index_vector &, int &) const
virtual bool value (const vil_nitf2_index_vector &, double &) const
virtual bool value (const vil_nitf2_index_vector &, char &) const
virtual bool value (const vil_nitf2_index_vector &, void *&) const
virtual bool value (const vil_nitf2_index_vector &, vcl_string &) const
virtual bool value (const vil_nitf2_index_vector &, vil_nitf2_location *&) const
virtual bool value (const vil_nitf2_index_vector &, vil_nitf2_date_time &) const
vcl_string tag () const
vcl_string pretty_name () const
vcl_string description () const
vil_nitf2_scalar_fieldscalar_field ()
vil_nitf2_array_fieldarray_field ()
vil_nitf2::enum_field_type type () const

Protected Member Functions

void output_dimension_iterate (vcl_ostream &os, vil_nitf2_index_vector indexes, bool &output_yet) const
void do_dimension (const vil_nitf2_index_vector &index, vil_nitf2_field::field_tree *tr) const
vcl_string get_value_string (const vil_nitf2_index_vector &in_indices) const

Protected Attributes

int m_num_dimensions
vcl_map< vil_nitf2_index_vector,
int > 
m_dimensions_map
vil_nitf2_field_definitionm_definition

Private Attributes

vcl_map< vil_nitf2_index_vector,
T > 
m_value_map


Constructor & Destructor Documentation

template<class T>
vil_nitf2_typed_array_field< T >::vil_nitf2_typed_array_field int  num_dimensions,
vil_nitf2_field_definition field_definition
[inline]
 

Definition at line 24 of file vil_nitf2_typed_array_field.h.

template<class T>
vil_nitf2_typed_array_field< T >::~vil_nitf2_typed_array_field  )  [inline]
 

Definition at line 55 of file vil_nitf2_typed_array_field.h.

template<>
vil_nitf2_typed_array_field< void * >::~vil_nitf2_typed_array_field  )  [inline]
 

Definition at line 205 of file vil_nitf2_typed_array_field.h.

template<>
vil_nitf2_typed_array_field< vil_nitf2_location * >::~vil_nitf2_typed_array_field  )  [inline]
 

Definition at line 217 of file vil_nitf2_typed_array_field.h.


Member Function Documentation

vil_nitf2_array_field * vil_nitf2_field::array_field  )  [inherited]
 

Definition at line 60 of file vil_nitf2_field.cxx.

bool vil_nitf2_array_field::check_index const vil_nitf2_index_vector indexes  )  const [inherited]
 

Definition at line 45 of file vil_nitf2_array_field.cxx.

vcl_string vil_nitf2_field::description  )  const [inherited]
 

Definition at line 30 of file vil_nitf2_field.cxx.

void vil_nitf2_array_field::do_dimension const vil_nitf2_index_vector index,
vil_nitf2_field::field_tree tr
const [protected, inherited]
 

Definition at line 98 of file vil_nitf2_array_field.cxx.

vil_nitf2_field::field_tree * vil_nitf2_array_field::get_tree  )  const [virtual, inherited]
 

Reimplemented from vil_nitf2_field.

Definition at line 125 of file vil_nitf2_array_field.cxx.

vcl_string vil_nitf2_array_field::get_value_string const vil_nitf2_index_vector in_indices  )  const [protected, inherited]
 

Definition at line 85 of file vil_nitf2_array_field.cxx.

int vil_nitf2_array_field::next_dimension const vil_nitf2_index_vector indexes  )  const [inherited]
 

Definition at line 19 of file vil_nitf2_array_field.cxx.

int vil_nitf2_array_field::num_dimensions  )  const [virtual, inherited]
 

Implements vil_nitf2_field.

Definition at line 13 of file vil_nitf2_array_field.cxx.

template<class T>
vcl_ostream & vil_nitf2_typed_array_field< T >::output vcl_ostream &  os  )  const [virtual]
 

Implements vil_nitf2_field.

Definition at line 162 of file vil_nitf2_typed_array_field.h.

template<class T>
void vil_nitf2_typed_array_field< T >::output_dimension_iterate vcl_ostream &  os,
vil_nitf2_index_vector  indexes,
bool &  output_yet
const [protected]
 

Definition at line 170 of file vil_nitf2_typed_array_field.h.

vcl_string vil_nitf2_field::pretty_name  )  const [inherited]
 

Definition at line 25 of file vil_nitf2_field.cxx.

template<class T>
bool vil_nitf2_typed_array_field< T >::read_vector_element vil_nitf2_istream input,
const vil_nitf2_index_vector indexes,
int  variable_width
[virtual]
 

Implements vil_nitf2_array_field.

Definition at line 100 of file vil_nitf2_typed_array_field.h.

vil_nitf2_scalar_field * vil_nitf2_field::scalar_field  )  [inherited]
 

Definition at line 51 of file vil_nitf2_field.cxx.

void vil_nitf2_array_field::set_next_dimension const vil_nitf2_index_vector indexes,
int  bound
[inherited]
 

Definition at line 30 of file vil_nitf2_array_field.cxx.

vcl_string vil_nitf2_field::tag  )  const [inherited]
 

Definition at line 20 of file vil_nitf2_field.cxx.

vil_nitf2::enum_field_type vil_nitf2_field::type  )  const [inherited]
 

Definition at line 11 of file vil_nitf2_field.cxx.

virtual bool vil_nitf2_array_field::value const vil_nitf2_index_vector ,
vil_nitf2_date_time
const [inline, virtual, inherited]
 

Definition at line 88 of file vil_nitf2_array_field.h.

virtual bool vil_nitf2_array_field::value const vil_nitf2_index_vector ,
vil_nitf2_location *& 
const [inline, virtual, inherited]
 

Definition at line 87 of file vil_nitf2_array_field.h.

virtual bool vil_nitf2_array_field::value const vil_nitf2_index_vector ,
vcl_string & 
const [inline, virtual, inherited]
 

Definition at line 86 of file vil_nitf2_array_field.h.

virtual bool vil_nitf2_array_field::value const vil_nitf2_index_vector ,
void *& 
const [inline, virtual, inherited]
 

Definition at line 85 of file vil_nitf2_array_field.h.

virtual bool vil_nitf2_array_field::value const vil_nitf2_index_vector ,
char & 
const [inline, virtual, inherited]
 

Definition at line 84 of file vil_nitf2_array_field.h.

virtual bool vil_nitf2_array_field::value const vil_nitf2_index_vector ,
double & 
const [inline, virtual, inherited]
 

Definition at line 83 of file vil_nitf2_array_field.h.

virtual bool vil_nitf2_array_field::value const vil_nitf2_index_vector ,
int & 
const [inline, virtual, inherited]
 

Definition at line 82 of file vil_nitf2_array_field.h.

template<class T>
bool vil_nitf2_typed_array_field< T >::value const vil_nitf2_index_vector indexes,
T &  out_value
const
 

Definition at line 84 of file vil_nitf2_typed_array_field.h.

template<class T>
bool vil_nitf2_typed_array_field< T >::write_vector_element vil_nitf2_ostream output,
const vil_nitf2_index_vector indexes,
int  variable_width
const [virtual]
 

Implements vil_nitf2_array_field.

Definition at line 136 of file vil_nitf2_typed_array_field.h.


Member Data Documentation

vil_nitf2_field_definition* vil_nitf2_field::m_definition [protected, inherited]
 

Definition at line 77 of file vil_nitf2_field.h.

vcl_map<vil_nitf2_index_vector, int> vil_nitf2_array_field::m_dimensions_map [protected, inherited]
 

Definition at line 110 of file vil_nitf2_array_field.h.

int vil_nitf2_array_field::m_num_dimensions [protected, inherited]
 

Definition at line 97 of file vil_nitf2_array_field.h.

template<class T>
vcl_map<vil_nitf2_index_vector, T> vil_nitf2_typed_array_field< T >::m_value_map [private]
 

Definition at line 71 of file vil_nitf2_typed_array_field.h.


The documentation for this class was generated from the following file:
Generated on Thu Jan 10 14:40:15 2008 for core/vil by  doxygen 1.4.4