Murl::Util::IFactoryRegistry Interface Referenceabstract

The IFactoryRegistry interface provides methods to add, remove and query different utility classes that can be instantiated using the Util::IFactory implementing this interface. More...

#include "murl_util_i_factory_registry.h"

Inheritance diagram for Murl::Util::IFactoryRegistry:

Public Member Functions

virtual Bool RegisterImageDecoderClass (const IImageDecoder::ClassInfo &classInfo)=0
 Register an image decoder class. More...
 
virtual Bool UnregisterImageDecoderClass (const IImageDecoder::ClassInfo &classInfo)=0
 Unregister a previously registered image decoder class. More...
 
virtual SInt32 GetRegisteredImageDecoderClassInfoIndex (const IImageDecoder::ClassInfo &classInfo) const =0
 Query the index of a registered image decoder class, by its ClassInfo structure. More...
 
virtual SInt32 GetRegisteredImageDecoderClassInfoIndex (const String &className) const =0
 Query the index of a registered image decoder class, by its class name. More...
 
virtual UInt32 GetNumberOfRegisteredImageDecoderClassInfos () const =0
 Get the total number of registered image decoder classes. More...
 
virtual const IImageDecoder::ClassInfo * GetRegisteredImageDecoderClassInfo (UInt32 index) const =0
 Get the ClassInfo structure of a registered image decoder class. More...
 
virtual Bool RegisterImageEncoderClass (const IImageEncoder::ClassInfo &classInfo)=0
 Register an image encoder class. More...
 
virtual Bool UnregisterImageEncoderClass (const IImageEncoder::ClassInfo &classInfo)=0
 Unregister a previously registered image encoder class. More...
 
virtual SInt32 GetRegisteredImageEncoderClassInfoIndex (const IImageEncoder::ClassInfo &classInfo) const =0
 Query the index of a registered image encoder class, by its ClassInfo structure. More...
 
virtual SInt32 GetRegisteredImageEncoderClassInfoIndex (const String &className) const =0
 Query the index of a registered image encoder class, by its class name. More...
 
virtual UInt32 GetNumberOfRegisteredImageEncoderClassInfos () const =0
 Get the total number of registered image encoder classes. More...
 
virtual const IImageEncoder::ClassInfo * GetRegisteredImageEncoderClassInfo (UInt32 index) const =0
 Get the ClassInfo structure of a registered image encoder class. More...
 
virtual Bool RegisterImageDecompressorClass (const IImageDecompressor::ClassInfo &classInfo)=0
 Register an image decompressor class. More...
 
virtual Bool UnregisterImageDecompressorClass (const IImageDecompressor::ClassInfo &classInfo)=0
 Unregister a previously registered image decompressor class. More...
 
virtual SInt32 GetRegisteredImageDecompressorClassInfoIndex (const IImageDecompressor::ClassInfo &classInfo) const =0
 Query the index of a registered image decompressor class, by its ClassInfo structure. More...
 
virtual SInt32 GetRegisteredImageDecompressorClassInfoIndex (const String &className) const =0
 Query the index of a registered image decompressor class, by its class name. More...
 
virtual UInt32 GetNumberOfRegisteredImageDecompressorClassInfos () const =0
 Get the total number of registered image decompressor classes. More...
 
virtual const IImageDecompressor::ClassInfo * GetRegisteredImageDecompressorClassInfo (UInt32 index) const =0
 Get the ClassInfo structure of a registered image decompressor class. More...
 
virtual Bool RegisterImageCompressorClass (const IImageCompressor::ClassInfo &classInfo)=0
 Register an image compressor class. More...
 
virtual Bool UnregisterImageCompressorClass (const IImageCompressor::ClassInfo &classInfo)=0
 Unregister a previously registered image compressor class. More...
 
virtual SInt32 GetRegisteredImageCompressorClassInfoIndex (const IImageCompressor::ClassInfo &classInfo) const =0
 Query the index of a registered image compressor class, by its ClassInfo structure. More...
 
virtual SInt32 GetRegisteredImageCompressorClassInfoIndex (const String &className) const =0
 Query the index of a registered image compressor class, by its class name. More...
 
virtual UInt32 GetNumberOfRegisteredImageCompressorClassInfos () const =0
 Get the total number of registered image compressor classes. More...
 
virtual const IImageCompressor::ClassInfo * GetRegisteredImageCompressorClassInfo (UInt32 index) const =0
 Get the ClassInfo structure of a registered image compressor class. More...
 

Detailed Description

The IFactoryRegistry interface provides methods to add, remove and query different utility classes that can be instantiated using the Util::IFactory implementing this interface.

Member Function Documentation

◆ RegisterImageDecoderClass()

virtual Bool Murl::Util::IFactoryRegistry::RegisterImageDecoderClass ( const IImageDecoder::ClassInfo &  classInfo)
pure virtual

Register an image decoder class.

Parameters
classInfoThe ClassInfo structure of the decoder to register.
Returns
true if successful.

◆ UnregisterImageDecoderClass()

virtual Bool Murl::Util::IFactoryRegistry::UnregisterImageDecoderClass ( const IImageDecoder::ClassInfo &  classInfo)
pure virtual

Unregister a previously registered image decoder class.

Parameters
classInfoThe ClassInfo structure of the decoder to unregister.
Returns
true if successful.

◆ GetRegisteredImageDecoderClassInfoIndex() [1/2]

virtual SInt32 Murl::Util::IFactoryRegistry::GetRegisteredImageDecoderClassInfoIndex ( const IImageDecoder::ClassInfo &  classInfo) const
pure virtual

Query the index of a registered image decoder class, by its ClassInfo structure.

Parameters
classInfoThe class info structure of the decoder class to query.
Returns
The zero-based index, or -1 if not registered.

◆ GetRegisteredImageDecoderClassInfoIndex() [2/2]

virtual SInt32 Murl::Util::IFactoryRegistry::GetRegisteredImageDecoderClassInfoIndex ( const String className) const
pure virtual

Query the index of a registered image decoder class, by its class name.

Parameters
classNameThe name of the decoder class to query.
Returns
The zero-based index, or -1 if not registered.

◆ GetNumberOfRegisteredImageDecoderClassInfos()

virtual UInt32 Murl::Util::IFactoryRegistry::GetNumberOfRegisteredImageDecoderClassInfos ( ) const
pure virtual

Get the total number of registered image decoder classes.

Returns
The number of registered decoder classes.

◆ GetRegisteredImageDecoderClassInfo()

virtual const IImageDecoder::ClassInfo* Murl::Util::IFactoryRegistry::GetRegisteredImageDecoderClassInfo ( UInt32  index) const
pure virtual

Get the ClassInfo structure of a registered image decoder class.

Parameters
indexThe index to query, from 0 to GetNumberOfRegisteredImageDecoderClassInfos()-1.
Returns
The class info, or null if the index is out of range.

◆ RegisterImageEncoderClass()

virtual Bool Murl::Util::IFactoryRegistry::RegisterImageEncoderClass ( const IImageEncoder::ClassInfo &  classInfo)
pure virtual

Register an image encoder class.

Parameters
classInfoThe ClassInfo structure of the encoder to register.
Returns
true if successful.

◆ UnregisterImageEncoderClass()

virtual Bool Murl::Util::IFactoryRegistry::UnregisterImageEncoderClass ( const IImageEncoder::ClassInfo &  classInfo)
pure virtual

Unregister a previously registered image encoder class.

Parameters
classInfoThe ClassInfo structure of the encoder to unregister.
Returns
true if successful.

◆ GetRegisteredImageEncoderClassInfoIndex() [1/2]

virtual SInt32 Murl::Util::IFactoryRegistry::GetRegisteredImageEncoderClassInfoIndex ( const IImageEncoder::ClassInfo &  classInfo) const
pure virtual

Query the index of a registered image encoder class, by its ClassInfo structure.

Parameters
classInfoThe class info structure of the encoder class to query.
Returns
The zero-based index, or -1 if not registered.

◆ GetRegisteredImageEncoderClassInfoIndex() [2/2]

virtual SInt32 Murl::Util::IFactoryRegistry::GetRegisteredImageEncoderClassInfoIndex ( const String className) const
pure virtual

Query the index of a registered image encoder class, by its class name.

Parameters
classNameThe name of the encoder class to query.
Returns
The zero-based index, or -1 if not registered.

◆ GetNumberOfRegisteredImageEncoderClassInfos()

virtual UInt32 Murl::Util::IFactoryRegistry::GetNumberOfRegisteredImageEncoderClassInfos ( ) const
pure virtual

Get the total number of registered image encoder classes.

Returns
The number of registered encoder classes.

◆ GetRegisteredImageEncoderClassInfo()

virtual const IImageEncoder::ClassInfo* Murl::Util::IFactoryRegistry::GetRegisteredImageEncoderClassInfo ( UInt32  index) const
pure virtual

Get the ClassInfo structure of a registered image encoder class.

Parameters
indexThe index to query, from 0 to GetNumberOfRegisteredImageEncoderClassInfos()-1.
Returns
The class info, or null if the index is out of range.

◆ RegisterImageDecompressorClass()

virtual Bool Murl::Util::IFactoryRegistry::RegisterImageDecompressorClass ( const IImageDecompressor::ClassInfo &  classInfo)
pure virtual

Register an image decompressor class.

Parameters
classInfoThe ClassInfo structure of the decompressor to register.
Returns
true if successful.

◆ UnregisterImageDecompressorClass()

virtual Bool Murl::Util::IFactoryRegistry::UnregisterImageDecompressorClass ( const IImageDecompressor::ClassInfo &  classInfo)
pure virtual

Unregister a previously registered image decompressor class.

Parameters
classInfoThe ClassInfo structure of the decompressor to unregister.
Returns
true if successful.

◆ GetRegisteredImageDecompressorClassInfoIndex() [1/2]

virtual SInt32 Murl::Util::IFactoryRegistry::GetRegisteredImageDecompressorClassInfoIndex ( const IImageDecompressor::ClassInfo &  classInfo) const
pure virtual

Query the index of a registered image decompressor class, by its ClassInfo structure.

Parameters
classInfoThe class info structure of the decompressor class to query.
Returns
The zero-based index, or -1 if not registered.

◆ GetRegisteredImageDecompressorClassInfoIndex() [2/2]

virtual SInt32 Murl::Util::IFactoryRegistry::GetRegisteredImageDecompressorClassInfoIndex ( const String className) const
pure virtual

Query the index of a registered image decompressor class, by its class name.

Parameters
classNameThe name of the decompressor class to query.
Returns
The zero-based index, or -1 if not registered.

◆ GetNumberOfRegisteredImageDecompressorClassInfos()

virtual UInt32 Murl::Util::IFactoryRegistry::GetNumberOfRegisteredImageDecompressorClassInfos ( ) const
pure virtual

Get the total number of registered image decompressor classes.

Returns
The number of registered decompressor classes.

◆ GetRegisteredImageDecompressorClassInfo()

virtual const IImageDecompressor::ClassInfo* Murl::Util::IFactoryRegistry::GetRegisteredImageDecompressorClassInfo ( UInt32  index) const
pure virtual

Get the ClassInfo structure of a registered image decompressor class.

Parameters
indexThe index to query, from 0 to GetNumberOfRegisteredImageDecompressorClassInfos()-1.
Returns
The class info, or null if the index is out of range.

◆ RegisterImageCompressorClass()

virtual Bool Murl::Util::IFactoryRegistry::RegisterImageCompressorClass ( const IImageCompressor::ClassInfo &  classInfo)
pure virtual

Register an image compressor class.

Parameters
classInfoThe ClassInfo structure of the compressor to register.
Returns
true if successful.

◆ UnregisterImageCompressorClass()

virtual Bool Murl::Util::IFactoryRegistry::UnregisterImageCompressorClass ( const IImageCompressor::ClassInfo &  classInfo)
pure virtual

Unregister a previously registered image compressor class.

Parameters
classInfoThe ClassInfo structure of the compressor to unregister.
Returns
true if successful.

◆ GetRegisteredImageCompressorClassInfoIndex() [1/2]

virtual SInt32 Murl::Util::IFactoryRegistry::GetRegisteredImageCompressorClassInfoIndex ( const IImageCompressor::ClassInfo &  classInfo) const
pure virtual

Query the index of a registered image compressor class, by its ClassInfo structure.

Parameters
classInfoThe class info structure of the compressor class to query.
Returns
The zero-based index, or -1 if not registered.

◆ GetRegisteredImageCompressorClassInfoIndex() [2/2]

virtual SInt32 Murl::Util::IFactoryRegistry::GetRegisteredImageCompressorClassInfoIndex ( const String className) const
pure virtual

Query the index of a registered image compressor class, by its class name.

Parameters
classNameThe name of the compressor class to query.
Returns
The zero-based index, or -1 if not registered.

◆ GetNumberOfRegisteredImageCompressorClassInfos()

virtual UInt32 Murl::Util::IFactoryRegistry::GetNumberOfRegisteredImageCompressorClassInfos ( ) const
pure virtual

Get the total number of registered image compressor classes.

Returns
The number of registered compressor classes.

◆ GetRegisteredImageCompressorClassInfo()

virtual const IImageCompressor::ClassInfo* Murl::Util::IFactoryRegistry::GetRegisteredImageCompressorClassInfo ( UInt32  index) const
pure virtual

Get the ClassInfo structure of a registered image compressor class.

Parameters
indexThe index to query, from 0 to GetNumberOfRegisteredImageCompressorClassInfos()-1.
Returns
The class info, or null if the index is out of range.

The documentation for this interface was generated from the following file:
  • murl_util_i_factory_registry.h


Copyright © 2011-2024 Spraylight GmbH.