SharedCount<T> Class

Template Parameters | Constructors & Destructor | Member Functions | Type Aliases | Member Variables

Definition

Line 81 of System.Base/SharedPtr.cm

Template Parameters

T

Constructors & Destructor

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

Member Functions

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

Type Aliases

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

Member Variables

private Counter<T>* counter

Constructor& Destructor Details

SharedCount Constructor

public SharedCount()

Definition
Line 86 of System.Base/SharedPtr.cm


SharedCount Constructor

public SharedCount(Counter<T>* counter_)

Definition
Line 92 of System.Base/SharedPtr.cm


SharedCount Constructor

public SharedCount(SharedCount&& that)

Definition
Line 106 of System.Base/SharedPtr.cm


SharedCount Constructor

public SharedCount(T* ptr_)

Definition
Line 89 of System.Base/SharedPtr.cm


SharedCount Constructor

public SharedCount(const SharedCount& that)

Definition
Line 99 of System.Base/SharedPtr.cm


SharedCount Constructor

public SharedCount(const WeakCount<T>& that)

Definition
Line 110 of System.Base/SharedPtr.cm


~SharedCount Destructor

public ~SharedCount()

Definition
Line 132 of System.Base/SharedPtr.cm


Member Function Details

GetCounter Member Function

public Counter<T>* GetCounter()

Definition
Line 157 of System.Base/SharedPtr.cm


GetUseCount Member Function

public int GetUseCount()

Definition
Line 145 of System.Base/SharedPtr.cm


IsUnique Member Function

public bool IsUnique()

Definition
Line 153 of System.Base/SharedPtr.cm


Swap Member Function

public void Swap(SharedCount& that)

Definition
Line 139 of System.Base/SharedPtr.cm


operator= Member Function

public void operator=(SharedCount&& that)

Definition
Line 128 of System.Base/SharedPtr.cm


operator= Member Function

public void operator=(const SharedCount& that)

Definition
Line 115 of System.Base/SharedPtr.cm