Registry with key-algo mapping of stored algo implementations.
More...
#include <registry.hpp>
|
virtual | ~Registry ()=default |
|
virtual void | add (const std::string &key, std::shared_ptr< RegistryAlgo > algo) |
|
virtual bool | has (const std::string &key) |
|
virtual std::shared_ptr< RegistryAlgo > | find (const std::string &key) |
|
Registry with key-algo mapping of stored algo implementations.
◆ ~Registry()
virtual spla::Registry::~Registry |
( |
| ) |
|
|
virtualdefault |
◆ add()
void spla::Registry::add |
( |
const std::string & |
key, |
|
|
std::shared_ptr< RegistryAlgo > |
algo |
|
) |
| |
|
virtual |
◆ find()
std::shared_ptr< RegistryAlgo > spla::Registry::find |
( |
const std::string & |
key | ) |
|
|
virtual |
◆ has()
bool spla::Registry::has |
( |
const std::string & |
key | ) |
|
|
virtual |
The documentation for this class was generated from the following files: