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"
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()
|
pure virtual |
Register an image decoder class.
- Parameters
-
classInfo The ClassInfo structure of the decoder to register.
- Returns
- true if successful.
◆ UnregisterImageDecoderClass()
|
pure virtual |
Unregister a previously registered image decoder class.
- Parameters
-
classInfo The ClassInfo structure of the decoder to unregister.
- Returns
- true if successful.
◆ GetRegisteredImageDecoderClassInfoIndex() [1/2]
|
pure virtual |
Query the index of a registered image decoder class, by its ClassInfo structure.
- Parameters
-
classInfo The class info structure of the decoder class to query.
- Returns
- The zero-based index, or -1 if not registered.
◆ GetRegisteredImageDecoderClassInfoIndex() [2/2]
|
pure virtual |
Query the index of a registered image decoder class, by its class name.
- Parameters
-
className The name of the decoder class to query.
- Returns
- The zero-based index, or -1 if not registered.
◆ GetNumberOfRegisteredImageDecoderClassInfos()
|
pure virtual |
Get the total number of registered image decoder classes.
- Returns
- The number of registered decoder classes.
◆ GetRegisteredImageDecoderClassInfo()
|
pure virtual |
Get the ClassInfo structure of a registered image decoder class.
- Parameters
-
index The index to query, from 0 to GetNumberOfRegisteredImageDecoderClassInfos()-1.
- Returns
- The class info, or null if the index is out of range.
◆ RegisterImageEncoderClass()
|
pure virtual |
Register an image encoder class.
- Parameters
-
classInfo The ClassInfo structure of the encoder to register.
- Returns
- true if successful.
◆ UnregisterImageEncoderClass()
|
pure virtual |
Unregister a previously registered image encoder class.
- Parameters
-
classInfo The ClassInfo structure of the encoder to unregister.
- Returns
- true if successful.
◆ GetRegisteredImageEncoderClassInfoIndex() [1/2]
|
pure virtual |
Query the index of a registered image encoder class, by its ClassInfo structure.
- Parameters
-
classInfo The class info structure of the encoder class to query.
- Returns
- The zero-based index, or -1 if not registered.
◆ GetRegisteredImageEncoderClassInfoIndex() [2/2]
|
pure virtual |
Query the index of a registered image encoder class, by its class name.
- Parameters
-
className The name of the encoder class to query.
- Returns
- The zero-based index, or -1 if not registered.
◆ GetNumberOfRegisteredImageEncoderClassInfos()
|
pure virtual |
Get the total number of registered image encoder classes.
- Returns
- The number of registered encoder classes.
◆ GetRegisteredImageEncoderClassInfo()
|
pure virtual |
Get the ClassInfo structure of a registered image encoder class.
- Parameters
-
index The index to query, from 0 to GetNumberOfRegisteredImageEncoderClassInfos()-1.
- Returns
- The class info, or null if the index is out of range.
◆ RegisterImageDecompressorClass()
|
pure virtual |
Register an image decompressor class.
- Parameters
-
classInfo The ClassInfo structure of the decompressor to register.
- Returns
- true if successful.
◆ UnregisterImageDecompressorClass()
|
pure virtual |
Unregister a previously registered image decompressor class.
- Parameters
-
classInfo The ClassInfo structure of the decompressor to unregister.
- Returns
- true if successful.
◆ GetRegisteredImageDecompressorClassInfoIndex() [1/2]
|
pure virtual |
Query the index of a registered image decompressor class, by its ClassInfo structure.
- Parameters
-
classInfo The class info structure of the decompressor class to query.
- Returns
- The zero-based index, or -1 if not registered.
◆ GetRegisteredImageDecompressorClassInfoIndex() [2/2]
|
pure virtual |
Query the index of a registered image decompressor class, by its class name.
- Parameters
-
className The name of the decompressor class to query.
- Returns
- The zero-based index, or -1 if not registered.
◆ GetNumberOfRegisteredImageDecompressorClassInfos()
|
pure virtual |
Get the total number of registered image decompressor classes.
- Returns
- The number of registered decompressor classes.
◆ GetRegisteredImageDecompressorClassInfo()
|
pure virtual |
Get the ClassInfo structure of a registered image decompressor class.
- Parameters
-
index The index to query, from 0 to GetNumberOfRegisteredImageDecompressorClassInfos()-1.
- Returns
- The class info, or null if the index is out of range.
◆ RegisterImageCompressorClass()
|
pure virtual |
Register an image compressor class.
- Parameters
-
classInfo The ClassInfo structure of the compressor to register.
- Returns
- true if successful.
◆ UnregisterImageCompressorClass()
|
pure virtual |
Unregister a previously registered image compressor class.
- Parameters
-
classInfo The ClassInfo structure of the compressor to unregister.
- Returns
- true if successful.
◆ GetRegisteredImageCompressorClassInfoIndex() [1/2]
|
pure virtual |
Query the index of a registered image compressor class, by its ClassInfo structure.
- Parameters
-
classInfo The class info structure of the compressor class to query.
- Returns
- The zero-based index, or -1 if not registered.
◆ GetRegisteredImageCompressorClassInfoIndex() [2/2]
|
pure virtual |
Query the index of a registered image compressor class, by its class name.
- Parameters
-
className The name of the compressor class to query.
- Returns
- The zero-based index, or -1 if not registered.
◆ GetNumberOfRegisteredImageCompressorClassInfos()
|
pure virtual |
Get the total number of registered image compressor classes.
- Returns
- The number of registered compressor classes.
◆ GetRegisteredImageCompressorClassInfo()
|
pure virtual |
Get the ClassInfo structure of a registered image compressor class.
- Parameters
-
index The 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