mongo::ModState Class Reference

#include <update.h>

List of all members.

Public Member Functions

void appendForOpLog (BSONObjBuilder &b) const
template<class Builder >
void appendIncValue (Builder &b, bool useFullName) const
template<class Builder >
void apply (Builder &b, BSONElement in)
const char * fieldName () const
template<class Builder >
void handleRename (Builder &newObjBuilder, const char *shortFieldName)
 ModState ()
bool needOpLogRewrite () const
Mod::Op op () const
string toString () const

Public Attributes

BSONObj _objData
bool dontApply
BSONElementfixed
const char * fixedOpName
double incdouble
int incint
long long inclong
BSONType incType
const Modm
BSONElement newVal
BSONElement old
int pushStartSize

Detailed Description

stores any information about a single Mod operating on a single Object

Definition at line 418 of file update.h.


Constructor & Destructor Documentation

mongo::ModState::ModState (  )  [inline]

Definition at line 436 of file update.h.


Member Function Documentation

void mongo::ModState::appendForOpLog ( BSONObjBuilder b  )  const
template<class Builder >
void mongo::ModState::appendIncValue ( Builder &  b,
bool  useFullName 
) const [inline]

Definition at line 481 of file update.h.

template<class Builder >
void mongo::ModState::apply ( Builder &  b,
BSONElement  in 
) [inline]

Definition at line 476 of file update.h.

const char* mongo::ModState::fieldName (  )  const [inline]

Definition at line 448 of file update.h.

template<class Builder >
void mongo::ModState::handleRename ( Builder &  newObjBuilder,
const char *  shortFieldName 
) [inline]
bool mongo::ModState::needOpLogRewrite (  )  const [inline]

Definition at line 452 of file update.h.

Mod::Op mongo::ModState::op (  )  const [inline]

Definition at line 444 of file update.h.

string mongo::ModState::toString (  )  const

Member Data Documentation

Definition at line 423 of file update.h.

Definition at line 434 of file update.h.

Definition at line 426 of file update.h.

Definition at line 425 of file update.h.

Definition at line 431 of file update.h.

Definition at line 430 of file update.h.

Definition at line 432 of file update.h.

Definition at line 429 of file update.h.

Definition at line 420 of file update.h.

Definition at line 422 of file update.h.

Definition at line 421 of file update.h.

Definition at line 427 of file update.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:56 2013