#include <parasolfilerecord.h>
Public Member Functions | |
DataFileDescriptorRecord () | |
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_data_rec |
unsigned int | one_data_rec_len |
unsigned int | data_rec_prefix_len |
unsigned int | data_rec_data_len |
unsigned int | data_rec_suffix_len |
Store the PARASOL data files descriptor record values.
DataFileDescriptorRecord::DataFileDescriptorRecord | ( | ) | [inline] |
constructor : put the end-of-string characters
< Reference Document Identification
< Reference Document Version Number
< Software Version Number
< File Number
< File Name
void * DataFileDescriptorRecord::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 data_rec_data_len, data_rec_prefix_len, data_rec_suffix_len, file_nb, filename, nb_data_rec, one_data_rec_len, PARASOLFileRecord::rec_len, PARASOLFileRecord::rec_nb, ref_doc_id, ref_doc_version, and soft_version.
const int DataFileDescriptorRecord::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 data file record |
References nb_data_rec, one_data_rec_len, and PARASOLFileRecord::rec_len.
unsigned int DataFileDescriptorRecord::data_rec_data_len |
Length of the Datas in the Record Data
Referenced by get_entry(), and PARASOLData::print_data_file_descriptor().
unsigned int DataFileDescriptorRecord::data_rec_prefix_len |
Length of the Prefix in the Record Data
Referenced by get_entry(), and PARASOLData::print_data_file_descriptor().
unsigned int DataFileDescriptorRecord::data_rec_suffix_len |
Length of the Suffix in the Record Data
Referenced by get_entry(), and PARASOLData::print_data_file_descriptor().
char DataFileDescriptorRecord::file_nb[4+1] |
File Number
Referenced by get_entry(), and PARASOLData::print_data_file_descriptor().
char DataFileDescriptorRecord::filename[16+1] |
File Name
Referenced by get_entry(), and PARASOLData::print_data_file_descriptor().
unsigned int DataFileDescriptorRecord::nb_data_rec |
Number of "Data" records in the file
Referenced by get_entry(), PARASOLData::get_nb_data_record(), PARASOLData::get_nb_val(), get_record_size(), and PARASOLData::print_data_file_descriptor().
unsigned int DataFileDescriptorRecord::one_data_rec_len |
Length of one "Data" record
Referenced by get_entry(), get_record_size(), PARASOLData::get_sz_data_record(), and PARASOLData::print_data_file_descriptor().
char DataFileDescriptorRecord::ref_doc_id[12+1] |
Reference Document Identification
Referenced by get_entry(), and PARASOLData::print_data_file_descriptor().
Reference Document Version Number
Referenced by get_entry(), and PARASOLData::print_data_file_descriptor().
char DataFileDescriptorRecord::soft_version[6+1] |
Software Version Number
Referenced by get_entry(), and PARASOLData::print_data_file_descriptor().