MongoDB  2.7.0
Public Member Functions | Static Public Member Functions | List of all members
mongo::RCString Class Reference

This is an immutable reference-counted string. More...

#include <intrusive_counter.h>

Inheritance diagram for mongo::RCString:

Public Member Functions

const char * c_str () const
int size () const
StringData stringData () const
void operator delete (void *ptr)
- Public Member Functions inherited from mongo::RefCountable
bool isShared () const
 If false you have exclusive access to this object. This is useful for implementing COW.

Static Public Member Functions

static intrusive_ptr< const
create (StringData s)

Detailed Description

This is an immutable reference-counted string.

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