26 os<<
"ascii_flag:"<<data.
_ascii_flag.c_str()<<std::endl;
27 os<<
"format_doc:"<<data.
_format_doc.c_str()<<std::endl;
28 os<<
"format_ver:"<<data.
_format_ver.c_str()<<std::endl;
29 os<<
"format_rev:"<<data.
_format_rev.c_str()<<std::endl;
30 os<<
"software_id:"<<data.
_software_id.c_str()<<std::endl;
31 os<<
"phyvol_id:"<<data.
_phyvol_id.c_str()<<std::endl;
32 os<<
"logvol_id:"<<data.
_logvol_id.c_str()<<std::endl;
33 os<<
"volset_id:"<<data.
_volset_id.c_str()<<std::endl;
41 os<<
"logvol_date:"<<data.
_logvol_date.c_str()<<std::endl;
42 os<<
"logvol_time:"<<data.
_logvol_time.c_str()<<std::endl;
47 os<<
"n_voldir:"<<data.
_n_voldir<<std::endl;
48 os<<
"product_id:"<<data.
_product_id.c_str()<<std::endl;
163 _ascii_flag(rhs._ascii_flag),
164 _format_doc(rhs._format_doc),
165 _format_ver(rhs._format_ver),
166 _format_rev(rhs._format_rev),
167 _software_id(rhs._software_id),
168 _phyvol_id(rhs._phyvol_id),
169 _logvol_id(rhs._logvol_id),
170 _volset_id(rhs._volset_id),
171 _phyvol_cnt(rhs._phyvol_cnt),
172 _first_phyvol(rhs._first_phyvol),
173 _last_phyvol(rhs._last_phyvol),
174 _curr_phyvol(rhs._curr_phyvol),
175 _first_file(rhs._first_file),
176 _volset_log(rhs._volset_log),
177 _logvol_date(rhs._logvol_date),
178 _logvol_time(rhs._logvol_time),
179 _logvol_country(rhs._logvol_country),
180 _logvol_agency(rhs._logvol_agency),
181 _logvol_facility(rhs._logvol_facility),
182 _n_filepoint(rhs._n_filepoint),
183 _n_voldir(rhs._n_voldir),
184 _product_id(rhs._product_id)
VolumeDescriptorRecord & operator=(const VolumeDescriptorRecord &rhs)
Copy operator.
VolumeDescriptorRecord()
Constructor.
std::string _logvol_time
Logvol creation time.
std::string _format_doc
Format control documentation.
std::string _ascii_flag
ASCII flag.
std::string _logvol_country
Logvol generation country.
int _n_voldir
Number of records in volume directory file.
int _curr_phyvol
Physical volume of current tape.
virtual ~VolumeDescriptorRecord()
Destructor.
std::string _phyvol_id
Physical volume identifier.
int _first_file
First file number in physical volume.
std::string _logvol_facility
Logvol generation facility.
This class is the base class of all the record classes.
std::string _volset_id
Volume set identifier.
std::string _format_ver
Format doc version.
This class is able to read the SAR leader file descriptor record of the leader file.
std::ostream & operator<<(std::ostream &os, const AlosPalsarData &data)
std::string _product_id
Product identifier.
int _phyvol_cnt
Total physical volume count.
int _last_phyvol
Physical volume of last tape.
int _first_phyvol
Physical volume of first tape.
int _n_filepoint
Number of file pointer records.
int _volset_log
Logical volume within set.
std::string _software_id
Software identifier.
std::istream & operator>>(std::istream &is, AlosPalsarData &data)
std::string _format_rev
Format doc revision.
std::basic_istream< char > istream
Base class for char input streams.
std::string _logvol_agency
Logvol generation agency.
int _phyvol_log
Logical volume within phyvol.
std::string _logvol_id
Logical volume identifier.
std::string _logvol_date
Logvol creation date.
std::basic_ostream< char > ostream
Base class for char output streams.