|
MongoDB C++ Driver mongocxx-3.11.1
|
#include <bsoncxx/v_noabi/bsoncxx/builder/basic/document.hpp>
A traditional builder-style interface for constructing a BSON document.
Public Member Functions | |
| document () | |
| Default constructor. | |
| document (document &&doc) noexcept | |
| Move constructor. | |
| void | clear () |
| Reset the underlying BSON to an empty document. | |
| bsoncxx::v_noabi::document::value | extract () |
| Transfer ownership of the underlying document to the caller. | |
| operator bsoncxx::v_noabi::document::view () const | |
| Conversion operator that provides a view of the current builder contents. | |
| document & | operator= (document &&doc) noexcept |
| Move assignment operator. | |
| bsoncxx::v_noabi::document::view | view () const |
Public Member Functions inherited from bsoncxx::v_noabi::builder::basic::sub_document | |
| 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 basic::kvp key-value pairs. | |
|
inline |
Default constructor.
|
inlinenoexcept |
Move constructor.
|
inline |
Reset the underlying BSON to an empty document.
|
inline |
Transfer ownership of the underlying document to the caller.
|
inline |
Conversion operator that provides a view of the current builder contents.
Move assignment operator.
|
inline |