#include <bsonmisc.h>
Public Member Functions | |
BSONObjBuilderValueStream (BSONObjBuilder *builder) | |
void | endField (const char *nextFieldName=0) |
Labeler | operator<< (const Labeler::Label &l) |
BSONObjBuilder & | operator<< (MaxKeyLabeler &id) |
BSONObjBuilder & | operator<< (MinKeyLabeler &id) |
BSONObjBuilder & | operator<< (DateNowLabeler &id) |
template<class T > | |
BSONObjBuilder & | operator<< (T value) |
BSONObjBuilder & | operator<< (const BSONElement &e) |
bool | subobjStarted () const |
Private Member Functions | |
bool | haveSubobj () const |
BSONObjBuilder * | subobj () |
Private Attributes | |
BSONObjBuilder * | _builder |
const char * | _fieldName |
auto_ptr< BSONObjBuilder > | _subobj |
Friends | |
class | Labeler |
Definition at line 138 of file bsonmisc.h.
mongo::BSONObjBuilderValueStream::BSONObjBuilderValueStream | ( | BSONObjBuilder * | builder | ) | [inline] |
Definition at line 157 of file bson-inl.h.
void mongo::BSONObjBuilderValueStream::endField | ( | const char * | nextFieldName = 0 |
) | [inline] |
Definition at line 179 of file bson-inl.h.
bool mongo::BSONObjBuilderValueStream::haveSubobj | ( | ) | const [inline, private] |
Definition at line 162 of file bsonmisc.h.
Labeler mongo::BSONObjBuilderValueStream::operator<< | ( | const Labeler::Label & | l | ) | [inline] |
Definition at line 175 of file bson-inl.h.
BSONObjBuilder & mongo::BSONObjBuilderValueStream::operator<< | ( | MaxKeyLabeler & | id | ) | [inline] |
BSONObjBuilder & mongo::BSONObjBuilderValueStream::operator<< | ( | MinKeyLabeler & | id | ) | [inline] |
BSONObjBuilder & mongo::BSONObjBuilderValueStream::operator<< | ( | DateNowLabeler & | id | ) | [inline] |
BSONObjBuilder & mongo::BSONObjBuilderValueStream::operator<< | ( | T | value | ) | [inline] |
Definition at line 163 of file bson-inl.h.
BSONObjBuilder & mongo::BSONObjBuilderValueStream::operator<< | ( | const BSONElement & | e | ) | [inline] |
Definition at line 169 of file bson-inl.h.
BSONObjBuilder * mongo::BSONObjBuilderValueStream::subobj | ( | ) | [inline, private] |
Definition at line 187 of file bson-inl.h.
bool mongo::BSONObjBuilderValueStream::subobjStarted | ( | ) | const [inline] |
Definition at line 156 of file bsonmisc.h.
friend class Labeler [friend] |
Definition at line 140 of file bsonmisc.h.
Definition at line 160 of file bsonmisc.h.
const char* mongo::BSONObjBuilderValueStream::_fieldName [private] |
Definition at line 159 of file bsonmisc.h.
auto_ptr< BSONObjBuilder > mongo::BSONObjBuilderValueStream::_subobj [private] |
Definition at line 164 of file bsonmisc.h.