#include <bsonobjbuilder.h>
Public Member Functions | |
BSONField (const string &name, const string &longName="") | |
BSONFieldValue< BSONObj > | gt (const T &t) const |
BSONFieldValue< BSONObj > | lt (const T &t) const |
BSONFieldValue< T > | make (const T &t) const |
const string & | name () const |
operator string () const | |
BSONFieldValue< T > | operator() (const T &t) const |
BSONFieldValue< BSONObj > | query (const char *q, const T &t) const |
Private Attributes | |
string | _longName |
string | _name |
Definition at line 53 of file bsonobjbuilder.h.
mongo::BSONField< T >::BSONField | ( | const string & | name, | |
const string & | longName = "" | |||
) | [inline] |
Definition at line 55 of file bsonobjbuilder.h.
BSONFieldValue<BSONObj> mongo::BSONField< T >::gt | ( | const T & | t | ) | const [inline] |
Definition at line 64 of file bsonobjbuilder.h.
BSONFieldValue<BSONObj> mongo::BSONField< T >::lt | ( | const T & | t | ) | const [inline] |
Definition at line 65 of file bsonobjbuilder.h.
BSONFieldValue<T> mongo::BSONField< T >::make | ( | const T & | t | ) | const [inline] |
Definition at line 60 of file bsonobjbuilder.h.
const string& mongo::BSONField< T >::name | ( | ) | const [inline] |
Definition at line 57 of file bsonobjbuilder.h.
mongo::BSONField< T >::operator string | ( | ) | const [inline] |
Definition at line 58 of file bsonobjbuilder.h.
BSONFieldValue<T> mongo::BSONField< T >::operator() | ( | const T & | t | ) | const [inline] |
Definition at line 69 of file bsonobjbuilder.h.
BSONFieldValue< BSONObj > mongo::BSONField< T >::query | ( | const char * | q, | |
const T & | t | |||
) | const [inline] |
Definition at line 659 of file bson-inl.h.
string mongo::BSONField< T >::_longName [private] |
Definition at line 75 of file bsonobjbuilder.h.
string mongo::BSONField< T >::_name [private] |
Definition at line 74 of file bsonobjbuilder.h.