Inherits Compression::DecompressionRegistrarInterface.
Classes | |
struct | DecompressionInterfaceDeleter |
Public Member Functions | |
AZ_TYPE_INFO_WITH_NAME_DECL (DecompressionRegistrarImpl) | |
AZ_RTTI_NO_TYPE_INFO_DECL () | |
void | VisitDecompressionInterfaces (const VisitDecompressionInterfaceCallback &) const override |
Invokes the supplied visitor for each register decompression interface that is non-nullptr. | |
AZ::Outcome< void, AZStd::unique_ptr< IDecompressionInterface > > | RegisterDecompressionInterface (CompressionAlgorithmId algorithmId, AZStd::unique_ptr< IDecompressionInterface > decompressionInterface) override |
Registers a decompression interface with a standard deleter. | |
bool | RegisterDecompressionInterface (CompressionAlgorithmId algorithmId, IDecompressionInterface &decompressionInterface) override |
Registers a decompression interface with a null deleter. | |
bool | UnregisterDecompressionInterface (CompressionAlgorithmId algorithmId) override |
IDecompressionInterface * | FindDecompressionInterface (CompressionAlgorithmId algorithmId) const override |
IDecompressionInterface * | FindDecompressionInterface (AZStd::string_view algorithmName) const override |
bool | IsRegistered (CompressionAlgorithmId algorithmId) const override |
Public Member Functions inherited from Compression::DecompressionRegistrarInterface | |
AZ_TYPE_INFO_WITH_NAME_DECL (DecompressionRegistrarInterface) | |
AZ_RTTI_NO_TYPE_INFO_DECL () | |
virtual void | VisitDecompressionInterfaces (const VisitDecompressionInterfaceCallback &) const =0 |
Invokes the supplied visitor for each register decompression interface that is non-nullptr. | |
virtual AZ::Outcome< void, AZStd::unique_ptr< IDecompressionInterface > > | RegisterDecompressionInterface (CompressionAlgorithmId compressionAlgorithmId, AZStd::unique_ptr< IDecompressionInterface > decompressionInterface)=0 |
virtual bool | RegisterDecompressionInterface (CompressionAlgorithmId compressionAlgorithmId, IDecompressionInterface &decompressionInterface)=0 |
virtual bool | UnregisterDecompressionInterface (CompressionAlgorithmId compressionAlgorithmId)=0 |
virtual IDecompressionInterface * | FindDecompressionInterface (CompressionAlgorithmId compressionAlgorithmId) const =0 |
virtual IDecompressionInterface * | FindDecompressionInterface (AZStd::string_view algorithmName) const =0 |
virtual bool | IsRegistered (CompressionAlgorithmId compressionAlgorithmId) const =0 |
Public Attributes | |
AZ_CLASS_ALLOCATOR_DECL | |
Additional Inherited Members | |
Public Types inherited from Compression::DecompressionRegistrarInterface | |
using | VisitDecompressionInterfaceCallback = AZStd::function< bool(IDecompressionInterface &)> |
|
overridevirtual |
Queries the decompression interface using the name of the compression algorithm This is slower than the using the compression algorithm ID. Furthermore the algorithm name doesn't have to be unique, so this will return the first compression interface associated with the algorithm name
algorithmName | Name of the compression algorithm. NOTE: The compression algorithm name is not checked for uniqueness, unlike the algorithm id |
Implements Compression::DecompressionRegistrarInterface.
|
overridevirtual |
Queries the decompression interface with the decompression algorithm Id
compressionAlgorithmId | unique Id of decompression interface to query |
Implements Compression::DecompressionRegistrarInterface.
|
overridevirtual |
Return true if there is an decompression interface registered with the specified id
compressionAlgorithmId | CompressionAlgorithmId to determine if an decompression interface is registered |
Implements Compression::DecompressionRegistrarInterface.
|
overridevirtual |
Registers a decompression interface with a standard deleter.
Implements Compression::DecompressionRegistrarInterface.
|
overridevirtual |
Registers a decompression interface with a null deleter.
Implements Compression::DecompressionRegistrarInterface.
|
overridevirtual |
Unregisters the decompression interface with the specified id
decompressionAlgorithmId | unique Id that identifies the decompression interface |
Implements Compression::DecompressionRegistrarInterface.
|
overridevirtual |
Invokes the supplied visitor for each register decompression interface that is non-nullptr.
Implements Compression::DecompressionRegistrarInterface.