OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimKmlSuperOverlayReaderFactory.h
Go to the documentation of this file.
1 //----------------------------------------------------------------------------
2 //
3 // License: See top level LICENSE.txt file
4 //
5 // Author: Mingjie Su, Harsh Govind
6 //
7 // Description: Factory for ossim KmlSuperOverlay reader using libkml library.
8 //----------------------------------------------------------------------------
9 // $Id: ossimKmlSuperOverlayReaderFactory.h 2472 2011-04-26 15:47:50Z ming.su $
10 
11 #ifndef ossimKmlSuperOverlayReaderFactory_HEADER
12 #define ossimKmlSuperOverlayReaderFactory_HEADER
13 
15 
16 class ossimString;
17 class ossimFilename;
18 class ossimKeywordlist;
19 
22 {
23 public:
24 
27 
33 
39  virtual ossimImageHandler* open(const ossimFilename& fileName, bool openOverview=true) const;
40 
47  virtual ossimImageHandler* open(const ossimKeywordlist& kwl,
48  const char* prefix=0)const;
49 
55  virtual ossimObject* createObject(const ossimString& typeName)const;
56 
63  virtual ossimObject* createObject(const ossimKeywordlist& kwl,
64  const char* prefix=0)const;
65 
70  virtual void getTypeNameList(std::vector<ossimString>& typeList)const;
71 
77  virtual void getSupportedExtensions(
79 
80 protected:
81 
89  bool hasExcludedExtension(const ossimFilename& file) const;
90 
93 
96 
99 
102 
103 TYPE_DATA
104 };
105 
106 #endif /* end of #ifndef ossimKmlSuperOverlayReaderFactory_HEADER */
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 ~ossimKmlSuperOverlayReaderFactory()
virtual destructor
virtual ossimRefPtr< ossimImageHandler > openOverview(const ossimFilename &file) const
Open overview that takes a file name.
void operator=(const ossimKmlSuperOverlayReaderFactory &)
hidden from use copy constructor
virtual void getTypeNameList(std::vector< ossimString > &typeList) const
Adds ossimKmlSuperOverlayReader to the typeList.
#define TYPE_DATA
Definition: ossimRtti.h:339
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".