Class CompressParametersOnMap#

Inheritance Relationships#

Base Type#

Class Documentation#

class CompressParametersOnMap : public libCZI::ICompressParameters#

Simplistic implementation of the compression-parameters property bag. Note that for high-performance scenarios it might be a good idea to re-use instances of this, or have a custom implementation without heap-allocation penalty.

Public Functions

inline virtual bool TryGetProperty(int key, CompressParameter *parameter) const override#

Attempts to get the property for the specified key from the property bag.

Parameters:
  • key – The key.

  • parameter[inout] If non-null and the key is found, then the value is put here.

Returns:

True if the key is found in the property bag; false otherwise.

Public Members

std::map<int, CompressParameter> map#

The key-value map containing “compression parameters”.