MongoDB  2.7.0
Public Member Functions | Friends | List of all members
mongo::RefCountable Class Reference

This is an alternative base class to the above ones (will replace them eventually) More...

#include <intrusive_counter.h>

Inheritance diagram for mongo::RefCountable:
mongo::RCString

Public Member Functions

bool isShared () const
 If false you have exclusive access to this object. This is useful for implementing COW.
 

Friends

void intrusive_ptr_add_ref (const RefCountable *ptr)
 
void intrusive_ptr_release (const RefCountable *ptr)
 

Detailed Description

This is an alternative base class to the above ones (will replace them eventually)


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