SequoiaDB
 All Classes Namespaces Files Functions Macros Pages
Public Member Functions | List of all members
bson::BSONArrayBuilder Class Reference
Inheritance diagram for bson::BSONArrayBuilder:

Public Member Functions

 BSONArrayBuilder (BufBuilder &_b)
 
 BSONArrayBuilder (int initialSize)
 
template<typename T >
BSONArrayBuilderappend (const T &x)
 
BSONArrayBuilderappendTimestamp (unsigned long long val)
 
BSONArrayBuilderappend (const BSONElement &e)
 
BSONArrayBuilderappendEx (const BSONElement &e, const BSONObjBuilderOption &option)
 
template<typename T >
BSONArrayBuilderoperator<< (const T &x)
 
void appendNull ()
 
BSONArray arr ()
 destructive - ownership moves to returned BSONArray
 
BSONObj done ()
 
void doneFast ()
 
void abandon ()
 
template<typename T >
BSONArrayBuilderappend (const StringData &name, const T &x)
 
BufBuilder & subobjStart ()
 
BufBuilder & subarrayStart ()
 
BufBuilder & subobjStart (int pos)
 
BufBuilder & subarrayStart (int pos)
 
BufBuilder & subobjStart (const StringData &name)
 
BufBuilder & subarrayStart (const char *name)
 
void appendArray (const StringData &name, BSONObj subObj)
 
void appendAs (const BSONElement &e, const char *name)
 
int len () const
 

Member Function Documentation

BSONArray bson::BSONArrayBuilder::arr ( )
inline

destructive - ownership moves to returned BSONArray

Returns
owned BSONArray

The documentation for this class was generated from the following file: