#include <projection.h>
Public Member Functions | |
void | addNo () |
void | addYes (const string &name) |
BSONObj | hydrate (const BSONObj &key) const |
KeyOnly () | |
Private Member Functions | |
void | _add (bool b, const string &name) |
Private Attributes | |
vector< bool > | _include |
vector< string > | _names |
int | _stringSize |
Definition at line 33 of file projection.h.
mongo::Projection::KeyOnly::KeyOnly | ( | ) | [inline] |
Definition at line 36 of file projection.h.
void mongo::Projection::KeyOnly::_add | ( | bool | b, | |
const string & | name | |||
) | [inline, private] |
Definition at line 45 of file projection.h.
void mongo::Projection::KeyOnly::addNo | ( | ) | [inline] |
Definition at line 40 of file projection.h.
void mongo::Projection::KeyOnly::addYes | ( | const string & | name | ) | [inline] |
Definition at line 41 of file projection.h.
vector<bool> mongo::Projection::KeyOnly::_include [private] |
Definition at line 51 of file projection.h.
vector<string> mongo::Projection::KeyOnly::_names [private] |
Definition at line 52 of file projection.h.
int mongo::Projection::KeyOnly::_stringSize [private] |
Definition at line 54 of file projection.h.