mongo::LastErrorHolder Class Reference

#include <lasterror.h>

List of all members.

Classes

struct  Status

Public Member Functions

LastError_get (bool create=false)
LastErrordisableForCommand ()
void disconnect (int clientId)
LastErrorget (bool create=false)
int getID ()
LastErrorgetSafe ()
void initThread ()
 LastErrorHolder ()
void release ()
void reset (LastError *le)
LastErrorstartRequest (Message &m, LastError *connectionOwned)
 ~LastErrorHolder ()

Private Attributes

boost::thread_specific_ptr
< LastError
_tl

Detailed Description

Definition at line 101 of file lasterror.h.


Constructor & Destructor Documentation

mongo::LastErrorHolder::LastErrorHolder (  )  [inline]

Definition at line 103 of file lasterror.h.

mongo::LastErrorHolder::~LastErrorHolder (  ) 

Member Function Documentation

LastError* mongo::LastErrorHolder::_get ( bool  create = false  ) 
LastError* mongo::LastErrorHolder::disableForCommand (  ) 
void mongo::LastErrorHolder::disconnect ( int  clientId  ) 
LastError* mongo::LastErrorHolder::get ( bool  create = false  ) 
int mongo::LastErrorHolder::getID (  ) 
LastError* mongo::LastErrorHolder::getSafe (  )  [inline]

Definition at line 107 of file lasterror.h.

void mongo::LastErrorHolder::initThread (  ) 

ok to call more than once.

void mongo::LastErrorHolder::release (  ) 
void mongo::LastErrorHolder::reset ( LastError le  ) 
LastError* mongo::LastErrorHolder::startRequest ( Message m,
LastError connectionOwned 
)

when db receives a message/request, call this


Member Data Documentation

boost::thread_specific_ptr<LastError> mongo::LastErrorHolder::_tl [private]

Definition at line 136 of file lasterror.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:55 2013