SharedCount<T> Class

Template Parameters

T

Constructors & Destructor

public nothrow SharedCount()
public nothrow SharedCount(Counter<T>* counter_)
public nothrow SharedCount(SharedCount&& that)
public nothrow SharedCount(T* ptr_)
public nothrow SharedCount(const SharedCount& that)
public SharedCount(const WeakCount<T>& that)
public ~SharedCount()

Member Functions

public nothrow Counter<T>* GetCounter() const
public nothrow int GetUseCount() const
public nothrow bool IsUnique() const
public nothrow void Swap(SharedCount& that)
public nothrow void operator=(SharedCount&& that)
public nothrow void operator=(const SharedCount& that)

Typedefs

private typedef CounterPtrType Counter<T>*
private typedef Self SharedCount

Member Variables

private Counter<T>* counter

Constructor& Destructor Details

SharedCount Constructor

public nothrow SharedCount()

Definition
Line 89 of System.Base/SharedPtr.cm


SharedCount Constructor

public nothrow SharedCount(Counter<T>* counter_)

Definition
Line 95 of System.Base/SharedPtr.cm


SharedCount Constructor

public nothrow SharedCount(SharedCount&& that)

Definition
Line 109 of System.Base/SharedPtr.cm


SharedCount Constructor

public nothrow SharedCount(T* ptr_)

Definition
Line 92 of System.Base/SharedPtr.cm


SharedCount Constructor

public nothrow SharedCount(const SharedCount& that)

Definition
Line 102 of System.Base/SharedPtr.cm


SharedCount Constructor

public SharedCount(const WeakCount<T>& that)

Definition
Line 113 of System.Base/SharedPtr.cm


~SharedCount Destructor

public ~SharedCount()

Definition
Line 138 of System.Base/SharedPtr.cm


Member Function Details

GetCounter Member Function

public nothrow Counter<T>* GetCounter()

Definition
Line 163 of System.Base/SharedPtr.cm


GetUseCount Member Function

public nothrow int GetUseCount()

Definition
Line 151 of System.Base/SharedPtr.cm


IsUnique Member Function

public nothrow bool IsUnique()

Definition
Line 159 of System.Base/SharedPtr.cm


Swap Member Function

public nothrow void Swap(SharedCount& that)

Definition
Line 145 of System.Base/SharedPtr.cm


operator= Member Function

public nothrow void operator=(SharedCount&& that)

Definition
Line 134 of System.Base/SharedPtr.cm


operator= Member Function

public nothrow void operator=(const SharedCount& that)

Definition
Line 121 of System.Base/SharedPtr.cm