\hypertarget{struct_d_d4hep_1_1_increment}{\section{D\-D4hep\-:\-:Increment$<$ T $>$ Struct Template Reference}
\label{struct_d_d4hep_1_1_increment}\index{D\-D4hep\-::\-Increment$<$ T $>$@{D\-D4hep\-::\-Increment$<$ T $>$}}
}


Helper class to count call stack depths of certain functions.  




{\ttfamily \#include $<$Instance\-Count.\-h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{struct_d_d4hep_1_1_increment_a50a4d78633dc0e8b3eca298c9e09bbb8}{Increment} ()
\item 
\hyperlink{struct_d_d4hep_1_1_increment_ad2148abb952e3dbd20b46c081851affc}{$\sim$\-Increment} ()
\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static int \& \hyperlink{struct_d_d4hep_1_1_increment_afac4a87bcf31df0fb0053a61ec800048}{counter} ()
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$typename T$>$struct D\-D4hep\-::\-Increment$<$ T $>$}

Helper class to count call stack depths of certain functions. 

Small class to count re-\/entrancy calls

\begin{DoxyAuthor}{Author}
M.\-Frank 
\end{DoxyAuthor}
\begin{DoxyVersion}{Version}
1.\-0 
\end{DoxyVersion}


Definition at line 143 of file Instance\-Count.\-h.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{struct_d_d4hep_1_1_increment_a50a4d78633dc0e8b3eca298c9e09bbb8}{\index{D\-D4hep\-::\-Increment@{D\-D4hep\-::\-Increment}!Increment@{Increment}}
\index{Increment@{Increment}!DD4hep::Increment@{D\-D4hep\-::\-Increment}}
\subsubsection[{Increment}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T $>$ {\bf D\-D4hep\-::\-Increment}$<$ {\bf T} $>$\-::{\bf Increment} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{struct_d_d4hep_1_1_increment_a50a4d78633dc0e8b3eca298c9e09bbb8}


Definition at line 145 of file Instance\-Count.\-h.



References D\-D4hep\-::\-Increment$<$ T $>$\-::counter().

\hypertarget{struct_d_d4hep_1_1_increment_ad2148abb952e3dbd20b46c081851affc}{\index{D\-D4hep\-::\-Increment@{D\-D4hep\-::\-Increment}!$\sim$\-Increment@{$\sim$\-Increment}}
\index{$\sim$\-Increment@{$\sim$\-Increment}!DD4hep::Increment@{D\-D4hep\-::\-Increment}}
\subsubsection[{$\sim$\-Increment}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T $>$ {\bf D\-D4hep\-::\-Increment}$<$ {\bf T} $>$\-::$\sim${\bf Increment} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{struct_d_d4hep_1_1_increment_ad2148abb952e3dbd20b46c081851affc}


Definition at line 146 of file Instance\-Count.\-h.



References D\-D4hep\-::\-Increment$<$ T $>$\-::counter().



\subsection{Member Function Documentation}
\hypertarget{struct_d_d4hep_1_1_increment_afac4a87bcf31df0fb0053a61ec800048}{\index{D\-D4hep\-::\-Increment@{D\-D4hep\-::\-Increment}!counter@{counter}}
\index{counter@{counter}!DD4hep::Increment@{D\-D4hep\-::\-Increment}}
\subsubsection[{counter}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T $>$ static int\& {\bf D\-D4hep\-::\-Increment}$<$ {\bf T} $>$\-::counter (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}}\label{struct_d_d4hep_1_1_increment_afac4a87bcf31df0fb0053a61ec800048}


Definition at line 144 of file Instance\-Count.\-h.



Referenced by D\-D4hep\-::\-Increment$<$ T $>$\-::\-Increment(), and D\-D4hep\-::\-Increment$<$ T $>$\-::$\sim$\-Increment().



The documentation for this struct was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
/opt/ilcsoft/\-H\-E\-A\-D-\/2016-\/12-\/02/\-D\-D4hep/\-H\-E\-A\-D/\-D\-D\-Core/include/\-D\-D4hep/\hyperlink{_instance_count_8h}{Instance\-Count.\-h}\end{DoxyCompactItemize}
