Inherits Compression::DecompressionRegistrarInterface.
◆ FindDecompressionInterface() [1/2]
IDecompressionInterface* Compression::DecompressionRegistrarImpl::FindDecompressionInterface |
( |
AZStd::string_view |
algorithmName | ) |
const |
|
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
- Parameters
-
algorithmName | Name of the compression algorithm. NOTE: The compression algorithm name is not checked for uniqueness, unlike the algorithm id |
- Returns
- pointer to the decompression interface or nullptr if not found
Implements Compression::DecompressionRegistrarInterface.
◆ FindDecompressionInterface() [2/2]
IDecompressionInterface* Compression::DecompressionRegistrarImpl::FindDecompressionInterface |
( |
CompressionAlgorithmId |
compressionAlgorithmId | ) |
const |
|
overridevirtual |
Queries the decompression interface with the decompression algorithm Id
- Parameters
-
compressionAlgorithmId | unique Id of decompression interface to query |
- Returns
- pointer to the decompression interface or nullptr if not found
Implements Compression::DecompressionRegistrarInterface.
◆ IsRegistered()
bool Compression::DecompressionRegistrarImpl::IsRegistered |
( |
CompressionAlgorithmId |
compressionAlgorithmId | ) |
const |
|
overridevirtual |
Return true if there is an decompression interface registered with the specified id
- Parameters
-
compressionAlgorithmId | CompressionAlgorithmId to determine if an decompression interface is registered |
- Returns
- bool indicating if there is an decompression interface with the id registered
Implements Compression::DecompressionRegistrarInterface.
◆ UnregisterDecompressionInterface()
bool Compression::DecompressionRegistrarImpl::UnregisterDecompressionInterface |
( |
CompressionAlgorithmId |
compressionAlgorithmId | ) |
|
|
overridevirtual |
Unregisters the decompression interface with the specified id
- Parameters
-
decompressionAlgorithmId | unique Id that identifies the decompression interface |
- Returns
- true if the unregistration is successful
Implements Compression::DecompressionRegistrarInterface.
The documentation for this class was generated from the following file:
- Gems/Compression/Code/Source/Clients/DecompressionRegistrarImpl.h