\hypertarget{keyhelper_8hpp}{\section{keyhelper.\+hpp File Reference}
\label{keyhelper_8hpp}\index{keyhelper.\+hpp@{keyhelper.\+hpp}}
}


Key helper functions.  


{\ttfamily \#include $<$string$>$}\\*
{\ttfamily \#include $<$kdb.\+hpp$>$}\\*
{\ttfamily \#include $<$toolexcept.\+hpp$>$}\\*
Include dependency graph for keyhelper.\+hpp\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{keyhelper_8hpp__incl}
\end{center}
\end{figure}
This graph shows which files directly or indirectly include this file\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{keyhelper_8hpp__dep__incl}
\end{center}
\end{figure}
\subsection*{Namespaces}
\begin{DoxyCompactItemize}
\item 
 \hyperlink{namespacekdb}{kdb}
\begin{DoxyCompactList}\small\item\em This is the main namespace for the C++ binding and libraries. \end{DoxyCompactList}\item 
 \hyperlink{namespacekdb_1_1tools}{kdb\+::tools}
\begin{DoxyCompactList}\small\item\em This namespace is for the libtool library. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
Key {\bfseries kdb\+::tools\+::helper\+::rebase\+Key} (const Key \&key, const Key \&old\+Parent, const Key \&new\+Parent)
\begin{DoxyCompactList}\small\item\em Rebases the supplied key from the old parent to the new parent. \end{DoxyCompactList}\item 
std\+::string {\bfseries kdb\+::tools\+::helper\+::rebase\+Path} (const Key \&key, const Key \&old\+Parent, const Key \&new\+Parent)
\begin{DoxyCompactList}\small\item\em Rebases the relative path of the passed key from the old parent to the new parent and returns the new path. \end{DoxyCompactList}\item 
void {\bfseries kdb\+::tools\+::helper\+::remove\+Namespace} (Key \&key)
\begin{DoxyCompactList}\small\item\em Removes the namespace. \end{DoxyCompactList}\item 
Key {\bfseries kdb\+::tools\+::helper\+::common\+Key\+Name} (Key key1, Key key2)
\begin{DoxyCompactList}\small\item\em Find common name between two keys. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Key helper functions. 

\begin{DoxyCopyright}{Copyright}
B\+S\+D License (see doc/\+C\+O\+P\+Y\+I\+N\+G or \href{http://www.libelektra.org}{\tt http\+://www.\+libelektra.\+org}) 
\end{DoxyCopyright}
