OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimCodecFactory.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: David Burken
8 //
9 // Description: Factory class declaration for codec(encoder/decoder).
10 //
11 //----------------------------------------------------------------------------
12 // $Id$
13 #ifndef ossimCodecFactory_HEADER
14 #define ossimCodecFactory_HEADER 1
15 
18 
19 class ossimFilename;
20 class ossimCodecBase;
21 
26 {
27 public:
28 
30  virtual ~ossimCodecFactory();
31 
35  static ossimCodecFactory* instance();
36 
43  virtual ossimCodecBase* createCodec(const ossimString& type)const;
44 
45 
54  virtual ossimCodecBase* createCodec(const ossimKeywordlist& kwl, const char* prefix=0)const;
55 
56  virtual void getTypeNameList(std::vector<ossimString>& typeNames)const;
57 
58 private:
59 
62 
65 
67  const ossimCodecFactory& operator=(const ossimCodecFactory& rhs);
68 
71 };
72 
73 #endif /* End of "#ifndef ossimCodecFactory_HEADER" */
Represents serializable keyword/value map.
virtual ossimCodecBase * createCodec(const ossimString &type) const =0
static ossimCodecFactory * theInstance
The single instance of this class.
Codec factory.
#define OSSIM_DLL
virtual void getTypeNameList(std::vector< ossimString > &typeNames) const =0