.TH "zipios::SimpleSmartPointer< Type >" 3 "Tue May 9 2017" "Zipios++" \" -*- nroff -*- .ad l .nh .SH NAME zipios::SimpleSmartPointer< Type > \- \fBSimpleSmartPointer\fP is a simple reference counting smart pointer template\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .SS "Public Member Functions" .in +1c .ti -1c .RI "Type * \fBoperator\->\fP () const" .br .ti -1c .RI "Type & \fBoperator*\fP () const" .br .ti -1c .RI "\fBSimpleSmartPointer\fP (Type *p=0)" .br .ti -1c .RI "template \fBSimpleSmartPointer\fP (const \fBSimpleSmartPointer\fP< T2 > &src)" .br .ti -1c .RI "\fBSimpleSmartPointer\fP (const \fBSimpleSmartPointer\fP &src)" .br .ti -1c .RI "template \fBSimpleSmartPointer\fP & \fBoperator=\fP (const \fBSimpleSmartPointer\fP< T2 > &src)" .br .ti -1c .RI "\fBSimpleSmartPointer\fP & \fBoperator=\fP (const \fBSimpleSmartPointer\fP &src)" .br .ti -1c .RI "\fBSimpleSmartPointer\fP & \fBoperator=\fP (Type *src)" .br .ti -1c .RI "bool \fBoperator==\fP (const Type *p) const" .br .ti -1c .RI "bool \fBoperator!=\fP (const Type *p) const" .br .ti -1c .RI "bool \fBoperator==\fP (const \fBSimpleSmartPointer\fP &sp) const" .br .ti -1c .RI "bool \fBoperator!=\fP (const \fBSimpleSmartPointer\fP &sp) const" .br .ti -1c .RI "bool \fBoperator!\fP () const" .br .ti -1c .RI "\fBoperator void *\fP () const" .br .ti -1c .RI "Type * \fBget\fP () const" .br .ti -1c .RI "unsigned int \fBgetReferenceCount\fP () const" .br .RI "Returns the reference count - For debugging purposes\&. " .in -1c .SH "Detailed Description" .PP .SS "template .br class zipios::SimpleSmartPointer< Type >" \fBSimpleSmartPointer\fP is a simple reference counting smart pointer template\&. The type pointed to must keep a reference count that is accessible through the two methods void ref() const and unsigned int unref() const\&. The type must also handle the reference count properly\&. The easiest way to do that is to use the \fBReferenceCount\fP template class\&. .PP Definition at line 15 of file simplesmartptr\&.h\&. .SH "Member Function Documentation" .PP .SS "template unsigned int \fBzipios::SimpleSmartPointer\fP< Type >::getReferenceCount () const\fC [inline]\fP" .PP Returns the reference count - For debugging purposes\&. .PP Definition at line 67 of file simplesmartptr\&.h\&. .SH "Author" .PP Generated automatically by Doxygen for Zipios++ from the source code\&.