49 std::map<int, RadarSatRecord*>::const_iterator it = data.
_records.begin();
52 (*it).second->Write(os);
80 data.
_records[header.get_rec_seq()] = record;
84 char* buff =
new char[header.get_length()-12];
85 is.read(buff, header.get_length()-12);
96 std::map<int, RadarSatRecord*>::const_iterator it = rhs.
_records.begin();
99 _records[(*it).first] = (*it).second->Clone();
107 std::map<int, RadarSatRecord*>::const_iterator it = rhs.
_records.begin();
110 _records[(*it).first] = (*it).second->Clone();
119 std::map<int, RadarSatRecord*>::const_iterator it =
_records.begin();
This class is able to read the SAR leader file descriptor record of the leader file.
static const int DataHistogramSignalDataID
DataQuality * get_DataQuality()
RadarSatRecord * Instanciate(int id)
Instanciates a new Record.
AttitudeData * get_AttitudeData()
This class is able to read a data quality record.
Trailer & operator=(const Trailer &rhs)
Copy operator.
static const int FileDescriptorID
DataSetSummary * get_DataSetSummary()
DataHistogramProcessedData8 * get_DataHistogramProcessedData8()
static const int RadiometricCompensationDataID
ProcessingParameters * get_ProcessingParameters()
static const int ProcessingParametersID
This class is able to read the trailer file of the RadarSat file structure.
static const int DataSetSummaryID
This class is the base class of all the record classes.
virtual void Read(std::istream &is)=0
Reads the class data from a stream.
This class is able to read a data histogram record - Signal data.
void ClearRecords()
Removes all the previous records from the Trailer.
static const int AttitudeDataID
DataHistogramSignalData * get_DataHistogramSignalData()
std::ostream & operator<<(std::ostream &os, const AlosPalsarData &data)
This class is able to read a radiometric data record.
static const int DataHistogramProcessedData8ID
RadiometricData * get_RadiometricData()
This class is able to read a Radiometric Compensation data record.
std::istream & operator>>(std::istream &is, AlosPalsarData &data)
static const int DataQualityID
RadiometricCompensationData * get_RadiometricCompensationData()
This class is a factory able to construct Record base classes.
This class is able to read a Detailed processing parameters record.
std::basic_istream< char > istream
Base class for char input streams.
static const int RadiometricDataID
This class is able to read the SAR leader data set summary record of the leader file.
FileDescriptor * get_FileDescriptor()
std::map< int, RadarSatRecord * > _records
This class is able to read a Attitude data record.
std::basic_ostream< char > ostream
Base class for char output streams.