21 static const ossimTrace traceDebug(
"ossimH5ReaderFactory:debug");
26 "ossimH5ReaderFactory",
51 <<
"ossimH5ReaderFactory::open(filename) DEBUG: entered..." 52 <<
"\ntrying ossimH5Reader" 65 if(reader->
open(fileName) ==
false)
75 <<
"ossimH5ReaderFactory::open(filename) DEBUG: leaving..." 83 const char* prefix)
const 88 <<
"ossimH5ReaderFactory::open(kwl, prefix) DEBUG: entered..." 89 <<
"Trying ossimKakaduNitfReader" 94 if(reader->
loadState(kwl, prefix) ==
false)
102 <<
"ossimH5ReaderFactory::open(kwl, prefix) DEBUG: leaving..." 113 if(typeName ==
"ossimH5Reader")
123 const char* prefix)
const 125 return this->
open(kwl, prefix);
129 std::vector<ossimString>& typeList)
const 148 if ( (ext ==
"h5") || (ext ==
"hdf5") || (ext ==
"he5") )
virtual bool open()=0
Pure virtual open.
void setOpenOverviewFlag(bool flag)
Sets theOpenOverviewFlag.
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 bool loadState(const ossimKeywordlist &kwl, const char *prefix=0)
Method to the load (recreate) the state of an object from a keyword list.
virtual void getTypeNameList(std::vector< ossimString > &typeList) const
Adds ossimH5Reader to the typeList.
This is the base class for all imagery using HDF5 as the file format.
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.
virtual bool openOverview()
Searches for an overview.
RTTI_DEF1(ossimH5ReaderFactory, "ossimH5ReaderFactory", ossimImageHandlerFactoryBase)
static ossimString downcase(const ossimString &aString)
void push_back(const T &value)
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.
OSSIMDLLEXPORT std::ostream & ossimNotify(ossimNotifyLevel level=ossimNotifyLevel_WARN)