OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
Public Member Functions | List of all members
ossimCodecFactoryInterface Class Referenceabstract

Codec factory interface. More...

#include <ossimCodecFactoryInterface.h>

Inheritance diagram for ossimCodecFactoryInterface:
ossimCodecFactory ossimKakaduCodecFactory ossimPngCodecFactory

Public Member Functions

 ossimCodecFactoryInterface ()
 default constructor More...
 
virtual ~ossimCodecFactoryInterface ()
 virtual destructor More...
 
virtual ossimObjectcreateObject (const ossimString &type) const
 This is a bridge to the generic factory list interface that trys to call createObject. More...
 
virtual ossimObjectcreateObject (const ossimKeywordlist &kwl, const char *prefix=0) const
 This is a bridge to the generic factory list interface that trys to call createObject. More...
 
virtual ossimCodecBasecreateCodec (const ossimString &type) const =0
 
virtual ossimCodecBasecreateCodec (const ossimKeywordlist &kwl, const char *prefix=0) const =0
 
virtual void getTypeNameList (std::vector< ossimString > &typeNames) const =0
 

Detailed Description

Codec factory interface.

Definition at line 27 of file ossimCodecFactoryInterface.h.

Constructor & Destructor Documentation

◆ ossimCodecFactoryInterface()

ossimCodecFactoryInterface::ossimCodecFactoryInterface ( )
inline

default constructor

Definition at line 32 of file ossimCodecFactoryInterface.h.

32 {}

◆ ~ossimCodecFactoryInterface()

virtual ossimCodecFactoryInterface::~ossimCodecFactoryInterface ( )
inlinevirtual

virtual destructor

Definition at line 35 of file ossimCodecFactoryInterface.h.

35 {}

Member Function Documentation

◆ createCodec() [1/2]

virtual ossimCodecBase* ossimCodecFactoryInterface::createCodec ( const ossimString type) const
pure virtual

◆ createCodec() [2/2]

virtual ossimCodecBase* ossimCodecFactoryInterface::createCodec ( const ossimKeywordlist kwl,
const char *  prefix = 0 
) const
pure virtual

◆ createObject() [1/2]

ossimObject * ossimCodecFactoryInterface::createObject ( const ossimString type) const
virtual

This is a bridge to the generic factory list interface that trys to call createObject.

We will bridge it in this interface to just call createCodec. These are not pure virtual.

Definition at line 5 of file ossimCodecFactoryInterface.cpp.

References createCodec().

6 {
7  return createCodec(type);
8 }
virtual ossimCodecBase * createCodec(const ossimString &type) const =0

◆ createObject() [2/2]

ossimObject * ossimCodecFactoryInterface::createObject ( const ossimKeywordlist kwl,
const char *  prefix = 0 
) const
virtual

This is a bridge to the generic factory list interface that trys to call createObject.

We will bridge it in this interface to just call createCodec. These are not pure virtual.

Definition at line 10 of file ossimCodecFactoryInterface.cpp.

References createCodec().

11 {
12  return createCodec(kwl, prefix);
13 }
virtual ossimCodecBase * createCodec(const ossimString &type) const =0

◆ getTypeNameList()

virtual void ossimCodecFactoryInterface::getTypeNameList ( std::vector< ossimString > &  typeNames) const
pure virtual

The documentation for this class was generated from the following files: