mongo::ParameterValidator Class Reference
#include <cmdline.h>
List of all members.
Detailed Description
used for setParameter so you can write validation code that lives with code using it rather than all in the command place also lets you have mongos or mongod specific code without pulling it all sorts of things
Definition at line 134 of file cmdline.h.
Constructor & Destructor Documentation
mongo::ParameterValidator::ParameterValidator |
( |
const string & |
name |
) |
|
virtual mongo::ParameterValidator::~ParameterValidator |
( |
|
) |
[inline, virtual] |
Member Function Documentation
static ParameterValidator* mongo::ParameterValidator::get |
( |
const string & |
name |
) |
[static] |
virtual bool mongo::ParameterValidator::isValid |
( |
BSONElement |
e, |
|
|
string & |
errmsg | |
|
) |
| | [pure virtual] |
Member Data Documentation
The documentation for this class was generated from the following file: