OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimDatumFactoryInterface.h
Go to the documentation of this file.
1 //----------------------------------------------------------------------------
2 //
3 // License: See top level LICENSE.txt file
4 //
5 // Author: David Burken
6 //
7 // Description: Interface class for datum factories.
8 //
9 //----------------------------------------------------------------------------
10 // $Id$
11 
12 #ifndef ossimDatumFactoryInterface_HEADER
13 #define ossimDatumFactoryInterface_HEADER
14 
15 #include <ossim/base/ossimConstants.h> /* for OSSIM_DLL macro */
16 #include <vector>
17 
18 // Forward class declarations:
19 class ossimString;
20 class ossimDatum;
21 class ossimKeywordlist;
22 
24 {
25 public:
26 
29 
32 
38  virtual const ossimDatum* create(const ossimString& code) const = 0;
39  virtual const ossimDatum* create(const ossimKeywordlist& kwl, const char *prefix=0) const = 0;
40 
46  virtual void getList(std::vector<ossimString>& list) const = 0;
47 };
48 
49 #endif /* #ifndef ossimDatumFactoryInterface_HEADER */
ossimDatumFactoryInterface()
default constructor
Represents serializable keyword/value map.
virtual ~ossimDatumFactoryInterface()
virtual destructor
#define OSSIM_DLL