OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimHdf5PluginHandlerFactory.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 ossimHdf5HandlerFactory_HEADER
14 #define ossimHdf5HandlerFactory_HEADER 1
15 
17 
18 class ossimString;
19 class ossimFilename;
20 class ossimKeywordlist;
21 
24 {
25 public:
26 
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 
83 
88  virtual void getSupportedRenderableNames(std::vector<ossimString>& names) const;
89 
90 protected:
91 
94 
97 
100 
103 
104 TYPE_DATA
105 };
106 
107 #endif /* end of #ifndef ossimHdf5HandlerFactory_HEADER */
108 
static ossimHdf5PluginHandlerFactory * instance()
static method to return instance (the only one) of this class.
Represents serializable keyword/value map.
virtual ossimRefPtr< ossimImageHandler > openOverview(const ossimFilename &file) const
Open overview that takes a file name.
static ossimHdf5PluginHandlerFactory * theInstance
static instance of this class
ossimHdf5PluginHandlerFactory()
hidden from use default constructor
virtual void getSupportedRenderableNames(std::vector< ossimString > &names) const
HDF5 defines different datasets depending on the sensor/format.
#define TYPE_DATA
Definition: ossimRtti.h:339
virtual void getSupportedExtensions(ossimImageHandlerFactoryBase::UniqueStringList &list) const
Method to add supported extension to the list, like "hdf".
virtual void getTypeNameList(std::vector< ossimString > &typeList) const
Adds ossimH5Reader to the typeList.
void operator=(const ossimHdf5PluginHandlerFactory &)
hidden from use copy constructor
This class defines an abstract Handler which all image handlers(loaders) should derive from...
virtual ossimObject * createObject(const ossimString &typeName) const
createObject that takes a class name (ossimH5Reader)
Factory for Hdf image reader.
virtual ~ossimHdf5PluginHandlerFactory()
virtual destructor
virtual ossimImageHandler * open(const ossimFilename &fileName, bool openOverview=true) const
open that takes a file name.