Scroll to navigation

kdb::tools::MountBackendBuilder(3elektra) Elektra kdb::tools::MountBackendBuilder(3elektra)

NAME

kdb::tools::MountBackendBuilder - High-level functionality to build a mountpoint.

SYNOPSIS

#include <backendbuilder.hpp>

Inherits kdb::tools::MountBackendInterface, and kdb::tools::BackendBuilder.

Inherited by kdb::tools::SpecBackendBuilder.

Public Member Functions


void addPlugin (PluginSpec const &spec)
Add a plugin.

Detailed Description

High-level functionality to build a mountpoint.

will enforce resolver and storage to be present

Member Function Documentation

void kdb::tools::MountBackendBuilder::addPlugin (PluginSpec const & plugin) [inline], [virtual]

Add a plugin.

Precondition:

Needs to be a unique new name (use refname if you want to add the same module multiple times)

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.

See also:

resolveNeeds()

Parameters:

plugin

Reimplemented from kdb::tools::BackendBuilder.

Author

Generated automatically by Doxygen for Elektra from the source code.

Mon Jan 15 2018 Version 0.8.20