12 #ifndef VolumeDescriptorRecord_h 13 #define VolumeDescriptorRecord_h friend std::istream & operator>>(std::istream &is, VolumeDescriptorRecord &data)
This function reads a VolumeDescriptorRecord from a stream.
int get_curr_phyvol()
Physical volume of current tape.
std::string get_logvol_agency()
Logvol generation agency.
std::string get_logvol_facility()
Logvol generation facility.
int get_phyvol_cnt()
Total physical volume count.
std::string get_software_id()
Software identifier.
VolumeDescriptorRecord & operator=(const VolumeDescriptorRecord &rhs)
Copy operator.
VolumeDescriptorRecord()
Constructor.
std::string get_product_id()
Product identifier.
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.
void Write(std::ostream &os)
Writes the class to a stream.
std::string get_logvol_time()
Logvol creation time.
int _n_voldir
Number of records in volume directory file.
void Read(std::istream &is)
Reads the class data from a stream.
int _curr_phyvol
Physical volume of current tape.
int get_n_filepoint()
Number of file pointer records.
int get_volset_log()
Logical volume within set.
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.
int get_n_voldir()
Number of records in volume directory file.
This class is the base class of all the record classes.
int get_phyvol_log()
Logical volume within phyvol.
RadarSatRecord * Clone()
This function is able to create a new instance of the class initialised with the data of the calling ...
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::string getget_format_rev()
Format doc revision.
int get_first_phyvol()
Physical volume of first tape.
std::string _product_id
Product identifier.
int _phyvol_cnt
Total physical volume count.
int _last_phyvol
Physical volume of last tape.
int get_last_phyvol()
Physical volume of last tape.
std::string get_logvol_id()
Logical volume identifier.
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 get_format_ver()
Format doc version.
std::string _software_id
Software identifier.
std::string _format_rev
Format doc revision.
std::basic_istream< char > istream
Base class for char input streams.
std::string get_volset_id()
Volume set identifier.
friend std::ostream & operator<<(std::ostream &os, const VolumeDescriptorRecord &data)
This function writes the VolumeDescriptorRecord in a stream.
std::string _logvol_agency
Logvol generation agency.
std::string get_phyvol_id()
Physical volume identifier.
std::string get_format_doc()
Format control documentation.
int _phyvol_log
Logical volume within phyvol.
RadarSatRecord * Instanciate()
This function is able to create a new instance of the class.
int get_first_file()
First file number in physical volume.
std::string _logvol_id
Logical volume identifier.
std::string get_ascii_flag()
ASCII flag.
std::string _logvol_date
Logvol creation date.
std::basic_ostream< char > ostream
Base class for char output streams.
std::string get_logvol_country()
Logvol generation country.
std::string get_logvol_date()
Logvol creation date.