mongo::ReplSetConfig Class Reference
#include <rs_config.h>
List of all members.
Detailed Description
Definition at line 31 of file rs_config.h.
Member Enumeration Documentation
Constructor & Destructor Documentation
mongo::ReplSetConfig::ReplSetConfig |
( |
const HostAndPort & |
h |
) |
|
mongo::ReplSetConfig::ReplSetConfig |
( |
BSONObj |
cfg |
) |
|
Member Function Documentation
BSONObj mongo::ReplSetConfig::asBson |
( |
|
) |
const |
void mongo::ReplSetConfig::checkRsConfig |
( |
|
) |
const |
validate the settings. does not call check() on each member, you have to do that separately.
void mongo::ReplSetConfig::clear |
( |
|
) |
[private] |
bool mongo::ReplSetConfig::empty |
( |
|
) |
const [inline] |
- Returns:
- true if could connect, and there is no cfg object there at all
Definition at line 77 of file rs_config.h.
void mongo::ReplSetConfig::from |
( |
BSONObj |
|
) |
[private] |
check if modification makes sense
bool mongo::ReplSetConfig::ok |
( |
|
) |
const [inline] |
list<HostAndPort> mongo::ReplSetConfig::otherMemberHostnames |
( |
|
) |
const |
string mongo::ReplSetConfig::saveConfigEverywhere |
( |
|
) |
|
void mongo::ReplSetConfig::saveConfigLocally |
( |
BSONObj |
comment |
) |
|
string mongo::ReplSetConfig::toString |
( |
|
) |
const [inline] |
Member Data Documentation
The documentation for this class was generated from the following file: