Public Member Functions | Public Attributes

PARASOLFileRecord Class Reference

#include <parasolfilerecord.h>

Inheritance diagram for PARASOLFileRecord:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void * get_entry (const int &entry_index, const int val_index)
 access to each attribute for writing it Method set for retrocompatibility
virtual void * get_entry (const int &entry_index, const vector< int > v_ival=vector< int >(0))=0
 access to each attribute for writing it For example, this used for reading the L1 technological parametres. If you want to access to the image "im" in the sequence "is", v_ival will be ["is","im"]

Public Attributes

unsigned int rec_nb
unsigned short rec_len

Detailed Description

This class is designed to store the values read in one PARASOL leader file record. It is only an abstract interface for more specialized classes, and so can't be instantiated as itself. The implementations for one specific record can be seen above. See PARASOL leader file format classes for description

Author:
Nicolas PASCAL

Member Function Documentation

virtual void* PARASOLFileRecord::get_entry ( const int &  entry_index,
const int  val_index 
) [inline, virtual]

access to each attribute for writing it Method set for retrocompatibility

Parameters:
entry_index the index of the entry in the record
val_index the index of the value to read (ex : the parameter number for the scaling factors) What is called group is many following entries that are repeated
Returns:
a pointer to the attribute to read
virtual void* PARASOLFileRecord::get_entry ( const int &  entry_index,
const vector< int >  v_ival = vector< int >(0) 
) [pure virtual]

access to each attribute for writing it For example, this used for reading the L1 technological parametres. If you want to access to the image "im" in the sequence "is", v_ival will be ["is","im"]

Parameters:
entry_index the index of the entry in the record
v_ival the indexes of the value to read, stored as a vector
Returns:
a pointer to the attribute to read

Implemented in LeaderFileDescriptorRecord, HeaderRecord, SpatioTemporalCharacteristicsRecord, InstrumentSettingParametersRecord, TechnologicalParametersRecord, DataProcessingParametersRecord, ScalingFactorsRecord, AnnotationsRecord, DataFileDescriptorRecord, RB2_DataRecord, and BASIC_1_DataRecord.


Member Data Documentation


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