47 bool ext_handled =
false;
48 for (
int i=0; (i<extensionList.
size()) && !ext_handled ; ++i)
50 if (ext == extensionList[i])
63 if(reader->
open(fileName))
76 const char* prefix)
const 96 if(typeName ==
"ossimViirsHandler")
106 const char* prefix)
const 108 return this->
open(kwl, prefix);
112 std::vector<ossimString>& typeList)
const 114 typeList.push_back(
ossimString(
"ossimViirsHandler"));
133 names.insert(names.end(), viirsRenderables.begin(), viirsRenderables.end());
virtual bool open()=0
Pure virtual open.
static ossimHdf5PluginHandlerFactory * instance()
static method to return instance (the only one) of this class.
void setOpenOverviewFlag(bool flag)
Sets theOpenOverviewFlag.
Represents serializable keyword/value map.
virtual bool loadState(const ossimKeywordlist &kwl, const char *prefix=0)
Method to the load (recreate) the state of an object from a keyword list.
virtual ossimRefPtr< ossimImageHandler > openOverview(const ossimFilename &file) const
Open overview that takes a file name.
static ossimHdf5PluginHandlerFactory * theInstance
static instance of this class
virtual bool openOverview()
Searches for an overview.
ossimHdf5PluginHandlerFactory()
hidden from use default constructor
virtual void getSupportedRenderableNames(std::vector< ossimString > &names) const
HDF5 defines different datasets depending on the sensor/format.
virtual void getSupportedExtensions(ossimImageHandlerFactoryBase::UniqueStringList &list) const
Method to add supported extension to the list, like "hdf".
ossim_uint32 size() const
const std::vector< ossimString > & getRenderableSetNames()
static ossimString downcase(const ossimString &aString)
void push_back(const T &value)
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)
RTTI_DEF1(ossimHdf5PluginHandlerFactory, "ossimHdf5HandlerFactory", ossimImageHandlerFactoryBase)
Factory for Hdf image reader.
virtual ~ossimHdf5PluginHandlerFactory()
virtual destructor
Concrete class for reading VIIRS data from HDF5 file.
virtual ossimImageHandler * open(const ossimFilename &fileName, bool openOverview=true) const
open that takes a file name.