FX::Pol::refCounted< type > Class Template Reference

#include <FXPolicies.h>

List of all members.


Detailed Description

template<class type>
class FX::Pol::refCounted< type >

Policy specifying that an object pointee should be reference counted.

Note:
Requires that the object provides a refCount() method which returns a reference to an int-like entity eg; an int itself or FX::FXAtomicInt
See also:
FX::Generic::ptr

Public Member Functions

 refCounted (type *d)
 refCounted (const refCounted &o)
refCountedoperator= (const refCounted &o)

Protected Attributes

type * data

Friends

type * PtrPtr (refCounted &p)
const type * PtrPtr (const refCounted &p)
type *& PtrRef (refCounted &p)
const type * PtrRef (const refCounted &p)

The documentation for this class was generated from the following file:

(C) 2002-2008 Niall Douglas. Some parts (C) to assorted authors.
Generated on Fri Jun 13 22:30:22 2008 for TnFOX by doxygen v1.5.6