VMware GemFire Native C++ Reference  9.1
apache::geode::client::NullSharedBase Class Reference

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

Inherits apache::geode::client::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 apache::geode::client::SharedBase::preserveSB ( ) const
inherited

Atomically increment reference count.

int32_t apache::geode::client::SharedBase::refCount ( )
inlineinherited
Returns
the reference count
void apache::geode::client::SharedBase::releaseSB ( ) const
inherited

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


Pivotal GemFire C++ Cache API Documentation