Sophie

Sophie

distrib > Mandriva > 2007.0 > i586 > by-pkgid > ad1ba1135a9c9eeffc2e538163e00373 > files > 724

libCommonC++2_1.4-devel-1.4.1-1mdv2007.0.i586.rpm

\section{ost::Pointer$<$ T $>$ Class Template Reference}
\label{classost_1_1_pointer}\index{ost::Pointer@{ost::Pointer}}
Used to create and manage referece counted pointers.reference counted pointer template.  


{\tt \#include $<$pointer.h$>$}

\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Pointer} (T $\ast$ptr=NULL)
\item 
{\bf Pointer} (const {\bf Pointer}$<$ T $>$ \&ref)
\item 
virtual {\bf $\sim$Pointer} ()
\item 
{\bf Pointer} \& {\bf operator=} (const {\bf Pointer}$<$ T $>$ \&ref)
\item 
T \& {\bf operator $\ast$} () const 
\item 
T $\ast$ {\bf get\-Object} () const 
\item 
T $\ast$ {\bf operator $\rightarrow$ } () const 
\item 
bool {\bf operator!} () const 
\item 
int {\bf operator++} () const 
\item 
int {\bf operator--} () const 
\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
void {\bf ptr\-Detach} (void)
\end{CompactItemize}
\subsection*{Protected Attributes}
\begin{CompactItemize}
\item 
unsigned $\ast$ {\bf ptr\-Count}
\item 
T $\ast$ {\bf ptr\-Object}
\end{CompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$class T$>$ class ost::Pointer$<$ T $>$}

Used to create and manage referece counted pointers.reference counted pointer template. 

\begin{Desc}
\item[Author:]David Sugar $<${\tt dyfet@gnutelephony.org}$>$ \end{Desc}




\subsection{Constructor \& Destructor Documentation}
\index{ost::Pointer@{ost::Pointer}!Pointer@{Pointer}}
\index{Pointer@{Pointer}!ost::Pointer@{ost::Pointer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ {\bf ost::Pointer}$<$ T $>$::{\bf Pointer} (T $\ast$ {\em ptr} = {\tt NULL})\hspace{0.3cm}{\tt  [inline, explicit]}}\label{classost_1_1_pointer_e093c3223ff4390d096db0c676004f6f}


\index{ost::Pointer@{ost::Pointer}!Pointer@{Pointer}}
\index{Pointer@{Pointer}!ost::Pointer@{ost::Pointer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ {\bf ost::Pointer}$<$ T $>$::{\bf Pointer} (const {\bf Pointer}$<$ T $>$ \& {\em ref})\hspace{0.3cm}{\tt  [inline]}}\label{classost_1_1_pointer_eb824e73e9cf8f8fa9b3daa4be4ee8b5}


\index{ost::Pointer@{ost::Pointer}!~Pointer@{$\sim$Pointer}}
\index{~Pointer@{$\sim$Pointer}!ost::Pointer@{ost::Pointer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ virtual {\bf ost::Pointer}$<$ T $>$::$\sim${\bf Pointer} ()\hspace{0.3cm}{\tt  [inline, virtual]}}\label{classost_1_1_pointer_706723912bcdef6fdfc19f00ba466106}




\subsection{Member Function Documentation}
\index{ost::Pointer@{ost::Pointer}!getObject@{getObject}}
\index{getObject@{getObject}!ost::Pointer@{ost::Pointer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ T$\ast$ {\bf ost::Pointer}$<$ T $>$::get\-Object (void) const\hspace{0.3cm}{\tt  [inline]}}\label{classost_1_1_pointer_575b2dceae74af65eaeedd07caddb141}


\index{ost::Pointer@{ost::Pointer}!operator *@{operator $\ast$}}
\index{operator *@{operator $\ast$}!ost::Pointer@{ost::Pointer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ T\& {\bf ost::Pointer}$<$ T $>$::operator $\ast$ () const\hspace{0.3cm}{\tt  [inline]}}\label{classost_1_1_pointer_4bc62033c8a3f0f35a5403b3eee88b13}


\index{ost::Pointer@{ost::Pointer}!operator"!@{operator"!}}
\index{operator"!@{operator"!}!ost::Pointer@{ost::Pointer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ bool {\bf ost::Pointer}$<$ T $>$::operator! (void) const\hspace{0.3cm}{\tt  [inline]}}\label{classost_1_1_pointer_275cb03942d3cf6f5df46b7200555d9a}


\index{ost::Pointer@{ost::Pointer}!operator++@{operator++}}
\index{operator++@{operator++}!ost::Pointer@{ost::Pointer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ int {\bf ost::Pointer}$<$ T $>$::operator++ (void) const\hspace{0.3cm}{\tt  [inline]}}\label{classost_1_1_pointer_062cf7a878bcec3583adcab966a383c8}


\index{ost::Pointer@{ost::Pointer}!operator--@{operator--}}
\index{operator--@{operator--}!ost::Pointer@{ost::Pointer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ int {\bf ost::Pointer}$<$ T $>$::operator-- (void) const\hspace{0.3cm}{\tt  [inline]}}\label{classost_1_1_pointer_cddcdf411d03dfca747f1bfdef970255}


\index{ost::Pointer@{ost::Pointer}!operator->@{operator-$>$}}
\index{operator->@{operator-$>$}!ost::Pointer@{ost::Pointer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ T$\ast$ {\bf ost::Pointer}$<$ T $>$::operator $\rightarrow$  () const\hspace{0.3cm}{\tt  [inline]}}\label{classost_1_1_pointer_5c9f6c308391da82f57d7eec2435c0a0}


\index{ost::Pointer@{ost::Pointer}!operator=@{operator=}}
\index{operator=@{operator=}!ost::Pointer@{ost::Pointer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ {\bf Pointer}\& {\bf ost::Pointer}$<$ T $>$::operator= (const {\bf Pointer}$<$ T $>$ \& {\em ref})\hspace{0.3cm}{\tt  [inline]}}\label{classost_1_1_pointer_796627a6cc2c361b8786a13b1e4f050e}


\index{ost::Pointer@{ost::Pointer}!ptrDetach@{ptrDetach}}
\index{ptrDetach@{ptrDetach}!ost::Pointer@{ost::Pointer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ void {\bf ost::Pointer}$<$ T $>$::ptr\-Detach (void)\hspace{0.3cm}{\tt  [inline, protected]}}\label{classost_1_1_pointer_27a29012c633652dee8ebfbc27df8aa7}




\subsection{Member Data Documentation}
\index{ost::Pointer@{ost::Pointer}!ptrCount@{ptrCount}}
\index{ptrCount@{ptrCount}!ost::Pointer@{ost::Pointer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ unsigned$\ast$ {\bf ost::Pointer}$<$ T $>$::{\bf ptr\-Count}\hspace{0.3cm}{\tt  [protected]}}\label{classost_1_1_pointer_e09e4e15718c8e4ae77a35205e5fe1c5}


\index{ost::Pointer@{ost::Pointer}!ptrObject@{ptrObject}}
\index{ptrObject@{ptrObject}!ost::Pointer@{ost::Pointer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ T$\ast$ {\bf ost::Pointer}$<$ T $>$::{\bf ptr\-Object}\hspace{0.3cm}{\tt  [protected]}}\label{classost_1_1_pointer_7f900a96c12cf1ba6473e426fbad9e4e}




The documentation for this class was generated from the following file:\begin{CompactItemize}
\item 
{\bf pointer.h}\end{CompactItemize}