Elektra
0.9.11
|
Highlevel interface to build a backend. More...
#include <backendbuilder.hpp>
Public Member Functions | |
void | addPlugin (PluginSpec const &plugin) |
Add a plugin. More... | |
std::vector< std::string > | resolveNeeds (bool addRecommends=true) |
resolve all needs that were not resolved by adding plugins. More... | |
Highlevel interface to build a backend.
Automatically reorders plugins and has different modes which Backend should be built.
|
virtual |
Add a plugin.
Will automatically resolve virtual plugins to actual plugins.
Also calls the checkconf function if provided by the plugin. The checkconf function has the following signature: int checkconf (Key * errorKey, KeySet * config) and allows a plugin to verify its configuration at mount time.
plugin |
Implements kdb::tools::BackendInterface.
Reimplemented in kdb::tools::MountBackendBuilder.
std::vector< std::string > kdb::tools::BackendBuilder::resolveNeeds | ( | bool | addRecommends = true | ) |
resolve all needs that were not resolved by adding plugins.
empty | if addRecommends was false |