OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimTiffProjectionFactory.h
Go to the documentation of this file.
1 //*******************************************************************
2 //
3 // License: See top level LICENSE.txt file.
4 //
5 // Author: Garrett Potts
6 //
7 // Description:
8 //
9 // class ossimProjectionFactory maintains a static list of projection
10 // makers. If a user wants to create a projection they can pass in
11 // a projection name and a datum if desired. Currently the default
12 // datum will be WGS84.
13 //*******************************************************************
14 // $Id: ossimTiffProjectionFactory.h 23440 2015-07-16 19:41:16Z dburken $
15 
16 #ifndef ossimTiffProjectionFactory_HEADER
17 #define ossimTiffProjectionFactory_HEADER 1
18 
21 
22 class ossimProjection;
23 class ossimString;
24 
26 {
27 public:
32  static ossimTiffProjectionFactory* instance();
33 
34  virtual ossimProjection* createProjection(const ossimFilename& filename,
35  ossim_uint32 entryIdx)const;
41  virtual ossimProjection* createProjection(const ossimString& name)const;
43  const char* prefix = 0)const;
45 
46  virtual ossimObject* createObject(const ossimString& typeName)const;
47 
51  virtual ossimObject* createObject(const ossimKeywordlist& kwl,
52  const char* prefix=0)const;
53 
59  virtual void getTypeNameList(std::vector<ossimString>& typeList)const;
60 
61 protected:
64 
65  bool isTiff(const ossimFilename& filename)const;
66 };
67 
68 #endif
static ossimTiffProjectionFactory * theInstance
Represents serializable keyword/value map.
virtual void getTypeNameList(std::vector< ossimString > &typeList) const =0
virtual ossimProjection * createProjection(const ossimFilename &filename, ossim_uint32 entryIdx) const =0
takes a filename.
unsigned int ossim_uint32
virtual ossimObject * createObject(const ossimString &typeName) const =0
This class defines an abstract Handler which all image handlers(loaders) should derive from...
#define OSSIM_DLL