13#ifndef ML_DATA_COMPRESSOR_FACTORY_H
14#define ML_DATA_COMPRESSOR_FACTORY_H
24ML_UTILS_START_NAMESPACE
30 class CompressionRegisterEntry;
126ML_UTILS_END_NAMESPACE
#define MLDATA_COMPRESSOR_EXPORT
Factory for ML data compression algorithms.
static std::vector< CompressionRegisterEntry >::iterator _findCompressorType(const std::string &typeName)
static std::vector< CompressionRegisterEntry > _dataCompressorTypes
The list of runtime types of available DataCompressors.
static MLErrorCode unregisterCompressor(const RuntimeType &rtType)
static std::vector< CompressionRegisterEntry >::const_iterator findCompressorTypeConst(const RuntimeType &rtType)
static std::vector< std::string > getRegisteredDataCompressorNames()
Returns a list of all names of currently registered DataCompressors.
static const std::vector< CompressionRegisterEntry > & getRegisteredDataCompressors()
Provides constant access to the list of available DataCompressors.
static DataCompressor * createCompressor(const std::string &typeName, MLErrorCode *errCode=nullptr)
Factory and registration support for data compressors.
static MLErrorCode registerCompressor(const RuntimeType *rtType)
static std::vector< CompressionRegisterEntry >::iterator _findCompressorType(const RuntimeType &rtType)
static std::vector< CompressionRegisterEntry >::const_iterator findCompressorTypeConst(const std::string &typeName)
static DataCompressor * _createCompressor(const RuntimeType *rtType, MLErrorCode &err)
MLint32 MLErrorCode
Type of an ML Error code.
#define ML_CLASS_HEADER(className)