Sophie

Sophie

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

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

\section{ost::obj\-Counter$<$ T $>$ Class Template Reference}
\label{classost_1_1obj_counter}\index{ost::objCounter@{ost::objCounter}}
Generic template class for creating classes which maintain an active count of the number of instances currently in active use.Object instance global reference count.  


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

\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
{\bf obj\-Counter} ()
\item 
virtual {\bf $\sim$obj\-Counter} ()
\end{CompactItemize}
\subsection*{Static Protected Attributes}
\begin{CompactItemize}
\item 
static unsigned {\bf obj\-Count} = 0
\end{CompactItemize}


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

Generic template class for creating classes which maintain an active count of the number of instances currently in active use.Object instance global reference count. 

This is a form of global reference count.

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




\subsection{Constructor \& Destructor Documentation}
\index{ost::objCounter@{ost::obj\-Counter}!objCounter@{objCounter}}
\index{objCounter@{objCounter}!ost::objCounter@{ost::obj\-Counter}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ {\bf ost::obj\-Counter}$<$ T $>$::{\bf obj\-Counter} ()\hspace{0.3cm}{\tt  [inline, protected]}}\label{classost_1_1obj_counter_0d41bc0b965497f8db80f567eb02b9cc}


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




\subsection{Member Data Documentation}
\index{ost::objCounter@{ost::obj\-Counter}!objCount@{objCount}}
\index{objCount@{objCount}!ost::objCounter@{ost::obj\-Counter}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ unsigned {\bf ost::obj\-Counter}$<$ T $>$::{\bf obj\-Count} = 0\hspace{0.3cm}{\tt  [static, protected]}}\label{classost_1_1obj_counter_02126cf4ffa68c83c35fa1fbb92ddbe1}




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