A streaming interface for constructing a BSON document.
- Warning
- Use of the stream builder is discouraged. See Working with BSON for more details.
|
| | document () |
| | Default 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 |
| |
| bsoncxx::v_noabi::document::view | view () const |
| |
| | key_context (core *core) |
| | Create a key_context given a core builder.
|
| |
| | key_context (core *core) |
| | Create a key_context given a core builder.
|
| |
| | key_context (core *core) |
| | Create a key_context given a core builder.
|
| |
| | operator key_context<> () |
| | Conversion operator which provides a rooted document given any stream currently in a nested key_context.
|
| |
| | operator key_context<> () |
| | Conversion operator which provides a rooted document given any stream currently in a nested key_context.
|
| |
| | operator key_context<> () |
| | Conversion operator which provides a rooted document given any stream currently in a nested key_context.
|
| |
| value_context< key_context > | operator<< (char const (&v)[n]) |
| | << operator for accepting a literal key and appending it to the core builder.
|
| |
| value_context< key_context > | operator<< (char const (&v)[n]) |
| | << operator for accepting a literal key and appending it to the core builder.
|
| |
| value_context< key_context > | operator<< (char const(&v)[n]) |
| | << operator for accepting a literal key and appending it to the core builder.
|
| |
| base | operator<< (close_document_type const) |
| | << operator for closing a subdocument in the core builder.
|
| |
| base | operator<< (close_document_type const) |
| | << operator for closing a subdocument in the core builder.
|
| |
| base | operator<< (close_document_type const) |
| | << operator for closing a subdocument in the core builder.
|
| |
| key_context | operator<< (concatenate_doc doc) |
| | << operator for concatenating another document.
|
| |
| key_context | operator<< (concatenate_doc doc) |
| | << operator for concatenating another document.
|
| |
| key_context | operator<< (concatenate_doc doc) |
| | << operator for concatenating another document.
|
| |
| value_context< key_context > | operator<< (std::string str) |
| | << operator for accepting a std::string key and appending it to the core builder.
|
| |
| value_context< key_context > | operator<< (std::string str) |
| | << operator for accepting a std::string key and appending it to the core builder.
|
| |
| value_context< key_context > | operator<< (std::string str) |
| | << operator for accepting a std::string key and appending it to the core builder.
|
| |
| value_context< key_context > | operator<< (stdx::string_view str) |
| | << operator for accepting a stdx::string_view key and appending it to the core builder.
|
| |
| value_context< key_context > | operator<< (stdx::string_view str) |
| | << operator for accepting a stdx::string_view key and appending it to the core builder.
|
| |
| value_context< key_context > | operator<< (stdx::string_view str) |
| | << operator for accepting a stdx::string_view key and appending it to the core builder.
|
| |
| detail::requires_t< bsoncxx::v_noabi::document::value, std::is_same< base, closed_context >, detail::is_alike< T, finalize_type > > | operator<< (T &&) |
| | << operator for finalizing the stream.
|
| |
| detail::requires_t< bsoncxx::v_noabi::document::value, std::is_same< base, closed_context >, detail::is_alike< T, finalize_type > > | operator<< (T &&) |
| | << operator for finalizing the stream.
|
| |
| detail::requires_t< bsoncxx::v_noabi::document::value, std::is_same< base, closed_context >, detail::is_alike< T, finalize_type > > | operator<< (T &&) |
| | << operator for finalizing the stream.
|
| |
| detail::requires_t< key_context &, detail::is_invocable< T, key_context > > | operator<< (T &&func) |
| | << operator for accepting a callable of the form void(key_context) and invoking it to perform 1 or more key, value appends to the core builder.
|
| |
| detail::requires_t< key_context &, detail::is_invocable< T, key_context > > | operator<< (T &&func) |
| | << operator for accepting a callable of the form void(key_context) and invoking it to perform 1 or more key, value appends to the core builder.
|
| |
| detail::requires_t< key_context &, detail::is_invocable< T, key_context > > | operator<< (T &&func) |
| | << operator for accepting a callable of the form void(key_context) and invoking it to perform 1 or more key, value appends to the core builder.
|
| |