#include <parasolfilerecord.h>
Public Member Functions | |
LeaderFileDescriptorRecord () | |
constructor : put the end-of-string characters | |
void * | get_entry (const int &entry_index, const vector< int > v_ival=vector< int >(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"] | |
const int | get_record_size (const Record &record) |
access a specific record size. If the record isn't defined for the product, return 0 | |
Public Attributes | |
char | ref_doc_id [12+1] |
char | ref_doc_version [6+1] |
char | soft_version [6+1] |
char | file_nb [4+1] |
char | filename [16+1] |
unsigned int | nb_header_rec |
unsigned int | header_rec_len |
unsigned int | nb_spatio_temp_char_rec |
unsigned int | spatio_temp_char_rec_len |
unsigned int | nb_instr_setting_param_rec |
unsigned int | instr_setting_param_rec_len |
unsigned int | nb_tech_param_rec |
unsigned int | tech_param_rec_len |
unsigned int | nb_data_proc_param_rec |
unsigned int | data_proc_param_rec_len |
unsigned int | nb_scaling_factor_rec |
unsigned int | scaling_factor_rec_len |
unsigned int | nb_annot_rec |
unsigned int | annot_rec_len |
Store the PARASOL files descriptor record values.
void * LeaderFileDescriptorRecord::get_entry | ( | const int & | entry_index, | |
const vector< int > | v_ival = vector <int>(0) | |||
) | [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 |
Implements PARASOLFileRecord.
References annot_rec_len, data_proc_param_rec_len, file_nb, filename, header_rec_len, instr_setting_param_rec_len, nb_annot_rec, nb_data_proc_param_rec, nb_header_rec, nb_instr_setting_param_rec, nb_scaling_factor_rec, nb_spatio_temp_char_rec, nb_tech_param_rec, PARASOLFileRecord::rec_len, PARASOLFileRecord::rec_nb, ref_doc_id, ref_doc_version, scaling_factor_rec_len, soft_version, spatio_temp_char_rec_len, and tech_param_rec_len.
const int LeaderFileDescriptorRecord::get_record_size | ( | const Record & | record | ) |
access a specific record size. If the record isn't defined for the product, return 0
record | a PARASOL leader file record |
References annot_rec_len, data_proc_param_rec_len, header_rec_len, instr_setting_param_rec_len, PARASOLFileRecord::rec_len, scaling_factor_rec_len, spatio_temp_char_rec_len, and tech_param_rec_len.
Referenced by PARASOLLeader::get_record_offset().
unsigned int LeaderFileDescriptorRecord::annot_rec_len |
Length of the "Annotation" record
Referenced by get_entry(), get_record_size(), and PARASOLLeader::print_leader_file_descriptor().
unsigned int LeaderFileDescriptorRecord::data_proc_param_rec_len |
Length of the "Data processing parameters" record
Referenced by get_entry(), get_record_size(), and PARASOLLeader::print_leader_file_descriptor().
char LeaderFileDescriptorRecord::file_nb[4+1] |
File Number
Referenced by get_entry(), and PARASOLLeader::print_leader_file_descriptor().
char LeaderFileDescriptorRecord::filename[16+1] |
File Name
Referenced by get_entry(), and PARASOLLeader::print_leader_file_descriptor().
unsigned int LeaderFileDescriptorRecord::header_rec_len |
Length of the "Header" record
Referenced by get_entry(), get_record_size(), and PARASOLLeader::print_leader_file_descriptor().
Length of the "Instrument setting parameters" record
Referenced by get_entry(), get_record_size(), and PARASOLLeader::print_leader_file_descriptor().
unsigned int LeaderFileDescriptorRecord::nb_annot_rec |
Number of "Annotation" records in the file
Referenced by get_entry(), and PARASOLLeader::print_leader_file_descriptor().
unsigned int LeaderFileDescriptorRecord::nb_data_proc_param_rec |
Number of "Data processing parameters" records in the file
Referenced by get_entry(), and PARASOLLeader::print_leader_file_descriptor().
unsigned int LeaderFileDescriptorRecord::nb_header_rec |
Number of "Header" records in the file
Referenced by get_entry(), and PARASOLLeader::print_leader_file_descriptor().
Number of "Instrument setting parameters" records in the file
Referenced by get_entry(), and PARASOLLeader::print_leader_file_descriptor().
unsigned int LeaderFileDescriptorRecord::nb_scaling_factor_rec |
Number of "Scaling factors" records in the file
Referenced by get_entry(), and PARASOLLeader::print_leader_file_descriptor().
unsigned int LeaderFileDescriptorRecord::nb_spatio_temp_char_rec |
Number of "Spatio-Temporal Characteristics" records in the file
Referenced by get_entry(), and PARASOLLeader::print_leader_file_descriptor().
unsigned int LeaderFileDescriptorRecord::nb_tech_param_rec |
Number of "Technological parameters" records in the file
Referenced by get_entry(), and PARASOLLeader::print_leader_file_descriptor().
char LeaderFileDescriptorRecord::ref_doc_id[12+1] |
Reference Document Identification
Referenced by get_entry(), and PARASOLLeader::print_leader_file_descriptor().
Reference Document Version Number
Referenced by get_entry(), and PARASOLLeader::print_leader_file_descriptor().
unsigned int LeaderFileDescriptorRecord::scaling_factor_rec_len |
Length of the "Scaling factors" record
Referenced by get_entry(), get_record_size(), and PARASOLLeader::print_leader_file_descriptor().
char LeaderFileDescriptorRecord::soft_version[6+1] |
Software Version Number
Referenced by get_entry(), and PARASOLLeader::print_leader_file_descriptor().
unsigned int LeaderFileDescriptorRecord::spatio_temp_char_rec_len |
Length of the "Spatio-Temporal Characteristics" record
Referenced by get_entry(), get_record_size(), and PARASOLLeader::print_leader_file_descriptor().
unsigned int LeaderFileDescriptorRecord::tech_param_rec_len |
Length of the "Technological parameters" record
Referenced by get_entry(), get_record_size(), and PARASOLLeader::print_leader_file_descriptor().