libCZI
Reading and Writing CZI documents made easy
|
#include <libCZI_compress.h>
Public Member Functions | |
virtual bool | TryGetProperty (int key, CompressParameter *parameter) const =0 |
bool | TryGetProperty (libCZI::CompressionParameterKey key, CompressParameter *parameter) const |
This interface is used for representing "compression parameters". It is a simple property bag. Possible values for the key are defined in the "CompressionParameter" class.
|
pure virtual |
Attempts to get the property for the specified key from the property bag.
key | The key. | |
[in,out] | parameter | If non-null and the key is found, then the value is put here. |
Implemented in libCZI::CompressParametersOnMap.
|
inline |
Attempts to get the property for the specified key from the property bag. This helper is casting the enum to int, facilitating the use with the enum type.
key | The key. | |
[in,out] | parameter | If non-null and the key is found, then the value is put here. |