
\begin{DoxyItemize}
\item infos = Information about the cpptemplate plugin is in keys below
\item infos/author = Author Name \href{mailto:elektra@libelektra.org}{\tt elektra@libelektra.\+org}
\item infos/licence = B\+SD
\item infos/needs =
\item infos/provides = storage/info
\item infos/recommends =
\item infos/placements = getstorage
\item infos/status = maintained unittest nodep experimental nodoc concept
\item infos/metadata =
\item infos/description = A template for C++ based plugins
\end{DoxyItemize}\hypertarget{md_src_plugins_cpptemplate_README_src_plugins_cpptemplate_README_md}{}\section{C\+P\+P Template}\label{md_src_plugins_cpptemplate_README_src_plugins_cpptemplate_README_md}
\subsection*{Introduction}

Please use the script copy-\/template to create a new C++ plugin based on this template\+:


\begin{DoxyCode}
scripts/copy-template -p pluginname
\end{DoxyCode}


. For more information please take a look \hyperlink{md_src_plugins_template_README_src_plugins_template_README_md}{here}

\subsection*{Example}


\begin{DoxyCode}
sudo kdb mount -R noresolver none user/tests/cpptemplate cpptemplate some=thing config=value

# This example plugin adds configuration values at the mountpoint
kdb ls user/tests/cpptemplate
#> user/tests/cpptemplate/config
#> user/tests/cpptemplate/path
#> user/tests/cpptemplate/some

kdb get user/tests/cpptemplate/config
#> value

kdb get user/tests/cpptemplate/path
#> none

sudo kdb umount user/tests/cpptemplate
\end{DoxyCode}
 