mongo::DbSet Class Reference

#include <dbhelpers.h>

List of all members.

Public Member Functions

 DbSet (const string &name="", const BSONObj &key=BSONObj())
bool get (const BSONObj &obj) const
void reset (const string &name="", const BSONObj &key=BSONObj())
void set (const BSONObj &obj, bool val)
 ~DbSet ()

Private Attributes

BSONObj key_
string name_

Detailed Description

Definition at line 125 of file dbhelpers.h.


Constructor & Destructor Documentation

mongo::DbSet::DbSet ( const string &  name = "",
const BSONObj key = BSONObj() 
) [inline]

Definition at line 127 of file dbhelpers.h.

mongo::DbSet::~DbSet (  ) 

Member Function Documentation

bool mongo::DbSet::get ( const BSONObj obj  )  const
void mongo::DbSet::reset ( const string &  name = "",
const BSONObj key = BSONObj() 
)
void mongo::DbSet::set ( const BSONObj obj,
bool  val 
)

Member Data Documentation

Definition at line 137 of file dbhelpers.h.

string mongo::DbSet::name_ [private]

Definition at line 136 of file dbhelpers.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:55 2013