\hypertarget{classkdb_1_1ElektraDiff}{}\doxysection{kdb\+::Elektra\+Diff Class Reference}
\label{classkdb_1_1ElektraDiff}\index{kdb::ElektraDiff@{kdb::ElektraDiff}}


This class is a wrapper around the \mbox{\hyperlink{classkdb_1_1ElektraDiff}{Elektra\+Diff}} C struct.  




{\ttfamily \#include $<$elektradiff.\+hpp$>$}

\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classkdb_1_1ElektraDiff_a2d60614c365a4d712324c929028cb9f9}{Elektra\+Diff}} (ckdb\+::\+Elektra\+Diff $\ast$cdiff)
\begin{DoxyCompactList}\small\item\em Constructs a diff out of a C diff. \end{DoxyCompactList}\item 
\mbox{\hyperlink{classkdb_1_1ElektraDiff_a7b4cb19b951963379c58dc9c48ca30a5}{Elektra\+Diff}} (\mbox{\hyperlink{classkdb_1_1ElektraDiff}{Elektra\+Diff}} \&other)
\begin{DoxyCompactList}\small\item\em Takes a reference of another diff. \end{DoxyCompactList}\item 
\mbox{\hyperlink{classkdb_1_1ElektraDiff_a037e98542fab7e297132c19482914896}{Elektra\+Diff}} (\mbox{\hyperlink{classkdb_1_1ElektraDiff}{Elektra\+Diff}} const \&other)
\begin{DoxyCompactList}\small\item\em Takes a reference of another diff. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{classkdb_1_1ElektraDiff_a45e417daf30104f1777668f0db31c119}{undo}} (\mbox{\hyperlink{classkdb_1_1KeySet}{Key\+Set}} \&ks)
\begin{DoxyCompactList}\small\item\em Undo the changes represented in this diff. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{classkdb_1_1ElektraDiff_a93ccf0ebc5d449ffc5609bf68582d0a4}{operator++}} (int) const
\item 
void \mbox{\hyperlink{classkdb_1_1ElektraDiff_ace30cd39a7708f4184caf39ccdb615ae}{operator++}} () const
\item 
void \mbox{\hyperlink{classkdb_1_1ElektraDiff_aa76e529d0f77aa68db710bde417c07ff}{operator-\/-\/}} (int) const
\item 
void \mbox{\hyperlink{classkdb_1_1ElektraDiff_aeff5d96f4b4accd88a49144296231144}{operator-\/-\/}} () const
\item 
ckdb\+::\+Elektra\+Diff $\ast$ \mbox{\hyperlink{classkdb_1_1ElektraDiff_a1f07d0ec6a01fbc87635c36413c04424}{get\+Diff}} () const
\begin{DoxyCompactList}\small\item\em Passes out the raw diff pointer. \end{DoxyCompactList}\item 
ckdb\+::\+Elektra\+Diff $\ast$ \mbox{\hyperlink{classkdb_1_1ElektraDiff_af259419fa40908dc15db7987dfab0c98}{operator$\ast$}} () const
\begin{DoxyCompactList}\small\item\em Passes out the raw diff pointer. \end{DoxyCompactList}\item 
\mbox{\hyperlink{classkdb_1_1ElektraDiff}{Elektra\+Diff}} \& \mbox{\hyperlink{classkdb_1_1ElektraDiff_a1eb673c5037297eb3a9977808c153650}{operator=}} (const \mbox{\hyperlink{classkdb_1_1ElektraDiff}{Elektra\+Diff}} \&other)
\begin{DoxyCompactList}\small\item\em Assign a diff. \end{DoxyCompactList}\item 
uint16\+\_\+t \mbox{\hyperlink{classkdb_1_1ElektraDiff_a34e35e76f5cce855493278dfeb27f9e9}{get\+Reference\+Counter}} () const
\item 
void \mbox{\hyperlink{classkdb_1_1ElektraDiff_ac3df95e880fa3ff4ea9c88f71b86cbea}{remove\+Other}} (std\+::string const \&parent\+Key\+Name)
\item 
void \mbox{\hyperlink{classkdb_1_1ElektraDiff_a842ef26f82d9acb9fc5a3616bb3248c5}{remove\+Other}} (const \mbox{\hyperlink{classkdb_1_1Key}{Key}} \&parent\+Key)
\item 
void \mbox{\hyperlink{classkdb_1_1ElektraDiff_a374886df56e88866548d1cd7ea7c7d46}{remove\+Same\+Or\+Below}} (std\+::string const \&cutpoint\+Name)
\item 
void \mbox{\hyperlink{classkdb_1_1ElektraDiff_a08e41fad2360a34bf103b4c40792c1ed}{remove\+Same\+Or\+Below}} (const \mbox{\hyperlink{classkdb_1_1Key}{Key}} \&cutpoint)
\item 
void \mbox{\hyperlink{classkdb_1_1ElektraDiff_adbd14bfe7cfacaaffb2e8acf9c1715ff}{remove\+Key}} (std\+::string const \&\mbox{\hyperlink{group__keyname_ga8e805c726a60da921d3736cda7813513}{key\+Name}})
\item 
void \mbox{\hyperlink{classkdb_1_1ElektraDiff_acbf4e6850f9f11602a1d8b4d3eaece54}{remove\+Key}} (const \mbox{\hyperlink{classkdb_1_1Key}{Key}} \&key)
\item 
\mbox{\hyperlink{classkdb_1_1ElektraDiff}{Elektra\+Diff}} \mbox{\hyperlink{classkdb_1_1ElektraDiff_a57e6f138b97b77c2bab9b0fd0b95d454}{cut}} (std\+::string const \&cutpoint\+Name)
\item 
\mbox{\hyperlink{classkdb_1_1ElektraDiff}{Elektra\+Diff}} \mbox{\hyperlink{classkdb_1_1ElektraDiff_a3d028ccb971bdb8300b70cc83f14ffb5}{cut}} (const \mbox{\hyperlink{classkdb_1_1Key}{Key}} \&cutpoint)
\item 
\mbox{\hyperlink{classkdb_1_1ElektraDiff}{Elektra\+Diff}} \mbox{\hyperlink{classkdb_1_1ElektraDiff_ae57a4bca7e7f03f3f6a5d32bffa78d57}{dup}} () const
\item 
bool \mbox{\hyperlink{classkdb_1_1ElektraDiff_a36c969bfc8728d1341c9267ddc583b92}{is\+Empty}} () const
\item 
\mbox{\hyperlink{classkdb_1_1KeySet}{Key\+Set}} \mbox{\hyperlink{classkdb_1_1ElektraDiff_afb561a85aa730e96ca665545b2578878}{get\+Added\+Keys}} () const
\item 
\mbox{\hyperlink{classkdb_1_1KeySet}{Key\+Set}} \mbox{\hyperlink{classkdb_1_1ElektraDiff_a02be6167ea76bde168a11c9abb2bb0ea}{get\+Modified\+Keys}} () const
\item 
\mbox{\hyperlink{classkdb_1_1KeySet}{Key\+Set}} \mbox{\hyperlink{classkdb_1_1ElektraDiff_a82aecbae0c7f6fcd150c22dd1e3ffd98}{get\+Removed\+Keys}} () const
\item 
\mbox{\hyperlink{classkdb_1_1KeySet}{Key\+Set}} \mbox{\hyperlink{classkdb_1_1ElektraDiff_a55eaabae896ff1298f3dc08a108537aa}{get\+Added\+Meta\+Keys}} (std\+::string const \&\mbox{\hyperlink{group__keyname_ga8e805c726a60da921d3736cda7813513}{key\+Name}}) const
\item 
\mbox{\hyperlink{classkdb_1_1KeySet}{Key\+Set}} \mbox{\hyperlink{classkdb_1_1ElektraDiff_a918e47dd14d2391c1a11b0e5078a7723}{get\+Added\+Meta\+Keys}} (const \mbox{\hyperlink{classkdb_1_1Key}{Key}} \&key) const
\item 
\mbox{\hyperlink{classkdb_1_1KeySet}{Key\+Set}} \mbox{\hyperlink{classkdb_1_1ElektraDiff_ad314331b4fddf91a912770c7b877506d}{get\+Modified\+Meta\+Keys}} (std\+::string const \&\mbox{\hyperlink{group__keyname_ga8e805c726a60da921d3736cda7813513}{key\+Name}}) const
\item 
\mbox{\hyperlink{classkdb_1_1KeySet}{Key\+Set}} \mbox{\hyperlink{classkdb_1_1ElektraDiff_a261e6a5b13212df3a9eca423c1cf9144}{get\+Modified\+Meta\+Keys}} (const \mbox{\hyperlink{classkdb_1_1Key}{Key}} \&key) const
\item 
\mbox{\hyperlink{classkdb_1_1KeySet}{Key\+Set}} \mbox{\hyperlink{classkdb_1_1ElektraDiff_a6117758b9bc23f4b353e6a0d917b9054}{get\+Removed\+Meta\+Keys}} (std\+::string const \&\mbox{\hyperlink{group__keyname_ga8e805c726a60da921d3736cda7813513}{key\+Name}}) const
\item 
\mbox{\hyperlink{classkdb_1_1KeySet}{Key\+Set}} \mbox{\hyperlink{classkdb_1_1ElektraDiff_a560935766699c292a673db456d92ae8c}{get\+Removed\+Meta\+Keys}} (const \mbox{\hyperlink{classkdb_1_1Key}{Key}} \&key) const
\end{DoxyCompactItemize}
\doxysubsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static \mbox{\hyperlink{classkdb_1_1ElektraDiff}{Elektra\+Diff}} \mbox{\hyperlink{classkdb_1_1ElektraDiff_a7ef28646cbd1df9861a623bb7bf08bc8}{calculate\+Diff}} (const \mbox{\hyperlink{classkdb_1_1KeySet}{Key\+Set}} \&new\+Keys, const \mbox{\hyperlink{classkdb_1_1KeySet}{Key\+Set}} \&old\+Keys, const std\+::string \&parent\+Key\+Name)
\begin{DoxyCompactList}\small\item\em Calculates the difference between the given keysets The diff will contain the keys that were added, modified and removed in {\ttfamily new\+Keys}. \end{DoxyCompactList}\item 
static \mbox{\hyperlink{classkdb_1_1ElektraDiff}{Elektra\+Diff}} \mbox{\hyperlink{classkdb_1_1ElektraDiff_ab180eee76dc099b2bdc5dbea6d056534}{calculate\+Diff}} (const \mbox{\hyperlink{classkdb_1_1KeySet}{Key\+Set}} \&new\+Keys, const \mbox{\hyperlink{classkdb_1_1KeySet}{Key\+Set}} \&old\+Keys, const \mbox{\hyperlink{classkdb_1_1Key}{Key}} \&parent\+Key)
\begin{DoxyCompactList}\small\item\em Calculates the difference between the given keysets The diff will contain the keys that were added, modified and removed in {\ttfamily new\+Keys}. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
This class is a wrapper around the \mbox{\hyperlink{classkdb_1_1ElektraDiff}{Elektra\+Diff}} C struct. 

\begin{DoxyInvariant}{Invariant}
always holds an underlying \mbox{\hyperlink{classkdb_1_1ElektraDiff}{Elektra\+Diff}} C object. 
\end{DoxyInvariant}


\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{classkdb_1_1ElektraDiff_a2d60614c365a4d712324c929028cb9f9}\label{classkdb_1_1ElektraDiff_a2d60614c365a4d712324c929028cb9f9}} 
\index{kdb::ElektraDiff@{kdb::ElektraDiff}!ElektraDiff@{ElektraDiff}}
\index{ElektraDiff@{ElektraDiff}!kdb::ElektraDiff@{kdb::ElektraDiff}}
\doxysubsubsection{\texorpdfstring{ElektraDiff()}{ElektraDiff()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily kdb\+::\+Elektra\+Diff\+::\+Elektra\+Diff (\begin{DoxyParamCaption}\item[{ckdb\+::\+Elektra\+Diff $\ast$}]{cdiff }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [explicit]}}



Constructs a diff out of a C diff. 


\begin{DoxyParams}{Parameters}
{\em cdiff} & the diff to work with \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{classkdb_1_1ElektraDiff_a7b4cb19b951963379c58dc9c48ca30a5}\label{classkdb_1_1ElektraDiff_a7b4cb19b951963379c58dc9c48ca30a5}} 
\index{kdb::ElektraDiff@{kdb::ElektraDiff}!ElektraDiff@{ElektraDiff}}
\index{ElektraDiff@{ElektraDiff}!kdb::ElektraDiff@{kdb::ElektraDiff}}
\doxysubsubsection{\texorpdfstring{ElektraDiff()}{ElektraDiff()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily kdb\+::\+Elektra\+Diff\+::\+Elektra\+Diff (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classkdb_1_1ElektraDiff}{Elektra\+Diff}} \&}]{other }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Takes a reference of another diff. 

The diff will not be copied, but the reference counter will be increased.


\begin{DoxyParams}{Parameters}
{\em other} & the diff to work with \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{classkdb_1_1ElektraDiff_a037e98542fab7e297132c19482914896}\label{classkdb_1_1ElektraDiff_a037e98542fab7e297132c19482914896}} 
\index{kdb::ElektraDiff@{kdb::ElektraDiff}!ElektraDiff@{ElektraDiff}}
\index{ElektraDiff@{ElektraDiff}!kdb::ElektraDiff@{kdb::ElektraDiff}}
\doxysubsubsection{\texorpdfstring{ElektraDiff()}{ElektraDiff()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily kdb\+::\+Elektra\+Diff\+::\+Elektra\+Diff (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classkdb_1_1ElektraDiff}{Elektra\+Diff}} const \&}]{other }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Takes a reference of another diff. 

The diff will not be copied, but the reference counter will be increased.


\begin{DoxyParams}{Parameters}
{\em other} & the diff to work with \\
\hline
\end{DoxyParams}


\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{classkdb_1_1ElektraDiff_ab180eee76dc099b2bdc5dbea6d056534}\label{classkdb_1_1ElektraDiff_ab180eee76dc099b2bdc5dbea6d056534}} 
\index{kdb::ElektraDiff@{kdb::ElektraDiff}!calculateDiff@{calculateDiff}}
\index{calculateDiff@{calculateDiff}!kdb::ElektraDiff@{kdb::ElektraDiff}}
\doxysubsubsection{\texorpdfstring{calculateDiff()}{calculateDiff()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{classkdb_1_1ElektraDiff}{Elektra\+Diff}} kdb\+::\+Elektra\+Diff\+::calculate\+Diff (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classkdb_1_1KeySet}{Key\+Set}} \&}]{new\+Keys,  }\item[{const \mbox{\hyperlink{classkdb_1_1KeySet}{Key\+Set}} \&}]{old\+Keys,  }\item[{const \mbox{\hyperlink{classkdb_1_1Key}{Key}} \&}]{parent\+Key }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Calculates the difference between the given keysets The diff will contain the keys that were added, modified and removed in {\ttfamily new\+Keys}. 


\begin{DoxyParams}{Parameters}
{\em new\+Keys} & the new keyset \\
\hline
{\em old\+Keys} & the old keyset \\
\hline
{\em parent\+Key} & only changes same or below this key will be calculated \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
diff of the two given keysets 
\end{DoxyReturn}
\mbox{\Hypertarget{classkdb_1_1ElektraDiff_a7ef28646cbd1df9861a623bb7bf08bc8}\label{classkdb_1_1ElektraDiff_a7ef28646cbd1df9861a623bb7bf08bc8}} 
\index{kdb::ElektraDiff@{kdb::ElektraDiff}!calculateDiff@{calculateDiff}}
\index{calculateDiff@{calculateDiff}!kdb::ElektraDiff@{kdb::ElektraDiff}}
\doxysubsubsection{\texorpdfstring{calculateDiff()}{calculateDiff()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{classkdb_1_1ElektraDiff}{Elektra\+Diff}} kdb\+::\+Elektra\+Diff\+::calculate\+Diff (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classkdb_1_1KeySet}{Key\+Set}} \&}]{new\+Keys,  }\item[{const \mbox{\hyperlink{classkdb_1_1KeySet}{Key\+Set}} \&}]{old\+Keys,  }\item[{const std\+::string \&}]{parent\+Key\+Name }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Calculates the difference between the given keysets The diff will contain the keys that were added, modified and removed in {\ttfamily new\+Keys}. 


\begin{DoxyParams}{Parameters}
{\em new\+Keys} & the new keyset \\
\hline
{\em old\+Keys} & the old keyset \\
\hline
{\em parent\+Key\+Name} & only changes same or below this key will be calculated \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
diff of the two given keysets 
\end{DoxyReturn}
\mbox{\Hypertarget{classkdb_1_1ElektraDiff_a3d028ccb971bdb8300b70cc83f14ffb5}\label{classkdb_1_1ElektraDiff_a3d028ccb971bdb8300b70cc83f14ffb5}} 
\index{kdb::ElektraDiff@{kdb::ElektraDiff}!cut@{cut}}
\index{cut@{cut}!kdb::ElektraDiff@{kdb::ElektraDiff}}
\doxysubsubsection{\texorpdfstring{cut()}{cut()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{classkdb_1_1ElektraDiff}{Elektra\+Diff}} kdb\+::\+Elektra\+Diff\+::cut (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classkdb_1_1Key}{Key}} \&}]{cutpoint }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}





\mbox{\Hypertarget{classkdb_1_1ElektraDiff_a57e6f138b97b77c2bab9b0fd0b95d454}\label{classkdb_1_1ElektraDiff_a57e6f138b97b77c2bab9b0fd0b95d454}} 
\index{kdb::ElektraDiff@{kdb::ElektraDiff}!cut@{cut}}
\index{cut@{cut}!kdb::ElektraDiff@{kdb::ElektraDiff}}
\doxysubsubsection{\texorpdfstring{cut()}{cut()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{classkdb_1_1ElektraDiff}{Elektra\+Diff}} kdb\+::\+Elektra\+Diff\+::cut (\begin{DoxyParamCaption}\item[{std\+::string const \&}]{cutpoint\+Name }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}





\mbox{\Hypertarget{classkdb_1_1ElektraDiff_ae57a4bca7e7f03f3f6a5d32bffa78d57}\label{classkdb_1_1ElektraDiff_ae57a4bca7e7f03f3f6a5d32bffa78d57}} 
\index{kdb::ElektraDiff@{kdb::ElektraDiff}!dup@{dup}}
\index{dup@{dup}!kdb::ElektraDiff@{kdb::ElektraDiff}}
\doxysubsubsection{\texorpdfstring{dup()}{dup()}}
{\footnotesize\ttfamily \mbox{\hyperlink{classkdb_1_1ElektraDiff}{Elektra\+Diff}} kdb\+::\+Elektra\+Diff\+::dup (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}





\mbox{\Hypertarget{classkdb_1_1ElektraDiff_afb561a85aa730e96ca665545b2578878}\label{classkdb_1_1ElektraDiff_afb561a85aa730e96ca665545b2578878}} 
\index{kdb::ElektraDiff@{kdb::ElektraDiff}!getAddedKeys@{getAddedKeys}}
\index{getAddedKeys@{getAddedKeys}!kdb::ElektraDiff@{kdb::ElektraDiff}}
\doxysubsubsection{\texorpdfstring{getAddedKeys()}{getAddedKeys()}}
{\footnotesize\ttfamily \mbox{\hyperlink{classkdb_1_1KeySet}{Key\+Set}} kdb\+::\+Elektra\+Diff\+::get\+Added\+Keys (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}





\mbox{\Hypertarget{classkdb_1_1ElektraDiff_a918e47dd14d2391c1a11b0e5078a7723}\label{classkdb_1_1ElektraDiff_a918e47dd14d2391c1a11b0e5078a7723}} 
\index{kdb::ElektraDiff@{kdb::ElektraDiff}!getAddedMetaKeys@{getAddedMetaKeys}}
\index{getAddedMetaKeys@{getAddedMetaKeys}!kdb::ElektraDiff@{kdb::ElektraDiff}}
\doxysubsubsection{\texorpdfstring{getAddedMetaKeys()}{getAddedMetaKeys()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{classkdb_1_1KeySet}{Key\+Set}} kdb\+::\+Elektra\+Diff\+::get\+Added\+Meta\+Keys (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classkdb_1_1Key}{Key}} \&}]{key }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}





\mbox{\Hypertarget{classkdb_1_1ElektraDiff_a55eaabae896ff1298f3dc08a108537aa}\label{classkdb_1_1ElektraDiff_a55eaabae896ff1298f3dc08a108537aa}} 
\index{kdb::ElektraDiff@{kdb::ElektraDiff}!getAddedMetaKeys@{getAddedMetaKeys}}
\index{getAddedMetaKeys@{getAddedMetaKeys}!kdb::ElektraDiff@{kdb::ElektraDiff}}
\doxysubsubsection{\texorpdfstring{getAddedMetaKeys()}{getAddedMetaKeys()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{classkdb_1_1KeySet}{Key\+Set}} kdb\+::\+Elektra\+Diff\+::get\+Added\+Meta\+Keys (\begin{DoxyParamCaption}\item[{std\+::string const \&}]{key\+Name }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}





\mbox{\Hypertarget{classkdb_1_1ElektraDiff_a1f07d0ec6a01fbc87635c36413c04424}\label{classkdb_1_1ElektraDiff_a1f07d0ec6a01fbc87635c36413c04424}} 
\index{kdb::ElektraDiff@{kdb::ElektraDiff}!getDiff@{getDiff}}
\index{getDiff@{getDiff}!kdb::ElektraDiff@{kdb::ElektraDiff}}
\doxysubsubsection{\texorpdfstring{getDiff()}{getDiff()}}
{\footnotesize\ttfamily ckdb\+::\+Elektra\+Diff $\ast$ kdb\+::\+Elektra\+Diff\+::get\+Diff (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Passes out the raw diff pointer. 

This pointer can be used to directly change the underlying diff object.

\begin{DoxyNote}{Note}
that the ownership remains in the object 
\end{DoxyNote}
\mbox{\Hypertarget{classkdb_1_1ElektraDiff_a02be6167ea76bde168a11c9abb2bb0ea}\label{classkdb_1_1ElektraDiff_a02be6167ea76bde168a11c9abb2bb0ea}} 
\index{kdb::ElektraDiff@{kdb::ElektraDiff}!getModifiedKeys@{getModifiedKeys}}
\index{getModifiedKeys@{getModifiedKeys}!kdb::ElektraDiff@{kdb::ElektraDiff}}
\doxysubsubsection{\texorpdfstring{getModifiedKeys()}{getModifiedKeys()}}
{\footnotesize\ttfamily \mbox{\hyperlink{classkdb_1_1KeySet}{Key\+Set}} kdb\+::\+Elektra\+Diff\+::get\+Modified\+Keys (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}





\mbox{\Hypertarget{classkdb_1_1ElektraDiff_a261e6a5b13212df3a9eca423c1cf9144}\label{classkdb_1_1ElektraDiff_a261e6a5b13212df3a9eca423c1cf9144}} 
\index{kdb::ElektraDiff@{kdb::ElektraDiff}!getModifiedMetaKeys@{getModifiedMetaKeys}}
\index{getModifiedMetaKeys@{getModifiedMetaKeys}!kdb::ElektraDiff@{kdb::ElektraDiff}}
\doxysubsubsection{\texorpdfstring{getModifiedMetaKeys()}{getModifiedMetaKeys()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{classkdb_1_1KeySet}{Key\+Set}} kdb\+::\+Elektra\+Diff\+::get\+Modified\+Meta\+Keys (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classkdb_1_1Key}{Key}} \&}]{key }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}





\mbox{\Hypertarget{classkdb_1_1ElektraDiff_ad314331b4fddf91a912770c7b877506d}\label{classkdb_1_1ElektraDiff_ad314331b4fddf91a912770c7b877506d}} 
\index{kdb::ElektraDiff@{kdb::ElektraDiff}!getModifiedMetaKeys@{getModifiedMetaKeys}}
\index{getModifiedMetaKeys@{getModifiedMetaKeys}!kdb::ElektraDiff@{kdb::ElektraDiff}}
\doxysubsubsection{\texorpdfstring{getModifiedMetaKeys()}{getModifiedMetaKeys()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{classkdb_1_1KeySet}{Key\+Set}} kdb\+::\+Elektra\+Diff\+::get\+Modified\+Meta\+Keys (\begin{DoxyParamCaption}\item[{std\+::string const \&}]{key\+Name }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}





\mbox{\Hypertarget{classkdb_1_1ElektraDiff_a34e35e76f5cce855493278dfeb27f9e9}\label{classkdb_1_1ElektraDiff_a34e35e76f5cce855493278dfeb27f9e9}} 
\index{kdb::ElektraDiff@{kdb::ElektraDiff}!getReferenceCounter@{getReferenceCounter}}
\index{getReferenceCounter@{getReferenceCounter}!kdb::ElektraDiff@{kdb::ElektraDiff}}
\doxysubsubsection{\texorpdfstring{getReferenceCounter()}{getReferenceCounter()}}
{\footnotesize\ttfamily uint16\+\_\+t kdb\+::\+Elektra\+Diff\+::get\+Reference\+Counter (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}





\mbox{\Hypertarget{classkdb_1_1ElektraDiff_a82aecbae0c7f6fcd150c22dd1e3ffd98}\label{classkdb_1_1ElektraDiff_a82aecbae0c7f6fcd150c22dd1e3ffd98}} 
\index{kdb::ElektraDiff@{kdb::ElektraDiff}!getRemovedKeys@{getRemovedKeys}}
\index{getRemovedKeys@{getRemovedKeys}!kdb::ElektraDiff@{kdb::ElektraDiff}}
\doxysubsubsection{\texorpdfstring{getRemovedKeys()}{getRemovedKeys()}}
{\footnotesize\ttfamily \mbox{\hyperlink{classkdb_1_1KeySet}{Key\+Set}} kdb\+::\+Elektra\+Diff\+::get\+Removed\+Keys (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}





\mbox{\Hypertarget{classkdb_1_1ElektraDiff_a560935766699c292a673db456d92ae8c}\label{classkdb_1_1ElektraDiff_a560935766699c292a673db456d92ae8c}} 
\index{kdb::ElektraDiff@{kdb::ElektraDiff}!getRemovedMetaKeys@{getRemovedMetaKeys}}
\index{getRemovedMetaKeys@{getRemovedMetaKeys}!kdb::ElektraDiff@{kdb::ElektraDiff}}
\doxysubsubsection{\texorpdfstring{getRemovedMetaKeys()}{getRemovedMetaKeys()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{classkdb_1_1KeySet}{Key\+Set}} kdb\+::\+Elektra\+Diff\+::get\+Removed\+Meta\+Keys (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classkdb_1_1Key}{Key}} \&}]{key }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}





\mbox{\Hypertarget{classkdb_1_1ElektraDiff_a6117758b9bc23f4b353e6a0d917b9054}\label{classkdb_1_1ElektraDiff_a6117758b9bc23f4b353e6a0d917b9054}} 
\index{kdb::ElektraDiff@{kdb::ElektraDiff}!getRemovedMetaKeys@{getRemovedMetaKeys}}
\index{getRemovedMetaKeys@{getRemovedMetaKeys}!kdb::ElektraDiff@{kdb::ElektraDiff}}
\doxysubsubsection{\texorpdfstring{getRemovedMetaKeys()}{getRemovedMetaKeys()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{classkdb_1_1KeySet}{Key\+Set}} kdb\+::\+Elektra\+Diff\+::get\+Removed\+Meta\+Keys (\begin{DoxyParamCaption}\item[{std\+::string const \&}]{key\+Name }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}





\mbox{\Hypertarget{classkdb_1_1ElektraDiff_a36c969bfc8728d1341c9267ddc583b92}\label{classkdb_1_1ElektraDiff_a36c969bfc8728d1341c9267ddc583b92}} 
\index{kdb::ElektraDiff@{kdb::ElektraDiff}!isEmpty@{isEmpty}}
\index{isEmpty@{isEmpty}!kdb::ElektraDiff@{kdb::ElektraDiff}}
\doxysubsubsection{\texorpdfstring{isEmpty()}{isEmpty()}}
{\footnotesize\ttfamily bool kdb\+::\+Elektra\+Diff\+::is\+Empty (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}





\mbox{\Hypertarget{classkdb_1_1ElektraDiff_af259419fa40908dc15db7987dfab0c98}\label{classkdb_1_1ElektraDiff_af259419fa40908dc15db7987dfab0c98}} 
\index{kdb::ElektraDiff@{kdb::ElektraDiff}!operator$\ast$@{operator$\ast$}}
\index{operator$\ast$@{operator$\ast$}!kdb::ElektraDiff@{kdb::ElektraDiff}}
\doxysubsubsection{\texorpdfstring{operator$\ast$()}{operator*()}}
{\footnotesize\ttfamily ckdb\+::\+Elektra\+Diff $\ast$ kdb\+::\+Elektra\+Diff\+::operator$\ast$ (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Passes out the raw diff pointer. 

This pointer can be used to directly change the underlying diff object.

\begin{DoxyNote}{Note}
that the ownership remains in the object 
\end{DoxyNote}
\mbox{\Hypertarget{classkdb_1_1ElektraDiff_ace30cd39a7708f4184caf39ccdb615ae}\label{classkdb_1_1ElektraDiff_ace30cd39a7708f4184caf39ccdb615ae}} 
\index{kdb::ElektraDiff@{kdb::ElektraDiff}!operator++@{operator++}}
\index{operator++@{operator++}!kdb::ElektraDiff@{kdb::ElektraDiff}}
\doxysubsubsection{\texorpdfstring{operator++()}{operator++()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void kdb\+::\+Elektra\+Diff\+::operator++ (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}





\mbox{\Hypertarget{classkdb_1_1ElektraDiff_a93ccf0ebc5d449ffc5609bf68582d0a4}\label{classkdb_1_1ElektraDiff_a93ccf0ebc5d449ffc5609bf68582d0a4}} 
\index{kdb::ElektraDiff@{kdb::ElektraDiff}!operator++@{operator++}}
\index{operator++@{operator++}!kdb::ElektraDiff@{kdb::ElektraDiff}}
\doxysubsubsection{\texorpdfstring{operator++()}{operator++()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void kdb\+::\+Elektra\+Diff\+::operator++ (\begin{DoxyParamCaption}\item[{int}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}





\mbox{\Hypertarget{classkdb_1_1ElektraDiff_aeff5d96f4b4accd88a49144296231144}\label{classkdb_1_1ElektraDiff_aeff5d96f4b4accd88a49144296231144}} 
\index{kdb::ElektraDiff@{kdb::ElektraDiff}!operator-\/-\/@{operator-\/-\/}}
\index{operator-\/-\/@{operator-\/-\/}!kdb::ElektraDiff@{kdb::ElektraDiff}}
\doxysubsubsection{\texorpdfstring{operator-\/-\/()}{operator--()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void kdb\+::\+Elektra\+Diff\+::operator-\/-\/ (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}





\mbox{\Hypertarget{classkdb_1_1ElektraDiff_aa76e529d0f77aa68db710bde417c07ff}\label{classkdb_1_1ElektraDiff_aa76e529d0f77aa68db710bde417c07ff}} 
\index{kdb::ElektraDiff@{kdb::ElektraDiff}!operator-\/-\/@{operator-\/-\/}}
\index{operator-\/-\/@{operator-\/-\/}!kdb::ElektraDiff@{kdb::ElektraDiff}}
\doxysubsubsection{\texorpdfstring{operator-\/-\/()}{operator--()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void kdb\+::\+Elektra\+Diff\+::operator-\/-\/ (\begin{DoxyParamCaption}\item[{int}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}





\mbox{\Hypertarget{classkdb_1_1ElektraDiff_a1eb673c5037297eb3a9977808c153650}\label{classkdb_1_1ElektraDiff_a1eb673c5037297eb3a9977808c153650}} 
\index{kdb::ElektraDiff@{kdb::ElektraDiff}!operator=@{operator=}}
\index{operator=@{operator=}!kdb::ElektraDiff@{kdb::ElektraDiff}}
\doxysubsubsection{\texorpdfstring{operator=()}{operator=()}}
{\footnotesize\ttfamily \mbox{\hyperlink{classkdb_1_1ElektraDiff}{Elektra\+Diff}} \& kdb\+::\+Elektra\+Diff\+::operator= (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classkdb_1_1ElektraDiff}{Elektra\+Diff}} \&}]{other }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Assign a diff. 


\begin{DoxyParams}{Parameters}
{\em other} & the diff to assign \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
reference to this 
\end{DoxyReturn}
\mbox{\Hypertarget{classkdb_1_1ElektraDiff_acbf4e6850f9f11602a1d8b4d3eaece54}\label{classkdb_1_1ElektraDiff_acbf4e6850f9f11602a1d8b4d3eaece54}} 
\index{kdb::ElektraDiff@{kdb::ElektraDiff}!removeKey@{removeKey}}
\index{removeKey@{removeKey}!kdb::ElektraDiff@{kdb::ElektraDiff}}
\doxysubsubsection{\texorpdfstring{removeKey()}{removeKey()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void kdb\+::\+Elektra\+Diff\+::remove\+Key (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classkdb_1_1Key}{Key}} \&}]{key }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}





\mbox{\Hypertarget{classkdb_1_1ElektraDiff_adbd14bfe7cfacaaffb2e8acf9c1715ff}\label{classkdb_1_1ElektraDiff_adbd14bfe7cfacaaffb2e8acf9c1715ff}} 
\index{kdb::ElektraDiff@{kdb::ElektraDiff}!removeKey@{removeKey}}
\index{removeKey@{removeKey}!kdb::ElektraDiff@{kdb::ElektraDiff}}
\doxysubsubsection{\texorpdfstring{removeKey()}{removeKey()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void kdb\+::\+Elektra\+Diff\+::remove\+Key (\begin{DoxyParamCaption}\item[{std\+::string const \&}]{key\+Name }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}





\mbox{\Hypertarget{classkdb_1_1ElektraDiff_a842ef26f82d9acb9fc5a3616bb3248c5}\label{classkdb_1_1ElektraDiff_a842ef26f82d9acb9fc5a3616bb3248c5}} 
\index{kdb::ElektraDiff@{kdb::ElektraDiff}!removeOther@{removeOther}}
\index{removeOther@{removeOther}!kdb::ElektraDiff@{kdb::ElektraDiff}}
\doxysubsubsection{\texorpdfstring{removeOther()}{removeOther()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void kdb\+::\+Elektra\+Diff\+::remove\+Other (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classkdb_1_1Key}{Key}} \&}]{parent\+Key }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}





\mbox{\Hypertarget{classkdb_1_1ElektraDiff_ac3df95e880fa3ff4ea9c88f71b86cbea}\label{classkdb_1_1ElektraDiff_ac3df95e880fa3ff4ea9c88f71b86cbea}} 
\index{kdb::ElektraDiff@{kdb::ElektraDiff}!removeOther@{removeOther}}
\index{removeOther@{removeOther}!kdb::ElektraDiff@{kdb::ElektraDiff}}
\doxysubsubsection{\texorpdfstring{removeOther()}{removeOther()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void kdb\+::\+Elektra\+Diff\+::remove\+Other (\begin{DoxyParamCaption}\item[{std\+::string const \&}]{parent\+Key\+Name }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}





\mbox{\Hypertarget{classkdb_1_1ElektraDiff_a08e41fad2360a34bf103b4c40792c1ed}\label{classkdb_1_1ElektraDiff_a08e41fad2360a34bf103b4c40792c1ed}} 
\index{kdb::ElektraDiff@{kdb::ElektraDiff}!removeSameOrBelow@{removeSameOrBelow}}
\index{removeSameOrBelow@{removeSameOrBelow}!kdb::ElektraDiff@{kdb::ElektraDiff}}
\doxysubsubsection{\texorpdfstring{removeSameOrBelow()}{removeSameOrBelow()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void kdb\+::\+Elektra\+Diff\+::remove\+Same\+Or\+Below (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classkdb_1_1Key}{Key}} \&}]{cutpoint }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}





\mbox{\Hypertarget{classkdb_1_1ElektraDiff_a374886df56e88866548d1cd7ea7c7d46}\label{classkdb_1_1ElektraDiff_a374886df56e88866548d1cd7ea7c7d46}} 
\index{kdb::ElektraDiff@{kdb::ElektraDiff}!removeSameOrBelow@{removeSameOrBelow}}
\index{removeSameOrBelow@{removeSameOrBelow}!kdb::ElektraDiff@{kdb::ElektraDiff}}
\doxysubsubsection{\texorpdfstring{removeSameOrBelow()}{removeSameOrBelow()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void kdb\+::\+Elektra\+Diff\+::remove\+Same\+Or\+Below (\begin{DoxyParamCaption}\item[{std\+::string const \&}]{cutpoint\+Name }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}





\mbox{\Hypertarget{classkdb_1_1ElektraDiff_a45e417daf30104f1777668f0db31c119}\label{classkdb_1_1ElektraDiff_a45e417daf30104f1777668f0db31c119}} 
\index{kdb::ElektraDiff@{kdb::ElektraDiff}!undo@{undo}}
\index{undo@{undo}!kdb::ElektraDiff@{kdb::ElektraDiff}}
\doxysubsubsection{\texorpdfstring{undo()}{undo()}}
{\footnotesize\ttfamily void kdb\+::\+Elektra\+Diff\+::undo (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classkdb_1_1KeySet}{Key\+Set}} \&}]{ks }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Undo the changes represented in this diff. 


\begin{DoxyParams}{Parameters}
{\em ks} & the keyset where the changs should be undone \\
\hline
\end{DoxyParams}


The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{elektradiff_8hpp}{elektradiff.\+hpp}}\end{DoxyCompactItemize}
