|
| libpressio_compressor_plugin (libpressio_compressor_plugin const &plugin) |
|
libpressio_compressor_plugin & | operator= (libpressio_compressor_plugin const &plugin) |
|
| libpressio_compressor_plugin (libpressio_compressor_plugin &&plugin) noexcept |
|
libpressio_compressor_plugin & | operator= (libpressio_compressor_plugin &&plugin) noexcept |
|
virtual | ~libpressio_compressor_plugin () |
|
struct pressio_options | get_metrics_options () const |
|
struct pressio_options | get_options () const override final |
|
int | check_options (struct pressio_options const &options) override final |
|
struct pressio_options | get_configuration () const override final |
|
struct pressio_options | get_documentation () const override final |
|
int | set_options (struct pressio_options const &options) override final |
|
int | set_metrics_options (struct pressio_options const &options) |
|
int | compress (struct pressio_data const *input, struct pressio_data *output) |
|
int | decompress (struct pressio_data const *input, struct pressio_data *output) |
|
template<class InputRandomAccessIterator , class InputRandomAccessIteratorEnd , class OutputRandomAccessIterator , class OutputRandomAccessIteratorEnd > |
int | compress_many (InputRandomAccessIterator in_begin, InputRandomAccessIteratorEnd in_end, OutputRandomAccessIterator out_begin, OutputRandomAccessIteratorEnd out_end) |
|
template<class InputRandomAccessIterator , class InputRandomAccessIteratorEnd , class OutputRandomAccessIterator , class OutputRandomAccessIteratorEnd > |
int | decompress_many (InputRandomAccessIterator in_begin, InputRandomAccessIteratorEnd in_end, OutputRandomAccessIterator out_begin, OutputRandomAccessIteratorEnd out_end) |
|
struct pressio_options | get_metrics_results () const |
|
struct pressio_metrics && | get_metrics () && |
|
struct pressio_metrics | get_metrics () const & |
|
void | set_metrics (struct pressio_metrics &plugin) |
|
void | set_metrics (struct pressio_metrics &&plugin) |
|
virtual std::shared_ptr< libpressio_compressor_plugin > | clone ()=0 |
|
void | set_name (std::string const &new_name) override final |
|
virtual const char * | prefix () const =0 |
|
std::string const & | get_name () const |
|
virtual void | set_name (std::string const &new_name) |
|
virtual void | set_name_impl (std::string const &new_name) |
|
virtual struct pressio_options | get_configuration () const |
|
virtual struct pressio_options | get_documentation () const |
|
virtual int | check_options (struct pressio_options const &) |
|
virtual struct pressio_options | get_options () const |
|
virtual int | set_options (struct pressio_options const &options) |
|
int | cast_options (pressio_options const &early_config, pressio_options const &config) |
|
const char * | error_msg () const |
|
int | error_code () const |
|
virtual | ~pressio_versionable ()=default |
|
virtual const char * | version () const =0 |
|
virtual uint64_t | epoch_version () const |
|
virtual int | major_version () const |
|
virtual int | minor_version () const |
|
virtual int | patch_version () const |
|
|
virtual struct pressio_options | get_options_impl () const =0 |
|
virtual struct pressio_options | get_documentation_impl () const =0 |
|
virtual struct pressio_options | get_configuration_impl () const =0 |
|
virtual int | set_options_impl (struct pressio_options const &options)=0 |
|
virtual int | compress_impl (const pressio_data *input, struct pressio_data *output)=0 |
|
virtual int | decompress_impl (const pressio_data *input, struct pressio_data *output)=0 |
|
virtual int | check_options_impl (struct pressio_options const &) |
|
virtual struct pressio_options | get_metrics_results_impl () const |
|
virtual int | decompress_many_impl (compat::span< const pressio_data *const > const &inputs, compat::span< pressio_data * > &outputs) |
|
virtual int | compress_many_impl (compat::span< const pressio_data *const > const &inputs, compat::span< pressio_data * > &outputs) |
|
template<class StringType > |
void | set (pressio_options &options, StringType const &key, pressio_option const &value) const |
|
template<class StringType > |
void | set_type (pressio_options &options, StringType const &key, pressio_option_type type) const |
|
template<class StringType , class PointerType > |
enum pressio_options_key_status | get (pressio_options const &options, StringType &&key, PointerType value) const |
|
template<class StringType , class Wrapper , class... Args> |
void | set_meta (pressio_options &options, StringType &&key, std::string const ¤t_id, Wrapper const ¤t_value, Args &&... args) const |
|
template<class StringType , class Wrapper , class... Args> |
void | set_meta_docs (pressio_options &options, StringType &&key, std::string const &docstring, Wrapper const ¤t_value, Args &&... args) const |
|
template<class StringType , class Wrapper , class Registry , class... Args> |
void | set_meta_configuration (pressio_options &options, StringType &&key, Registry const ®istry, Wrapper const ¤t_value) const |
|
template<class StringType , class Wrapper , class Registry , class... Args> |
void | set_meta_many_configuration (pressio_options &options, StringType &&key, Registry const ®istry, std::vector< Wrapper > const ¤t_values) const |
|
template<class StringType , class Wrapper , class... Args> |
void | set_meta_many_docs (pressio_options &options, StringType &&key, std::string const &docstring, std::vector< Wrapper > const ¤t_values, Args &&... args) const |
|
template<class StringType , class Wrapper , class... Args> |
void | set_meta_many (pressio_options &options, StringType &&key, std::vector< std::string > const ¤t_ids, std::vector< Wrapper > const ¤t_values, Args &&... args) const |
|
template<class StringType , class Registry , class Wrapper > |
pressio_options_key_status | get_meta (pressio_options const &options, StringType &&key, Registry const ®istry, std::string ¤t_id, Wrapper ¤t_value) |
|
template<class StringType , class Registry , class Wrapper > |
pressio_options_key_status | get_meta_many (pressio_options const &options, StringType &&key, Registry const ®istry, std::vector< std::string > ¤t_ids, std::vector< Wrapper > ¤t_values) |
|
template<class T > |
void | set_names_many (std::string const &name, std::vector< T > &plugins, std::vector< std::string > const &names) const |
|
std::string | get_metrics_key_name () const |
|
int | set_error (int code, std::string const &msg) |
|
void | clear_error () |
|
plugin to provide a new compressor