Public Member Functions | Protected Member Functions | List of all members
IRefCounted Struct Referenceabstract

Interface to be adopted by a class the implements the reference-counting pattern. More...

#include <RefCounted.h>

Inheritance diagram for IRefCounted:
DependencyManagerLinkage::IRootsChangedCallback ElementCopyContext::IEventHandler ICachedDraw IElementState IFaceMaterialAttachments IRasterSourceFileQuery ISolidKernelEntity ISprite ISubEntity ITxn::ICustomEntry IViewOutput TxnMonitor IPropertyAccess IPropertyProvider RefCounted< Bentley::IRefCounted > RefCounted< IRefCounted >

Public Member Functions

virtual UInt32 AddRef () const =0
 
virtual UInt32 Release () const =0
 

Protected Member Functions

virtual ~IRefCounted ()
 
void * operator new (size_t size)
 
void operator delete (void *rawMemory, size_t size)
 

Detailed Description

Interface to be adopted by a class the implements the reference-counting pattern.

Constructor & Destructor Documentation

virtual ~IRefCounted ( )
protectedvirtual

Member Function Documentation

virtual UInt32 AddRef ( ) const
pure virtual
void operator delete ( void *  rawMemory,
size_t  size 
)
protected

References size().

void* operator new ( size_t  size)
protected

References size().

virtual UInt32 Release ( ) const
pure virtual

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

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.