tudocomp
– The TU Dortmund Compression Framework
|
A registry for algorithms to be made available in the driver application. More...
#include <Registry.hpp>
Public Member Functions | |
Registry (const std::string &root_type="any") | |
template<typename T > | |
void | register_algorithm () |
Registers an tdc::Algorithm. More... | |
eval::AlgorithmTypes & | algorithm_map () |
const eval::AlgorithmTypes & | algorithm_map () const |
A registry for algorithms to be made available in the driver application.
For algorithms to be made available in the driver application, they need to be registered in the application's main registry. This is done in the register_algorithm step. Any registered algorithm will also be listed in the utility's help message.
Definition at line 29 of file pre_header/Registry.hpp.
|
inline |
Definition at line 46 of file pre_header/Registry.hpp.
|
inline |
|
inline |
void tdc::Registry< algorithm_t >::register_algorithm | ( | ) |
Registers an tdc::Algorithm.
Note that the algorithm type T
needs to implement a static function called meta()
that returns a tdc::Meta information object. This meta information is used to automatically generate the documentation for the driver application's help message.
T | The algorithm to register. |