Main Page   Namespace List   Class Hierarchy   Compound List   Namespace Members   Compound Members  

StrongRef Class Reference

#include <SmartPtr.h>

List of all members.

Public Methods

 StrongRef ()
template<class PointerType> void increment (PointerType &)
template<class PointerType> bool decrement (PointerType &)
template<class PointerType> void swap (PointerType &)


Detailed Description

Author:
Eric Crahen <crahen@cse.buffalo.edu>
Date:
<2002-05-30T20:07:09-0400>
Version:
2.1.2
Strong reference ownership policy for a SmartPtr. Disallows copy, reassignment and sharing.


Constructor & Destructor Documentation

StrongRef   [inline]
 

Create a new StrongRef


Member Function Documentation

bool decrement PointerType &    [inline]
 

Always true, the StrongRef will only allow a single reference.

void increment PointerType &    [inline]
 

Doesn't increment, the StrongRef will only allow a single reference.

void swap PointerType &    [inline]
 

Do nothing, there is no count to swap.


The documentation for this class was generated from the following file:
Generated on Thu May 30 21:10:40 2002 for ZThread by doxygen1.2.15