Pivotal GemFire Native Client Cache Reference  9.0.6
gemfire::NullSharedBase Class Reference

Class encapsulating a NULL SharedBase smart pointer. More...

Inherits gemfire::SharedBase.

Public Member Functions

void preserveSB () const
 Atomically increment reference count. More...
 
int32_t refCount ()
 
void releaseSB () const
 Atomically decrement reference count, the SharedBase object is automatically deleted when its reference count goes to zero. More...
 

Detailed Description

Class encapsulating a NULL SharedBase smart pointer.

This is for passing NULL pointers implicitly to copy constructor of SharedPtr class.

Member Function Documentation

void gemfire::SharedBase::preserveSB ( ) const
inherited

Atomically increment reference count.

int32_t gemfire::SharedBase::refCount ( )
inlineinherited
Returns
the reference count
void gemfire::SharedBase::releaseSB ( ) const
inherited

Atomically decrement reference count, the SharedBase object is automatically deleted when its reference count goes to zero.


GemFire C++ Cache API Documentation