.TH "ost::Pointer< T >" 3 "Sun Dec 27 2020" "GNU CommonC++" \" -*- nroff -*- .ad l .nh .SH NAME ost::Pointer< T > \- Used to create and manage referece counted pointers\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBPointer\fP (T *ptr=NULL)" .br .ti -1c .RI "\fBPointer\fP (const \fBPointer\fP< T > &ref)" .br .ti -1c .RI "virtual \fB~Pointer\fP ()" .br .ti -1c .RI "\fBPointer\fP & \fBoperator=\fP (const \fBPointer\fP< T > &ref)" .br .ti -1c .RI "T & \fBoperator*\fP () const" .br .ti -1c .RI "T * \fBgetObject\fP () const" .br .ti -1c .RI "T * \fBoperator\->\fP () const" .br .ti -1c .RI "bool \fBoperator!\fP () const" .br .ti -1c .RI "int \fBoperator++\fP () const" .br .ti -1c .RI "int \fBoperator\-\-\fP () const" .br .in -1c .SS "Protected Member Functions" .in +1c .ti -1c .RI "void \fBptrDetach\fP (void)" .br .in -1c .SS "Protected Attributes" .in +1c .ti -1c .RI "unsigned * \fBptrCount\fP" .br .ti -1c .RI "T * \fBptrObject\fP" .br .in -1c .SH "Detailed Description" .PP .SS "template .br class ost::Pointer< T >" Used to create and manage referece counted pointers\&. .PP \fBAuthor\fP .RS 4 David Sugar dyfet@gnutelephony.org .RE .PP reference counted pointer template\&. .SH "Constructor & Destructor Documentation" .PP .SS "template \fBost::Pointer\fP< T >::\fBPointer\fP (T * ptr = \fCNULL\fP)\fC [inline]\fP, \fC [explicit]\fP" .PP References ost::Pointer< T >::ptrCount\&. .SS "template \fBost::Pointer\fP< T >::\fBPointer\fP (const \fBPointer\fP< T > & ref)\fC [inline]\fP" .PP References ost::Pointer< T >::ptrCount, and ost::Pointer< T >::ptrObject\&. .SS "template virtual \fBost::Pointer\fP< T >::~\fBPointer\fP ()\fC [inline]\fP, \fC [virtual]\fP" .PP References ost::Pointer< T >::ptrDetach()\&. .SH "Member Function Documentation" .PP .SS "template T* \fBost::Pointer\fP< T >::getObject (void) const\fC [inline]\fP" .PP References ost::Pointer< T >::ptrObject\&. .SS "template bool \fBost::Pointer\fP< T >::operator! () const\fC [inline]\fP" .PP References ost::Pointer< T >::ptrCount\&. .SS "template T& \fBost::Pointer\fP< T >::operator* () const\fC [inline]\fP" .PP References ost::Pointer< T >::ptrObject\&. .SS "template int \fBost::Pointer\fP< T >::operator++ () const\fC [inline]\fP" .SS "template int \fBost::Pointer\fP< T >::operator\-\- () const\fC [inline]\fP" .PP References ost::Pointer< T >::ptrCount\&. .SS "template T* \fBost::Pointer\fP< T >::operator\-> () const\fC [inline]\fP" .PP References ost::Pointer< T >::ptrObject\&. .SS "template \fBPointer\fP& \fBost::Pointer\fP< T >::operator= (const \fBPointer\fP< T > & ref)\fC [inline]\fP" .PP References ost::Pointer< T >::ptrCount, ost::Pointer< T >::ptrDetach(), and ost::Pointer< T >::ptrObject\&. .SS "template void \fBost::Pointer\fP< T >::ptrDetach (void)\fC [inline]\fP, \fC [protected]\fP" .PP References ost::Pointer< T >::ptrCount, and ost::Pointer< T >::ptrObject\&. .PP Referenced by ost::Pointer< T >::operator=(), and ost::Pointer< T >::~Pointer()\&. .SH "Member Data Documentation" .PP .SS "template unsigned* \fBost::Pointer\fP< T >::ptrCount\fC [protected]\fP" .PP Referenced by ost::Pointer< T >::operator!(), ost::Pointer< T >::operator\-\-(), ost::Pointer< T >::operator=(), ost::Pointer< T >::Pointer(), and ost::Pointer< T >::ptrDetach()\&. .SS "template T* \fBost::Pointer\fP< T >::ptrObject\fC [protected]\fP" .PP Referenced by ost::Pointer< T >::getObject(), ost::Pointer< T >::operator*(), ost::Pointer< T >::operator\->(), ost::Pointer< T >::operator=(), ost::Pointer< T >::Pointer(), and ost::Pointer< T >::ptrDetach()\&. .SH "Author" .PP Generated automatically by Doxygen for GNU CommonC++ from the source code\&.