OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimMapProjectionFactory.h
Go to the documentation of this file.
1 //*******************************************************************
2 //
3 // License: MIT
4 //
5 // See LICENSE.txt file in the top level directory for more details.
6 //
7 // Author: Garrett Potts
8 //
9 // Description:
10 //
11 // class ossimProjectionFactory maintains a static list of projection
12 // makers. If a user wants to create a projection they can pass in
13 // a projection name and a datum if desired. Currently the default
14 // datum will be WGS84.
15 //*******************************************************************
16 // $Id: ossimMapProjectionFactory.h 15766 2009-10-20 12:37:09Z gpotts $
17 
18 #ifndef ossimMapProjectionFactory_HEADER
19 #define ossimMapProjectionFactory_HEADER
20 
22 
23 class ossimProjection;
24 class ossimString;
25 
27 {
28 public:
33  static ossimMapProjectionFactory* instance();
34 
35  virtual ossimProjection* createProjection(const ossimFilename& filename,
36  ossim_uint32 entryIdx)const;
42  virtual ossimProjection* createProjection(const ossimString& name)const;
44  const char* prefix = 0)const;
45  virtual ossimObject* createObject(const ossimString& typeName)const;
46 
50  virtual ossimObject* createObject(const ossimKeywordlist& kwl,
51  const char* prefix=0)const;
52 
58  virtual void getTypeNameList(std::vector<ossimString>& typeList)const;
59 
60 protected:
63 
64 };
65 
66 #endif
#define OSSIMDLLEXPORT
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
static ossimMapProjectionFactory * theInstance
virtual ossimObject * createObject(const ossimString &typeName) const =0