mongo::ThreadSafeString Class Reference

#include <goodies.h>

List of all members.

Public Member Functions

bool empty () const
bool operator!= (const char *str) const
ThreadSafeStringoperator= (const char *str)
bool operator== (const char *str) const
bool operator== (const ThreadSafeString &other) const
 ThreadSafeString (const ThreadSafeString &other)
 ThreadSafeString (size_t size=256)
string toString () const
 ~ThreadSafeString ()

Private Attributes

char * _buf
size_t _size

Detailed Description

this is a thread safe string you will never get a bad pointer, though data may be mungedd

Definition at line 417 of file goodies.h.


Constructor & Destructor Documentation

mongo::ThreadSafeString::ThreadSafeString ( size_t  size = 256  )  [inline]

Definition at line 419 of file goodies.h.

mongo::ThreadSafeString::ThreadSafeString ( const ThreadSafeString other  )  [inline]

Definition at line 424 of file goodies.h.

mongo::ThreadSafeString::~ThreadSafeString (  )  [inline]

Definition at line 429 of file goodies.h.


Member Function Documentation

bool mongo::ThreadSafeString::empty (  )  const [inline]

Definition at line 460 of file goodies.h.

bool mongo::ThreadSafeString::operator!= ( const char *  str  )  const [inline]

Definition at line 456 of file goodies.h.

ThreadSafeString& mongo::ThreadSafeString::operator= ( const char *  str  )  [inline]

Definition at line 439 of file goodies.h.

bool mongo::ThreadSafeString::operator== ( const char *  str  )  const [inline]

Definition at line 452 of file goodies.h.

bool mongo::ThreadSafeString::operator== ( const ThreadSafeString other  )  const [inline]

Definition at line 448 of file goodies.h.

string mongo::ThreadSafeString::toString (  )  const [inline]

Definition at line 434 of file goodies.h.


Member Data Documentation

Definition at line 466 of file goodies.h.

Definition at line 465 of file goodies.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


mongodb
Author(s): Nate Koenig
autogenerated on Fri Jan 11 12:15:58 2013