MongoDB C++ Driver
mongocxx-3.0.2
|
A traditional builder-style interface for constructing a BSON array. More...
#include <array.hpp>
Public Member Functions | |
array () | |
Default constructor. | |
bsoncxx::array::view | view () const |
operator bsoncxx::array::view () const | |
Conversion operator that provides a view of the current builder contents. More... | |
bsoncxx::array::value | extract () |
Transfer ownership of the underlying array to the caller. More... | |
void | clear () |
Reset the underlying BSON to an empty array. | |
Public Member Functions inherited from bsoncxx::builder::basic::sub_array | |
sub_array (core *core) | |
Default constructor. | |
template<typename Arg , typename... Args> | |
void | append (Arg &&a, Args &&...args) |
Appends multiple BSON values. | |
void | append () |
Inductive base-case for the variadic append(...) | |
A traditional builder-style interface for constructing a BSON array.
|
inline |
Transfer ownership of the underlying array to the caller.
|
inline |
Conversion operator that provides a view of the current builder contents.
|
inline |