Elektra
0.9.0
|
A plugin database that works with added fake data. More...
#include <plugindatabase.hpp>
Public Member Functions | |
std::vector< std::string > | listAllPlugins () const |
list all plugins More... | |
std::string | lookupInfo (PluginSpec const &spec, std::string const &which) const |
lookup contract clauses or dynamic information More... | |
func_t | getSymbol (PluginSpec const &whichplugin, std::string const &which) const |
get exported plugin symbol More... | |
Public Member Functions inherited from kdb::tools::ModulesPluginDatabase | |
PluginSpec | lookupMetadata (std::string const &which) const |
lookup which plugin handles metadata More... | |
PluginSpec | lookupProvides (std::string const &provides) const |
lookup which plugin is a provider for that plugin More... | |
std::map< int, PluginSpec > | lookupAllProvidesWithStatus (std::string const &provides) const |
looks up all plugins which are a suitable provider More... | |
std::vector< PluginSpec > | lookupAllProvides (std::string const &provides) const |
looks up all plugins which are a suitable provider More... | |
Public Attributes | |
std::unordered_map< PluginSpec, std::unordered_map< std::string, std::string >, PluginSpecHash, PluginSpecName > | data |
only data from here will be returned More... | |
Additional Inherited Members | |
Public Types inherited from kdb::tools::PluginDatabase | |
enum | Status { provides, real, missing } |
Static Public Member Functions inherited from kdb::tools::PluginDatabase | |
static int | calculateStatus (std::string statusString) |
A plugin database that works with added fake data.
|
virtual |
get exported plugin symbol
whichplugin | from which plugin? |
which | which symbol would you like to look up? |
Reimplemented from kdb::tools::ModulesPluginDatabase.
|
virtual |
list all plugins
If Elektra is compiled with plugins, it will search for shared libraries. In any case, if no shared libraries were found it will fallback to an internal list (plugins that were compiled together with Elektra).
Reimplemented from kdb::tools::ModulesPluginDatabase.
|
virtual |
lookup contract clauses or dynamic information
whichplugin | about which plugin? |
which | about which clause in the contract? |
Reimplemented from kdb::tools::ModulesPluginDatabase.
|
mutable |
only data from here will be returned