OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
ossim-plugins
cnes
src
erssar
ErsSarRecord.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 ErsSarRecord_h
13
#define ErsSarRecord_h
14
15
16
#include "
erssar/ErsSarRecordHeader.h
"
17
#include <iostream>
18
19
namespace
ossimplugins
20
{
21
27
class
ErsSarRecord
28
{
29
public
:
34
ErsSarRecord
(std::string mnemonic);
38
virtual
~ErsSarRecord
();
39
43
ErsSarRecord
(
const
ErsSarRecord
& rhs);
44
48
virtual
ErsSarRecord
*
Instanciate
() = 0;
49
53
virtual
ErsSarRecord
*
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
78
#endif
ossimplugins::ErsSarRecord::Clone
virtual ErsSarRecord * Clone()=0
This function is able to create a new instance of the class initialised with the data of the calling ...
ossimplugins::ErsSarRecord::ErsSarRecord
ErsSarRecord(std::string mnemonic)
Constructor.
Definition:
ErsSarRecord.cpp:18
ossimplugins::ErsSarRecord::_mnemonic
std::string _mnemonic
Definition:
ErsSarRecord.h:68
ossimplugins
Definition:
AlosPalsarData.cpp:26
ErsSarRecordHeader.h
ossimplugins::ErsSarRecord::Instanciate
virtual ErsSarRecord * Instanciate()=0
This function is able to create a new instance of the class.
ossimplugins::ErsSarRecord::~ErsSarRecord
virtual ~ErsSarRecord()
Destructor.
Definition:
ErsSarRecord.cpp:23
ossimplugins::ErsSarRecord
This class is the base class of all the record classes.
Definition:
ErsSarRecord.h:27
ossimplugins::ErsSarRecord::get_mnemonic
std::string get_mnemonic()
Definition:
ErsSarRecord.h:65
ossim::istream
std::basic_istream< char > istream
Base class for char input streams.
Definition:
ossimIosFwd.h:20
ossimplugins::ErsSarRecord::Read
virtual void Read(std::istream &is)=0
Read the class data from a stream.
ossimplugins::ErsSarRecord::Write
virtual void Write(std::ostream &os)=0
Write the class to a stream.
ossim::ostream
std::basic_ostream< char > ostream
Base class for char output streams.
Definition:
ossimIosFwd.h:23
Generated on Fri Aug 3 2018 08:46:44 for OSSIM - Open Source Software Image Map by
1.8.14