OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimH5ReaderFactory.h
Go to the documentation of this file.
1 //----------------------------------------------------------------------------
2 //
3 // License: See top level LICENSE.txt file
4 //
5 // Author: David Burken
6 //
7 // Copied from Mingjie Su's ossimHdfReaderFactory.
8 //
9 // Description: Factory for OSSIM HDF reader using HDF5 libraries.
10 //----------------------------------------------------------------------------
11 // $Id$
12 
13 #ifndef ossimH5ReaderFactory_HEADER
14 #define ossimH5ReaderFactory_HEADER 1
15 
17 
18 class ossimString;
19 class ossimFilename;
20 class ossimKeywordlist;
21 
24 {
25 public:
26 
28  virtual ~ossimH5ReaderFactory();
29 
35 
43  virtual ossimImageHandler* open(const ossimFilename& fileName,
44  bool openOverview=true) const;
45 
52  virtual ossimImageHandler* open(const ossimKeywordlist& kwl,
53  const char* prefix=0)const;
54 
60  virtual ossimObject* createObject(const ossimString& typeName)const;
61 
68  virtual ossimObject* createObject(const ossimKeywordlist& kwl,
69  const char* prefix=0)const;
70 
75  virtual void getTypeNameList(std::vector<ossimString>& typeList)const;
76 
82  virtual void getSupportedExtensions(
84 
85 protected:
86 
94  bool hasExcludedExtension(const ossimFilename& file) const;
95 
98 
101 
103  void operator=(const ossimH5ReaderFactory&);
104 
107 
108 TYPE_DATA
109 };
110 
111 #endif /* end of #ifndef ossimH5ReaderFactory_HEADER */
112 
virtual ossimObject * createObject(const ossimString &typeName) const
createObject that takes a class name (ossimH5Reader)
virtual void getSupportedExtensions(ossimImageHandlerFactoryBase::UniqueStringList &extensionList) const
Method to add supported extension to the list, like "hdf".
Represents serializable keyword/value map.
virtual void getTypeNameList(std::vector< ossimString > &typeList) const
Adds ossimH5Reader to the typeList.
virtual ~ossimH5ReaderFactory()
virtual destructor
void operator=(const ossimH5ReaderFactory &)
hidden from use copy constructor
virtual ossimRefPtr< ossimImageHandler > openOverview(const ossimFilename &file) const
Open overview that takes a file name.
static ossimH5ReaderFactory * instance()
static method to return instance (the only one) of this class.
bool hasExcludedExtension(const ossimFilename &file) const
Method to weed out extensions that this plugin knows it does not support.
#define TYPE_DATA
Definition: ossimRtti.h:339
ossimH5ReaderFactory()
hidden from use default constructor
This class defines an abstract Handler which all image handlers(loaders) should derive from...
Factory for Hdf image reader.
static ossimH5ReaderFactory * theInstance
static instance of this class
virtual ossimImageHandler * open(const ossimFilename &fileName, bool openOverview=true) const
open that takes a file name.