OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
AlosPalsarRadiometricData.cpp
Go to the documentation of this file.
1 //----------------------------------------------------------------------------
2 //
3 // "Copyright Centre National d'Etudes Spatiales"
4 // "Copyright Centre for Remote Imaging, Sensing and Processing"
5 //
6 // License: LGPL
7 //
8 // See LICENSE.txt file in the top level directory for more details.
9 //
10 //----------------------------------------------------------------------------
11 // $Id$
12 
14 
15 namespace ossimplugins
16 {
17 
18 
20 {
21 }
22 
24 {
25 }
26 
28 {
29  os << "calibration_factor:" << data._calibration_factor << std::endl;
30 
31  return os;
32 }
33 
35 {
36  char buf[9];
37 
38  is.seekg(8, std::ios::cur);
39 
40  is.read(buf, 8);
41  buf[8] = '\0';
42  data._calibration_factor = atof(buf);
43 
44  is.seekg(9824, std::ios::cur); //skip the rest of the radiometric data record
45  is.seekg(12477692, std::ios::cur); //skip to the 11th facility-related data record
46 
47  return is;
48 }
49 
51  AlosPalsarRecord(rhs)
52 {
54 }
55 
57 {
59 
60  return *this;
61 }
62 
63 }
double _calibration_factor
Data sampling interval.
This class is the base class of all the record classes.
std::ostream & operator<<(std::ostream &os, const AlosPalsarData &data)
std::istream & operator>>(std::istream &is, AlosPalsarData &data)
std::basic_istream< char > istream
Base class for char input streams.
Definition: ossimIosFwd.h:20
This class is able to read a radiometric data record.
AlosPalsarRadiometricData & operator=(const AlosPalsarRadiometricData &rhs)
Copy operator.
std::basic_ostream< char > ostream
Base class for char output streams.
Definition: ossimIosFwd.h:23