OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
RadiometryUncertaintyRecord.cpp
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 
13 
14 namespace ossimplugins
15 {
17 {
18 }
19 
21 {
22 }
23 
25 {
26  os<<"db:"<<data._db<<std::endl;
27  os<<"deg:"<<data._deg<<std::endl;
28  return os;
29 }
30 
32 {
33  char buf16[17];
34  buf16[16] = '\0';
35 
36  is.read(buf16,16);
37  data._db = atof(buf16);
38 
39  is.read(buf16,16);
40  data._deg = atof(buf16);
41  return is;
42 }
43 
45  _db(rhs._db),
46  _deg(rhs._deg)
47 {
48 }
49 
51 {
52  _db = rhs._db;
53  _deg = rhs._deg;
54  return *this;
55 }
56 }
std::ostream & operator<<(std::ostream &os, const AlosPalsarData &data)
RadiometryUncertaintyRecord & operator=(const RadiometryUncertaintyRecord &rhs)
Copy operator.
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 radiometry uncertainty record.
std::basic_ostream< char > ostream
Base class for char output streams.
Definition: ossimIosFwd.h:23