#include <parasolfilerecord.h>
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 |
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
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
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 |
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"]
entry_index | the index of the entry in the record | |
v_ival | the indexes of the value to read, stored as a vector |
Implemented in LeaderFileDescriptorRecord, HeaderRecord, SpatioTemporalCharacteristicsRecord, InstrumentSettingParametersRecord, TechnologicalParametersRecord, DataProcessingParametersRecord, ScalingFactorsRecord, AnnotationsRecord, DataFileDescriptorRecord, RB2_DataRecord, and BASIC_1_DataRecord.
unsigned short PARASOLFileRecord::rec_len |
Length of this record
Referenced by BASIC_1_DataRecord::get_entry(), RB2_DataRecord::get_entry(), DataFileDescriptorRecord::get_entry(), TechnologicalParametersRecord::get_entry(), AnnotationsRecord::get_entry(), ScalingFactorsRecord::get_entry(), DataProcessingParametersRecord::get_entry(), InstrumentSettingParametersRecord::get_entry(), SpatioTemporalCharacteristicsRecord::get_entry(), HeaderRecord::get_entry(), LeaderFileDescriptorRecord::get_entry(), PARASOLLeader::get_record_offset(), PARASOLData::get_record_offset(), DataFileDescriptorRecord::get_record_size(), LeaderFileDescriptorRecord::get_record_size(), PARASOLData::print_data_file_descriptor(), PARASOLLeader::print_header(), PARASOLLeader::print_leader_file_descriptor(), PARASOLLeader::print_scaling_factors(), PARASOLLeader::print_spatio_temp_char(), and PARASOLLeader::print_techno_param().
unsigned int PARASOLFileRecord::rec_nb |
Record Number in the file
Referenced by BASIC_1_DataRecord::get_entry(), RB2_DataRecord::get_entry(), DataFileDescriptorRecord::get_entry(), TechnologicalParametersRecord::get_entry(), AnnotationsRecord::get_entry(), ScalingFactorsRecord::get_entry(), DataProcessingParametersRecord::get_entry(), InstrumentSettingParametersRecord::get_entry(), SpatioTemporalCharacteristicsRecord::get_entry(), HeaderRecord::get_entry(), LeaderFileDescriptorRecord::get_entry(), PARASOLData::print_data_file_descriptor(), PARASOLLeader::print_header(), PARASOLLeader::print_leader_file_descriptor(), PARASOLLeader::print_scaling_factors(), PARASOLLeader::print_spatio_temp_char(), and PARASOLLeader::print_techno_param().