#include <rs.h>
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 |
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.
mongo::ReplSetCommand::ReplSetCommand | ( | const char * | s, | |
bool | show = false | |||
) | [inline, protected] |
virtual bool mongo::ReplSetCommand::adminOnly | ( | ) | const [inline, protected, virtual] |
Reimplemented from mongo::Command.
bool mongo::ReplSetCommand::check | ( | string & | errmsg, | |
BSONObjBuilder & | result | |||
) | [inline, protected] |
virtual void mongo::ReplSetCommand::help | ( | stringstream & | help | ) | const [inline, protected, virtual] |
Reimplemented from mongo::Command.
virtual LockType mongo::ReplSetCommand::locktype | ( | ) | const [inline, protected, virtual] |
Implements mongo::Command.
virtual bool mongo::ReplSetCommand::logTheOp | ( | ) | [inline, protected, virtual] |
Reimplemented from mongo::Command.
virtual bool mongo::ReplSetCommand::slaveOk | ( | ) | const [inline, protected, virtual] |
Implements mongo::Command.