21 static const ossimTrace traceDebug(
"ossimKmlSuperOverlayReaderFactory:debug");
26 "ossimKmlSuperOverlayReaderFactory",
51 <<
"ossimKmlSuperOverlayReaderFactory::open(filename) DEBUG: entered..." 52 <<
"\ntrying ossimKakaduNitfReader" 61 if(reader->
open(fileName) ==
false)
70 <<
"ossimKmlSuperOverlayReaderFactory::open(filename) DEBUG: leaving..." 78 const char* prefix)
const 83 <<
"ossimKmlSuperOverlayReaderFactory::open(kwl, prefix) DEBUG: entered..." 84 <<
"Trying ossimKakaduNitfReader" 89 if(reader->
loadState(kwl, prefix) ==
false)
97 <<
"ossimKmlSuperOverlayReaderFactory::open(kwl, prefix) DEBUG: leaving..." 108 if(typeName ==
"ossimKmlSuperOverlayReader")
118 const char* prefix)
const 120 return this->
open(kwl, prefix);
124 std::vector<ossimString>& typeList)
const 126 typeList.push_back(
ossimString(
"ossimKmlSuperOverlayReader"));
141 if (ext ==
"kml" || ext ==
"kmz")
virtual bool open()=0
Pure virtual open.
RTTI_DEF1(ossimKmlSuperOverlayReaderFactory, "ossimKmlSuperOverlayReaderFactory", ossimImageHandlerFactoryBase)
ossimKmlSuperOverlayReaderFactory()
hidden from use default constructor
Represents serializable keyword/value map.
bool hasExcludedExtension(const ossimFilename &file) const
Method to weed out extensions that this plugin knows it does not support.
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 ~ossimKmlSuperOverlayReaderFactory()
virtual destructor
void operator=(const ossimKmlSuperOverlayReaderFactory &)
hidden from use copy constructor
virtual void getTypeNameList(std::vector< ossimString > &typeList) const
Adds ossimKmlSuperOverlayReader to the typeList.
static ossimString downcase(const ossimString &aString)
void push_back(const T &value)
virtual ossimImageHandler * open(const ossimFilename &fileName, bool openOverview=true) const
open that takes a file name.
static ossimKmlSuperOverlayReaderFactory * instance()
static method to return instance (the only one) of this class.
This class defines an abstract Handler which all image handlers(loaders) should derive from...
Factory for Kml SuperOverlay reader.
virtual ossimObject * createObject(const ossimString &typeName) const
createObject that takes a class name (ossimKmlSuperOverlayReader)
static ossimKmlSuperOverlayReaderFactory * theInstance
static instance of this class
virtual void getSupportedExtensions(ossimImageHandlerFactoryBase::UniqueStringList &extensionList) const
Method to add supported extension to the list, like "kml" or "kmz".
OSSIMDLLEXPORT std::ostream & ossimNotify(ossimNotifyLevel level=ossimNotifyLevel_WARN)