\section{Basic\-Counter Class Reference}
\label{class_basic_counter}\index{BasicCounter@{BasicCounter}}
This class is used by Basic\-Smart\-Pointer to count pointer references.  


{\tt \#include $<$Basic\-Counter.h$>$}

\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Basic\-Counter} (const long initial\-Count)
\item 
{\bf Basic\-Counter} ()
\item 
void {\bf inc} ()
\begin{CompactList}\small\item\em Increment. \item\end{CompactList}\item 
bool {\bf dec} ()
\begin{CompactList}\small\item\em Decrement. \item\end{CompactList}\item 
long {\bf get\-Count} () const
\begin{CompactList}\small\item\em Get the current count. \item\end{CompactList}\end{CompactItemize}
\subsection*{Private Attributes}
\begin{CompactItemize}
\item 
long {\bf count}
\end{CompactItemize}


\subsection{Detailed Description}
This class is used by Basic\-Smart\-Pointer to count pointer references. 



\subsection{Constructor \& Destructor Documentation}
\index{BasicCounter@{Basic\-Counter}!BasicCounter@{BasicCounter}}
\index{BasicCounter@{BasicCounter}!BasicCounter@{Basic\-Counter}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Basic\-Counter::Basic\-Counter (const long {\em initial\-Count})\hspace{0.3cm}{\tt  [inline]}}\label{class_basic_counter_a0}


\index{BasicCounter@{Basic\-Counter}!BasicCounter@{BasicCounter}}
\index{BasicCounter@{BasicCounter}!BasicCounter@{Basic\-Counter}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Basic\-Counter::Basic\-Counter ()\hspace{0.3cm}{\tt  [inline]}}\label{class_basic_counter_a1}




\subsection{Member Function Documentation}
\index{BasicCounter@{Basic\-Counter}!dec@{dec}}
\index{dec@{dec}!BasicCounter@{Basic\-Counter}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool Basic\-Counter::dec ()\hspace{0.3cm}{\tt  [inline]}}\label{class_basic_counter_a3}


Decrement. 

\begin{Desc}
\item[Returns:]true if count != 0, false otherwise \end{Desc}
\index{BasicCounter@{Basic\-Counter}!getCount@{getCount}}
\index{getCount@{getCount}!BasicCounter@{Basic\-Counter}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}long Basic\-Counter::get\-Count () const\hspace{0.3cm}{\tt  [inline]}}\label{class_basic_counter_a4}


Get the current count. 

\begin{Desc}
\item[Returns:]The count. \end{Desc}
\index{BasicCounter@{Basic\-Counter}!inc@{inc}}
\index{inc@{inc}!BasicCounter@{Basic\-Counter}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Basic\-Counter::inc ()\hspace{0.3cm}{\tt  [inline]}}\label{class_basic_counter_a2}


Increment. 



\subsection{Member Data Documentation}
\index{BasicCounter@{Basic\-Counter}!count@{count}}
\index{count@{count}!BasicCounter@{Basic\-Counter}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}long {\bf Basic\-Counter::count}\hspace{0.3cm}{\tt  [private]}}\label{class_basic_counter_r0}




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