LLVM API Documentation

Protected Member Functions | Friends
llvm::RefCountedBaseVPTR Class Reference

#include <IntrusiveRefCntPtr.h>

List of all members.

Protected Member Functions

 RefCountedBaseVPTR ()
 RefCountedBaseVPTR (const RefCountedBaseVPTR &)
virtual ~RefCountedBaseVPTR ()
void Retain () const
void Release () const

Friends

struct IntrusiveRefCntPtrInfo

Detailed Description

RefCountedBaseVPTR - A class that has the same function as RefCountedBase, but with a virtual destructor. Should be used instead of RefCountedBase for classes that already have virtual methods to enforce dynamic allocation via 'new'. Classes that inherit from RefCountedBaseVPTR can't be allocated on stack - attempting to do this will produce a compile error.

Definition at line 67 of file IntrusiveRefCntPtr.h.


Constructor & Destructor Documentation

Definition at line 72 of file IntrusiveRefCntPtr.h.

Definition at line 73 of file IntrusiveRefCntPtr.h.

virtual llvm::RefCountedBaseVPTR::~RefCountedBaseVPTR ( ) [inline, protected, virtual]

Definition at line 75 of file IntrusiveRefCntPtr.h.


Member Function Documentation

void llvm::RefCountedBaseVPTR::Release ( ) const [inline, protected]

Definition at line 78 of file IntrusiveRefCntPtr.h.

void llvm::RefCountedBaseVPTR::Retain ( ) const [inline, protected]

Definition at line 77 of file IntrusiveRefCntPtr.h.


Friends And Related Function Documentation

friend struct IntrusiveRefCntPtrInfo [friend]

Definition at line 84 of file IntrusiveRefCntPtr.h.


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