HashFactory class
#include <eckit/utils/Hash.h>
Public static functions
- static auto instance() -> HashFactory&
Public functions
-
void add(const std::
string& name, HashBuilderBase* builder) -
void remove(const std::
string& name) -
auto has(const std::
string& name) -> bool -
void list(std::
ostream&) - auto build() -> Hash*
-
auto build(const std::
string& name) -> Hash* -
auto build(const std::
string& name, const std:: string& param) -> Hash*
Function documentation
Hash* eckit:: HashFactory:: build(const std:: string& name)
| Parameters | |
|---|---|
| name | hash function name |
| Returns | hash function built by specified builder |
Hash* eckit:: HashFactory:: build(const std:: string& name,
const std:: string& param)
| Parameters | |
|---|---|
| name | hash function name |
| param | the initialization string, passed directly to the hash function constructor |
| Returns | hash function built by specified builder |