OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
AlosPalsarData.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 AlosPalsarData_h
14 #define AlosPalsarData_h
15 
16 #include <iostream>
17 #include <map>
18 
19 class ossimKeywordlist;
20 
21 namespace ossimplugins
22 {
23 
24 class AlosPalsarRecord;
25 class AlosPalsarDataFileDescriptor;
26 class AlosPalsarSignalData;
27 
33 {
34 public:
39 
43  virtual ~AlosPalsarData();
44 
48  friend std::ostream& operator<<(std::ostream& os, const AlosPalsarData& data);
49 
54 
58  AlosPalsarData(const AlosPalsarData& rhs);
59 
64 
68  void ClearRecords();
69 
70 
77  virtual bool saveState(ossimKeywordlist& kwl,
78  const char* prefix = 0) const;
79 
80 
83 
84 protected:
85  typedef std::map<int, AlosPalsarRecord*> RecordType;
87 
88 
90  static const int AlosPalsarSignalDataID;
91 private:
92 
93 };
94 }
95 #endif
This class is able to read the header of the Signal Data Records of the image file.
Represents serializable keyword/value map.
virtual ~AlosPalsarData()
Destructor.
friend std::ostream & operator<<(std::ostream &os, const AlosPalsarData &data)
This function write the AlosPalsarData in a stream.
This class is able to read the SAR leader file descriptor record of the leader file.
std::map< int, AlosPalsarRecord * > RecordType
static const int AlosPalsarDataFileDescriptorID
This class is able to read the Leader file of the AlosPalsar file structure.
AlosPalsarData & operator=(const AlosPalsarData &rhs)
Copy operator.
virtual bool saveState(ossimKeywordlist &kwl, const char *prefix=0) const
Method to save object state to a keyword list.
std::basic_istream< char > istream
Base class for char input streams.
Definition: ossimIosFwd.h:20
const AlosPalsarDataFileDescriptor * get_AlosPalsarDataFileDescriptor() const
static const int AlosPalsarSignalDataID
friend std::istream & operator>>(std::istream &is, AlosPalsarData &data)
This function read a AlosPalsarData from a stream.
void ClearRecords()
Remove all the previous records from the AlosPalsarData.
std::basic_ostream< char > ostream
Base class for char output streams.
Definition: ossimIosFwd.h:23
const AlosPalsarSignalData * get_AlosPalsarSignalData() const