/usr/include/ossim/imaging/ossimCodecFactoryRegistry.h is in libossim-dev 2.2.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | #ifndef ossimCodecFactoryRegistry_HEADER
#define ossimCodecFactoryRegistry_HEADER
#include <ossim/base/ossimFactoryListInterface.h>
#include <ossim/imaging/ossimCodecBase.h>
#include <ossim/imaging/ossimCodecFactoryInterface.h>
class OSSIM_DLL ossimCodecFactoryRegistry : public ossimFactoryListInterface<ossimCodecFactoryInterface,
ossimCodecBase>
{
public:
static ossimCodecFactoryRegistry* instance();
virtual ~ossimCodecFactoryRegistry();
/**
* Will loop through all registered factories trying to allocate a codec for the passed
* in type.
*
* @param in type. Type of Codec to allocate.
* @return ossimCodecBase. Newly allocated Codec
*/
virtual ossimCodecBase* createCodec(const ossimString& type)const;
/**
* Will loop through all registered factories trying to allocate a codec for the passed
* in type in the type keyword of the keywordlist.
*
* @param in kwl. State infromation to load when allocating the codec
* @param in prefix. prefix value for all keys
*
* @return ossimCodecBase. Newly allocated codec
*/
virtual ossimCodecBase* createCodec(const ossimKeywordlist& kwl, const char* prefix=0)const;
/**
* Loop through all factories and get a list of supported types.
*
* @param out typeNames. The resulting typename list. Values will be appended.
*/
virtual void getTypeNameList(std::vector<ossimString>& typeNames)const;
private:
/** hidden from use default constructor */
ossimCodecFactoryRegistry();
/** hidden from use copy constructor */
ossimCodecFactoryRegistry(const ossimCodecFactoryRegistry& obj);
/** hidden from use operator = */
const ossimCodecFactoryRegistry& operator=(const ossimCodecFactoryRegistry& rhs);
static ossimCodecFactoryRegistry* m_instance;
};
#endif
|