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