MongoDB C++ Driver mongocxx-3.10.1
Loading...
Searching...
No Matches
Public Member Functions | List of all members
bsoncxx::v_noabi::builder::array Class Reference

A JSON-like builder for creating arrays. More...

#include <list.hpp>

+ Inheritance diagram for bsoncxx::v_noabi::builder::array:

Public Member Functions

 array ()
 Creates an empty array.
 
 array (initializer_list_t init)
 Creates a BSON array.
 
- Public Member Functions inherited from bsoncxx::v_noabi::builder::list
 list ()
 Creates an empty document.
 
template<typename T >
 list (T value)
 Creates a bsoncxx::v_noabi::builder::list from a value of type T.
 
 list (initializer_list_t init)
 Creates a BSON document, if possible.
 
 operator bson_value::view ()
 Provides a view of the underlying BSON value.
 
bson_value::view view ()
 Provides a view of the underlying BSON value.
 

Detailed Description

A JSON-like builder for creating arrays.

Constructor & Destructor Documentation

◆ array()

bsoncxx::v_noabi::builder::array::array ( initializer_list_t  init)
inline

Creates a BSON array.

Parameters
initthe initializer list used to construct the BSON array
See also
bsoncxx::v_noabi::builder::list
bsoncxx::v_noabi::builder::document

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