OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimPleiadesModel.h
Go to the documentation of this file.
1 //*******************************************************************
2 // Copyright (C) 2012 Centre National Etudes Spatiales
3 //
4 // This library is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU Lesser General Public
6 // License as published by the Free Software Foundation; either
7 // version 3 of the License, or (at your option) any later version.
8 //
9 // This library is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 // Lesser General Public License for more details.
13 //
14 // You should have received a copy of the GNU Lesser General Public
15 // License along with this library; if not, write to the Free Software
16 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17 //
18 // Author : Mickael Savinaud (mickael.savinaud@c-s.fr)
19 //
20 // Description:
21 //
22 // Contains declaration of class ossimPleiadesModel.
23 //
24 //*****************************************************************************
25 // FIXME $Id: ossimSpot5Model.h 15766 2009-10-20 12:37:09Z gpotts $
26 #ifndef ossimPleiadesModel_HEADER
27 #define ossimPleiadesModel_HEADER
28 
30 
33 
35 
36 #include <iostream>
37 
38 
39 namespace ossimplugins
40 {
41  class ossimPleiadesDimapSupportData;
42 
44  {
45  public:
51 
54 
56  virtual ~ossimPleiadesModel();
57 
58  bool open(const ossimFilename& file);
59 
64  virtual ossimObject* dup() const;
65 
69  virtual std::ostream& print(std::ostream& out) const;
70 
75  virtual bool saveState(ossimKeywordlist& kwl,
76  const char* prefix=NULL) const;
77 
78  virtual bool loadState(const ossimKeywordlist& kwl,
79  const char* prefix=NULL);
80 
82  {
83  theSupportData = supportData;
84  }
86  {
87  return theSupportData.get();
88  }
90  {
91  return theSupportData.get();
92  }
93 
94  protected:
95 
96  bool parseMetaData(const ossimFilename& file);
97 
98  bool parseRpcData (const ossimFilename& file);
99 
100  // In the future
101  //bool parseJP2File (const ossimFilename& file);
102 
103  void finishConstruction();
104 
106 
108 
109 
110  TYPE_DATA
111  };
112 }
113 #endif /* #ifndef ossimPleiadesModel_HEADER */
114 
const ossimPleiadesDimapSupportData * getSupportData() const
ossimRefPtr< ossimPleiadesDimapSupportData > theSupportData
Represents serializable keyword/value map.
std::ostream & print(H5::H5File *file, std::ostream &out)
Print method.
Definition: ossimH5Util.cpp:41
void setSupportData(ossimPleiadesDimapSupportData *supportData)
ossimPleiadesDimapSupportData * getSupportData()
#define TYPE_DATA
Definition: ossimRtti.h:339
#define OSSIM_PLUGINS_DLL
std::basic_ostream< char > ostream
Base class for char output streams.
Definition: ossimIosFwd.h:23