OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
AlosPalsarRadiometricData.h
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 
13 #ifndef AlosPalsarRadiometricData_h
14 #define AlosPalsarRadiometricData_h
15 
16 #include <iostream>
17 #include <cstdlib>
20 
21 
22 namespace ossimplugins
23 {
24 
30 {
31 public:
36 
41 
46 
55 
60 
65  {
66  return new AlosPalsarRadiometricData();
67  };
68 
73  {
74  return new AlosPalsarRadiometricData(*this);
75  };
76 
80  void Read(std::istream& is)
81  {
82  is >> *this;
83  };
84 
88  void Write(std::ostream& os)
89  {
90  os << *this;
91  };
92 
96  double get_calibration_factor() const
97  {
98  return _calibration_factor;
99  };
100 
101 protected:
105  double _calibration_factor;
106 
107 private:
108 };
109 }
110 #endif
friend std::istream & operator>>(std::istream &is, AlosPalsarRadiometricData &data)
This function reads Alos Palsar radiometric data from a stream.
double _calibration_factor
Data sampling interval.
This class is the base class of all the record classes.
AlosPalsarRecord * Clone()
This function is able to create a new instance of the class initialised with the data of the calling ...
void Read(std::istream &is)
Read the class data from a stream.
friend std::ostream & operator<<(std::ostream &os, const AlosPalsarRadiometricData &data)
This function writes the Alos Palsar radiometric data in a stream.
double get_calibration_factor() const
Calibration factor.
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.
void Write(std::ostream &os)
Write the class to a stream.
AlosPalsarRecord * Instanciate()
This function is able to create a new instance of the class.
std::basic_ostream< char > ostream
Base class for char output streams.
Definition: ossimIosFwd.h:23