OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
AlosPalsarRecord.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 AlosPalsarRecord_h
14 #define AlosPalsarRecord_h
15 
16 
18 #include <iostream>
19 
20 namespace ossimplugins
21 {
22 
28 {
29 public:
34  AlosPalsarRecord(std::string mnemonic);
38  virtual ~AlosPalsarRecord();
39 
44 
48  virtual AlosPalsarRecord* Instanciate() = 0;
49 
53  virtual AlosPalsarRecord* Clone() = 0;
54 
58  virtual void Read(std::istream& is) = 0;
59 
63  virtual void Write(std::ostream& os) = 0;
64 
65  std::string get_mnemonic()
66  {
67  return _mnemonic;
68  };
69 
70 protected:
71 
72  std::string _mnemonic;
73 
74 private:
75 };
76 }
77 #endif
virtual AlosPalsarRecord * Clone()=0
This function is able to create a new instance of the class initialised with the data of the calling ...
virtual void Write(std::ostream &os)=0
Write the class to a stream.
This class is the base class of all the record classes.
virtual ~AlosPalsarRecord()
Destructor.
AlosPalsarRecord(std::string mnemonic)
Constructor.
virtual AlosPalsarRecord * Instanciate()=0
This function is able to create a new instance of the class.
std::basic_istream< char > istream
Base class for char input streams.
Definition: ossimIosFwd.h:20
virtual void Read(std::istream &is)=0
Read the class data from a stream.
std::basic_ostream< char > ostream
Base class for char output streams.
Definition: ossimIosFwd.h:23