Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
RefPtrBase Class Reference

#include <RefPtr.h>

Inherited by RefPtr< Type >, and RefPtrConst< Type >.

Public Member Functions

bool operator== (const RefPtrBase &rhs) const
 
bool operator!= (const RefPtrBase &rhs) const
 
bool IsValid (void) const
 
void Detach (void)
 

Protected Member Functions

 RefPtrBase ()
 
 RefPtrBase (RefCounted *object)
 
 RefPtrBase (const RefPtrBase &object)
 
virtual ~RefPtrBase ()
 
const RefPtrBaseoperator= (const RefPtrBase &)
 
RefCounted *const GetRefObject (void)
 
const RefCounted *const GetRefObject (void) const
 
void Attach (RefCounted *object)
 

Friends

template<typename Derived>
RefPtr< Derived > Dynamic_Cast (RefPtrBase &base)
 
template<typename Type>
RefPtr< Type > Reinterpret_Cast (RefPtrBase &rhs)
 

Detailed Description

Definition at line 79 of file RefPtr.h.

Constructor & Destructor Documentation

◆ RefPtrBase() [1/3]

RefPtrBase::RefPtrBase ( )
inlineprotected

Definition at line 101 of file RefPtr.h.

◆ RefPtrBase() [2/3]

RefPtrBase::RefPtrBase ( RefCounted * object)
inlineprotected

Definition at line 105 of file RefPtr.h.

◆ RefPtrBase() [3/3]

RefPtrBase::RefPtrBase ( const RefPtrBase & object)
inlineprotected

Definition at line 116 of file RefPtr.h.

◆ ~RefPtrBase()

virtual RefPtrBase::~RefPtrBase ( )
inlineprotectedvirtual

Definition at line 127 of file RefPtr.h.

Member Function Documentation

◆ Attach()

void RefPtrBase::Attach ( RefCounted * object)
inlineprotected

Definition at line 138 of file RefPtr.h.

◆ Detach()

void RefPtrBase::Detach ( void )
inline

Definition at line 91 of file RefPtr.h.

◆ GetRefObject() [1/2]

RefCounted *const RefPtrBase::GetRefObject ( void )
inlineprotected

Definition at line 132 of file RefPtr.h.

◆ GetRefObject() [2/2]

const RefCounted *const RefPtrBase::GetRefObject ( void ) const
inlineprotected

Definition at line 135 of file RefPtr.h.

◆ IsValid()

bool RefPtrBase::IsValid ( void ) const
inline

Definition at line 88 of file RefPtr.h.

◆ operator!=()

bool RefPtrBase::operator!= ( const RefPtrBase & rhs) const
inline

Definition at line 85 of file RefPtr.h.

◆ operator=()

const RefPtrBase & RefPtrBase::operator= ( const RefPtrBase & )
protected

◆ operator==()

bool RefPtrBase::operator== ( const RefPtrBase & rhs) const
inline

Definition at line 82 of file RefPtr.h.

Friends And Related Symbol Documentation

◆ Dynamic_Cast

template<typename Derived>
RefPtr< Derived > Dynamic_Cast ( RefPtrBase & base)
friend

Definition at line 336 of file RefPtr.h.

◆ Reinterpret_Cast

template<typename Type>
RefPtr< Type > Reinterpret_Cast ( RefPtrBase & rhs)
friend

Definition at line 345 of file RefPtr.h.


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