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 nothrow 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 85 of System.Base/SharedPtr.cm


SharedCount Constructor

public nothrow SharedCount(Counter<T>* counter_)

Definition
Line 91 of System.Base/SharedPtr.cm


SharedCount Constructor

public nothrow SharedCount(SharedCount&& that)

Definition
Line 105 of System.Base/SharedPtr.cm


SharedCount Constructor

public nothrow SharedCount(T* ptr_)

Definition
Line 88 of System.Base/SharedPtr.cm


SharedCount Constructor

public nothrow SharedCount(const SharedCount& that)

Definition
Line 98 of System.Base/SharedPtr.cm


SharedCount Constructor

public nothrow SharedCount(const WeakCount<T>& that)

Definition
Line 109 of System.Base/SharedPtr.cm


~SharedCount Destructor

public ~SharedCount()

Definition
Line 130 of System.Base/SharedPtr.cm


Member Function Details

GetCounter Member Function

public nothrow Counter<T>* GetCounter()

Definition
Line 155 of System.Base/SharedPtr.cm


GetUseCount Member Function

public nothrow int GetUseCount()

Definition
Line 143 of System.Base/SharedPtr.cm


IsUnique Member Function

public nothrow bool IsUnique()

Definition
Line 151 of System.Base/SharedPtr.cm


Swap Member Function

public nothrow void Swap(SharedCount& that)

Definition
Line 137 of System.Base/SharedPtr.cm


operator= Member Function

public nothrow void operator=(SharedCount&& that)

Definition
Line 126 of System.Base/SharedPtr.cm


operator= Member Function

public nothrow void operator=(const SharedCount& that)

Definition
Line 113 of System.Base/SharedPtr.cm