\hypertarget{class_d_d4hep_1_1dd4hep__ptr}{\section{D\-D4hep\-:\-:dd4hep\-\_\-ptr$<$ T $>$ Class Template Reference}
\label{class_d_d4hep_1_1dd4hep__ptr}\index{D\-D4hep\-::dd4hep\-\_\-ptr$<$ T $>$@{D\-D4hep\-::dd4hep\-\_\-ptr$<$ T $>$}}
}


Out version of the std auto\-\_\-ptr implementation base either on auto\-\_\-ptr or unique\-\_\-ptr.  




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

Inheritance diagram for D\-D4hep\-:\-:dd4hep\-\_\-ptr$<$ T $>$\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{class_d_d4hep_1_1dd4hep__ptr}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef std\-::auto\-\_\-ptr$<$ \hyperlink{class_t}{T} $>$ \hyperlink{class_d_d4hep_1_1dd4hep__ptr_a4bcbed2d2a920d0a5ffbf405263fe8d6}{base\-\_\-t}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{class_d_d4hep_1_1dd4hep__ptr_a9545ee3f6465afeefd98336c176529dd}{swap} (\hyperlink{class_d_d4hep_1_1dd4hep__ptr_a4bcbed2d2a920d0a5ffbf405263fe8d6}{base\-\_\-t} \&c)
\item 
\hyperlink{class_d_d4hep_1_1dd4hep__ptr_abac6ac3d2451af4916b051b66ed696ec}{dd4hep\-\_\-ptr} (\hyperlink{class_d_d4hep_1_1dd4hep__ptr}{dd4hep\-\_\-ptr}$<$ \hyperlink{class_t}{T} $>$ \&c)
\begin{DoxyCompactList}\small\item\em Constructor from copy. \end{DoxyCompactList}\item 
\hyperlink{class_d_d4hep_1_1dd4hep__ptr_a794418a47e2b889172eca52c9b42f2f9}{dd4hep\-\_\-ptr} ()
\begin{DoxyCompactList}\small\item\em Default Constructor. \end{DoxyCompactList}\item 
\hyperlink{class_d_d4hep_1_1dd4hep__ptr_ab9f2520963ed15270c9fbf034fbc15a9}{dd4hep\-\_\-ptr} (\hyperlink{class_t}{T} $\ast$p)
\begin{DoxyCompactList}\small\item\em Constructor from pointer. \end{DoxyCompactList}\item 
\hyperlink{class_d_d4hep_1_1dd4hep__ptr_a37f6577690b416db238cf3153dbb966e}{dd4hep\-\_\-ptr} (\hyperlink{class_d_d4hep_1_1dd4hep__ptr_a4bcbed2d2a920d0a5ffbf405263fe8d6}{base\-\_\-t} \&c)
\begin{DoxyCompactList}\small\item\em Constructor from copy. \end{DoxyCompactList}\item 
\hyperlink{class_d_d4hep_1_1dd4hep__ptr}{dd4hep\-\_\-ptr} \& \hyperlink{class_d_d4hep_1_1dd4hep__ptr_a08249cfe600aa0ad78b8871db6df8b4f}{operator=} (\hyperlink{class_d_d4hep_1_1dd4hep__ptr_a4bcbed2d2a920d0a5ffbf405263fe8d6}{base\-\_\-t} \&c)
\begin{DoxyCompactList}\small\item\em Assignment operator. \end{DoxyCompactList}\item 
\hyperlink{class_d_d4hep_1_1dd4hep__ptr}{dd4hep\-\_\-ptr} \& \hyperlink{class_d_d4hep_1_1dd4hep__ptr_aa6519c1c4d2d455b6b5cfad3318d5cc9}{adopt} (\hyperlink{class_t}{T} $\ast$ptr)
\begin{DoxyCompactList}\small\item\em Assignment operator. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$typename T$>$class D\-D4hep\-::dd4hep\-\_\-ptr$<$ T $>$}

Out version of the std auto\-\_\-ptr implementation base either on auto\-\_\-ptr or unique\-\_\-ptr. 

Only need to overload constructor. Everything else like operator-\/$>$, operator$\ast$, get, release etc. comes from base.

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


Definition at line 43 of file Memory.\-h.



\subsection{Member Typedef Documentation}
\hypertarget{class_d_d4hep_1_1dd4hep__ptr_a4bcbed2d2a920d0a5ffbf405263fe8d6}{\index{D\-D4hep\-::dd4hep\-\_\-ptr@{D\-D4hep\-::dd4hep\-\_\-ptr}!base\-\_\-t@{base\-\_\-t}}
\index{base\-\_\-t@{base\-\_\-t}!DD4hep::dd4hep_ptr@{D\-D4hep\-::dd4hep\-\_\-ptr}}
\subsubsection[{base\-\_\-t}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T$>$ typedef std\-::auto\-\_\-ptr$<${\bf T}$>$ {\bf D\-D4hep\-::dd4hep\-\_\-ptr}$<$ {\bf T} $>$\-::{\bf base\-\_\-t}}}\label{class_d_d4hep_1_1dd4hep__ptr_a4bcbed2d2a920d0a5ffbf405263fe8d6}


Definition at line 52 of file Memory.\-h.



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


Constructor from copy. 



Definition at line 57 of file Memory.\-h.

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


Default Constructor. 



Definition at line 61 of file Memory.\-h.

\hypertarget{class_d_d4hep_1_1dd4hep__ptr_ab9f2520963ed15270c9fbf034fbc15a9}{\index{D\-D4hep\-::dd4hep\-\_\-ptr@{D\-D4hep\-::dd4hep\-\_\-ptr}!dd4hep\-\_\-ptr@{dd4hep\-\_\-ptr}}
\index{dd4hep\-\_\-ptr@{dd4hep\-\_\-ptr}!DD4hep::dd4hep_ptr@{D\-D4hep\-::dd4hep\-\_\-ptr}}
\subsubsection[{dd4hep\-\_\-ptr}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T$>$ {\bf D\-D4hep\-::dd4hep\-\_\-ptr}$<$ {\bf T} $>$\-::{\bf dd4hep\-\_\-ptr} (
\begin{DoxyParamCaption}
\item[{{\bf T} $\ast$}]{p}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_d_d4hep_1_1dd4hep__ptr_ab9f2520963ed15270c9fbf034fbc15a9}


Constructor from pointer. 



Definition at line 63 of file Memory.\-h.

\hypertarget{class_d_d4hep_1_1dd4hep__ptr_a37f6577690b416db238cf3153dbb966e}{\index{D\-D4hep\-::dd4hep\-\_\-ptr@{D\-D4hep\-::dd4hep\-\_\-ptr}!dd4hep\-\_\-ptr@{dd4hep\-\_\-ptr}}
\index{dd4hep\-\_\-ptr@{dd4hep\-\_\-ptr}!DD4hep::dd4hep_ptr@{D\-D4hep\-::dd4hep\-\_\-ptr}}
\subsubsection[{dd4hep\-\_\-ptr}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T$>$ {\bf D\-D4hep\-::dd4hep\-\_\-ptr}$<$ {\bf T} $>$\-::{\bf dd4hep\-\_\-ptr} (
\begin{DoxyParamCaption}
\item[{{\bf base\-\_\-t} \&}]{c}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_d_d4hep_1_1dd4hep__ptr_a37f6577690b416db238cf3153dbb966e}


Constructor from copy. 



Definition at line 65 of file Memory.\-h.



\subsection{Member Function Documentation}
\hypertarget{class_d_d4hep_1_1dd4hep__ptr_aa6519c1c4d2d455b6b5cfad3318d5cc9}{\index{D\-D4hep\-::dd4hep\-\_\-ptr@{D\-D4hep\-::dd4hep\-\_\-ptr}!adopt@{adopt}}
\index{adopt@{adopt}!DD4hep::dd4hep_ptr@{D\-D4hep\-::dd4hep\-\_\-ptr}}
\subsubsection[{adopt}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T$>$ {\bf dd4hep\-\_\-ptr}\& {\bf D\-D4hep\-::dd4hep\-\_\-ptr}$<$ {\bf T} $>$\-::adopt (
\begin{DoxyParamCaption}
\item[{{\bf T} $\ast$}]{ptr}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_d_d4hep_1_1dd4hep__ptr_aa6519c1c4d2d455b6b5cfad3318d5cc9}


Assignment operator. 



Definition at line 74 of file Memory.\-h.



Referenced by D\-D4hep\-::\-Conditions\-::\-Conditions\-Manager\-Object\-::\-\_\-\-\_\-get\-\_\-checked\-\_\-pool(), \-\_\-stack(), and D\-D4hep\-::\-Conditions\-::\-Conditions\-Manager\-Object\-::initialize().

\hypertarget{class_d_d4hep_1_1dd4hep__ptr_a08249cfe600aa0ad78b8871db6df8b4f}{\index{D\-D4hep\-::dd4hep\-\_\-ptr@{D\-D4hep\-::dd4hep\-\_\-ptr}!operator=@{operator=}}
\index{operator=@{operator=}!DD4hep::dd4hep_ptr@{D\-D4hep\-::dd4hep\-\_\-ptr}}
\subsubsection[{operator=}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T$>$ {\bf dd4hep\-\_\-ptr}\& {\bf D\-D4hep\-::dd4hep\-\_\-ptr}$<$ {\bf T} $>$\-::operator= (
\begin{DoxyParamCaption}
\item[{{\bf base\-\_\-t} \&}]{c}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_d_d4hep_1_1dd4hep__ptr_a08249cfe600aa0ad78b8871db6df8b4f}


Assignment operator. 



Definition at line 67 of file Memory.\-h.

\hypertarget{class_d_d4hep_1_1dd4hep__ptr_a9545ee3f6465afeefd98336c176529dd}{\index{D\-D4hep\-::dd4hep\-\_\-ptr@{D\-D4hep\-::dd4hep\-\_\-ptr}!swap@{swap}}
\index{swap@{swap}!DD4hep::dd4hep_ptr@{D\-D4hep\-::dd4hep\-\_\-ptr}}
\subsubsection[{swap}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T$>$ void {\bf D\-D4hep\-::dd4hep\-\_\-ptr}$<$ {\bf T} $>$\-::swap (
\begin{DoxyParamCaption}
\item[{{\bf base\-\_\-t} \&}]{c}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_d_d4hep_1_1dd4hep__ptr_a9545ee3f6465afeefd98336c176529dd}


Definition at line 53 of file Memory.\-h.



The documentation for this class 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{_memory_8h}{Memory.\-h}\end{DoxyCompactItemize}
