#include <bsonobjbuilder.h>
Public Member Functions | |
| template<typename T > | |
| BSONArrayBuilder & | append (const StringData &name, const T &x) |
| BSONArrayBuilder & | append (const BSONElement &e) |
| template<typename T > | |
| BSONArrayBuilder & | append (const T &x) |
| void | appendArray (const StringData &name, BSONObj subObj) |
| void | appendAs (const BSONElement &e, const char *name) |
| void | appendNull () |
| BSONArray | arr () |
| BSONArrayBuilder (int initialSize) | |
| BSONArrayBuilder (BufBuilder &_b) | |
| BSONArrayBuilder () | |
| BSONObj | done () |
| void | doneFast () |
| int | len () const |
| template<typename T > | |
| BSONArrayBuilder & | operator<< (const T &x) |
| BufBuilder & | subarrayStart (const char *name) |
| BufBuilder & | subobjStart (const StringData &name="0") |
Private Member Functions | |
| void | fill (const StringData &name) |
| string | num () |
Static Private Member Functions | |
| static BSONElement | nullElt () |
| static BSONObj | nullObj () |
Private Attributes | |
| BSONObjBuilder | _b |
| int | _i |
Definition at line 652 of file bsonobjbuilder.h.
| mongo::BSONArrayBuilder::BSONArrayBuilder | ( | ) | [inline] |
Definition at line 654 of file bsonobjbuilder.h.
| mongo::BSONArrayBuilder::BSONArrayBuilder | ( | BufBuilder & | _b | ) | [inline] |
Definition at line 655 of file bsonobjbuilder.h.
| mongo::BSONArrayBuilder::BSONArrayBuilder | ( | int | initialSize | ) | [inline] |
Definition at line 656 of file bsonobjbuilder.h.
| BSONArrayBuilder& mongo::BSONArrayBuilder::append | ( | const StringData & | name, | |
| const T & | x | |||
| ) | [inline] |
Definition at line 689 of file bsonobjbuilder.h.
| BSONArrayBuilder& mongo::BSONArrayBuilder::append | ( | const BSONElement & | e | ) | [inline] |
Definition at line 664 of file bsonobjbuilder.h.
| BSONArrayBuilder& mongo::BSONArrayBuilder::append | ( | const T & | x | ) | [inline] |
Definition at line 659 of file bsonobjbuilder.h.
| void mongo::BSONArrayBuilder::appendArray | ( | const StringData & | name, | |
| BSONObj | subObj | |||
| ) | [inline] |
Definition at line 705 of file bsonobjbuilder.h.
| void mongo::BSONArrayBuilder::appendAs | ( | const BSONElement & | e, | |
| const char * | name | |||
| ) | [inline] |
Definition at line 710 of file bsonobjbuilder.h.
| void mongo::BSONArrayBuilder::appendNull | ( | ) | [inline] |
Definition at line 674 of file bsonobjbuilder.h.
| BSONArray mongo::BSONArrayBuilder::arr | ( | ) | [inline] |
destructive - ownership moves to returned BSONArray
Definition at line 682 of file bsonobjbuilder.h.
| BSONObj mongo::BSONArrayBuilder::done | ( | ) | [inline] |
Definition at line 684 of file bsonobjbuilder.h.
| void mongo::BSONArrayBuilder::doneFast | ( | ) | [inline] |
Definition at line 686 of file bsonobjbuilder.h.
| void mongo::BSONArrayBuilder::fill | ( | const StringData & | name | ) | [inline, private] |
Definition at line 718 of file bsonobjbuilder.h.
| int mongo::BSONArrayBuilder::len | ( | ) | const [inline] |
Definition at line 715 of file bsonobjbuilder.h.
| static BSONElement mongo::BSONArrayBuilder::nullElt | ( | ) | [inline, static, private] |
Definition at line 727 of file bsonobjbuilder.h.
| static BSONObj mongo::BSONArrayBuilder::nullObj | ( | ) | [inline, static, private] |
Definition at line 732 of file bsonobjbuilder.h.
| string mongo::BSONArrayBuilder::num | ( | ) | [inline, private] |
Definition at line 738 of file bsonobjbuilder.h.
| BSONArrayBuilder& mongo::BSONArrayBuilder::operator<< | ( | const T & | x | ) | [inline] |
Definition at line 670 of file bsonobjbuilder.h.
| BufBuilder& mongo::BSONArrayBuilder::subarrayStart | ( | const char * | name | ) | [inline] |
Definition at line 700 of file bsonobjbuilder.h.
| BufBuilder& mongo::BSONArrayBuilder::subobjStart | ( | const StringData & | name = "0" |
) | [inline] |
Definition at line 695 of file bsonobjbuilder.h.
BSONObjBuilder mongo::BSONArrayBuilder::_b [private] |
Definition at line 740 of file bsonobjbuilder.h.
int mongo::BSONArrayBuilder::_i [private] |
Definition at line 739 of file bsonobjbuilder.h.