OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
RadarSatRecord.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 RadarSatRecord_h
13 #define RadarSatRecord_h
14 
15 
17 #include <iostream>
18 #include <cstdlib>
19 
20 namespace ossimplugins
21 {
27 {
28 public:
33  RadarSatRecord(std::string mnemonic);
37  virtual ~RadarSatRecord();
38 
42  RadarSatRecord(const RadarSatRecord& rhs);
43 
47  virtual RadarSatRecord* Instanciate() =0;
48 
52  virtual RadarSatRecord* Clone()=0;
53 
57  virtual void Read(std::istream& is) =0;
58 
62  virtual void Write(std::ostream& os)=0;
63 
64  std::string get_mnemonic()
65  {
66  return _mnemonic;
67  };
68 
69 protected:
70 
71  std::string _mnemonic;
72 
73 private:
74 };
75 }
76 #endif
virtual RadarSatRecord * Instanciate()=0
This function is able to create a new instance of the class.
virtual RadarSatRecord * Clone()=0
This function is able to create a new instance of the class initialised with the data of the calling ...
RadarSatRecord(std::string mnemonic)
Constructor.
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.
std::basic_istream< char > istream
Base class for char input streams.
Definition: ossimIosFwd.h:20
virtual ~RadarSatRecord()
Destructor.
virtual void Write(std::ostream &os)=0
Writes the class to a stream.
std::basic_ostream< char > ostream
Base class for char output streams.
Definition: ossimIosFwd.h:23