mongo::BSONField< T > Class Template Reference

#include <bsonobjbuilder.h>

List of all members.

Public Member Functions

 BSONField (const string &name, const string &longName="")
BSONFieldValue< BSONObjgt (const T &t) const
BSONFieldValue< BSONObjlt (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< BSONObjquery (const char *q, const T &t) const

Private Attributes

string _longName
string _name

Detailed Description

template<typename T>
class mongo::BSONField< T >

Definition at line 53 of file bsonobjbuilder.h.


Constructor & Destructor Documentation

template<typename T>
mongo::BSONField< T >::BSONField ( const string &  name,
const string &  longName = "" 
) [inline]

Definition at line 55 of file bsonobjbuilder.h.


Member Function Documentation

template<typename T>
BSONFieldValue<BSONObj> mongo::BSONField< T >::gt ( const T &  t  )  const [inline]

Definition at line 64 of file bsonobjbuilder.h.

template<typename T>
BSONFieldValue<BSONObj> mongo::BSONField< T >::lt ( const T &  t  )  const [inline]

Definition at line 65 of file bsonobjbuilder.h.

template<typename T>
BSONFieldValue<T> mongo::BSONField< T >::make ( const T &  t  )  const [inline]

Definition at line 60 of file bsonobjbuilder.h.

template<typename T>
const string& mongo::BSONField< T >::name (  )  const [inline]

Definition at line 57 of file bsonobjbuilder.h.

template<typename T>
mongo::BSONField< T >::operator string (  )  const [inline]

Definition at line 58 of file bsonobjbuilder.h.

template<typename T>
BSONFieldValue<T> mongo::BSONField< T >::operator() ( const T &  t  )  const [inline]

Definition at line 69 of file bsonobjbuilder.h.

template<typename T>
BSONFieldValue< BSONObj > mongo::BSONField< T >::query ( const char *  q,
const T &  t 
) const [inline]

Definition at line 659 of file bson-inl.h.


Member Data Documentation

template<typename T>
string mongo::BSONField< T >::_longName [private]

Definition at line 75 of file bsonobjbuilder.h.

template<typename T>
string mongo::BSONField< T >::_name [private]

Definition at line 74 of file bsonobjbuilder.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


mongodb
Author(s): Nate Koenig
autogenerated on Fri Jan 11 12:15:53 2013