OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
RadiometricCompensationData.h
Go to the documentation of this file.
1 //----------------------------------------------------------------------------
2 //
3 // "Copyright Centre National d'Etudes Spatiales"
4 //
5 // License: LGPL
6 //
7 // See LICENSE.txt file in the top level directory for more details.
8 //
9 //----------------------------------------------------------------------------
10 // $Id$
11 
12 #ifndef RadiometricCompensationData_h
13 #define RadiometricCompensationData_h
14 
15 #include <iostream>
16 
19 
20 #include "CompensationDataRecord.h"
21 
22 namespace ossimplugins
23 {
29 {
30 public:
35 
40 
45 
54 
59 
64  {
65  return new RadiometricCompensationData();
66  };
67 
72  {
73  return new RadiometricCompensationData(*this);
74  };
75 
79  void Read(std::istream& is)
80  {
81  is>>*this;
82  };
83 
87  void Write(std::ostream& os)
88  {
89  os<<*this;
90  };
91 
96  {
97  return _seq_num;
98  };
103  {
104  return _chan_ind;
105  };
110  {
111  return _n_dset;
112  };
117  {
118  return _dset_size;
119  };
124  {
125  return _dset;
126  };
127 
128 protected:
132  int _seq_num;
140  int _n_dset;
149 private:
150 };
151 }
152 #endif
CompensationDataRecord * get_dset()
Compensation data set records.
void Write(std::ostream &os)
Writes the class to a stream.
friend std::istream & operator>>(std::istream &is, RadiometricCompensationData &data)
This function reads a RadiometricCompensationData from a stream.
RadarSatRecord * Clone()
This function is able to create a new instance of the class initialised with the data of the calling ...
int get_n_dset()
Number of data sets in record
This class is the base class of all the record classes.
This class is able to read a Radiometric Compensation data record.
std::basic_istream< char > istream
Base class for char input streams.
Definition: ossimIosFwd.h:20
CompensationDataRecord _dset[4]
Compensation data set records.
void Read(std::istream &is)
Reads the class data from a stream.
RadarSatRecord * Instanciate()
This function is able to create a new instance of the class.
RadiometricCompensationData & operator=(const RadiometricCompensationData &rhs)
Copy operator.
std::basic_ostream< char > ostream
Base class for char output streams.
Definition: ossimIosFwd.h:23
This class is able to read a Compensation data record.
friend std::ostream & operator<<(std::ostream &os, const RadiometricCompensationData &data)
This function writes the RadiometricCompensationData in a stream.