mongo::ReplSetCommand Class Reference

#include <rs.h>

Inheritance diagram for mongo::ReplSetCommand:
Inheritance graph
[legend]

List of all members.

Protected Member Functions

virtual bool adminOnly () const
bool check (string &errmsg, BSONObjBuilder &result)
virtual void help (stringstream &help) const
virtual LockType locktype () const
virtual bool logTheOp ()
 ReplSetCommand (const char *s, bool show=false)
virtual bool slaveOk () const

Detailed Description

base class for repl set commands. checks basic things such as in rs mode before the command does its real work

Definition at line 407 of file rs.h.


Constructor & Destructor Documentation

mongo::ReplSetCommand::ReplSetCommand ( const char *  s,
bool  show = false 
) [inline, protected]

Definition at line 409 of file rs.h.


Member Function Documentation

virtual bool mongo::ReplSetCommand::adminOnly (  )  const [inline, protected, virtual]

Reimplemented from mongo::Command.

Definition at line 411 of file rs.h.

bool mongo::ReplSetCommand::check ( string &  errmsg,
BSONObjBuilder result 
) [inline, protected]

Definition at line 415 of file rs.h.

virtual void mongo::ReplSetCommand::help ( stringstream &  help  )  const [inline, protected, virtual]

Reimplemented from mongo::Command.

Definition at line 414 of file rs.h.

virtual LockType mongo::ReplSetCommand::locktype (  )  const [inline, protected, virtual]

Implements mongo::Command.

Definition at line 413 of file rs.h.

virtual bool mongo::ReplSetCommand::logTheOp (  )  [inline, protected, virtual]

Reimplemented from mongo::Command.

Definition at line 412 of file rs.h.

virtual bool mongo::ReplSetCommand::slaveOk (  )  const [inline, protected, virtual]

Implements mongo::Command.

Definition at line 410 of file rs.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:57 2013