MongoDB C++ Driver  mongocxx-3.10.2
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. More...
 
- 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. More...
 
 list (initializer_list_t init)
 Creates a BSON document, if possible. More...
 
 operator bson_value::view ()
 Provides a view of the underlying BSON value. More...
 
bson_value::view view ()
 Provides a view of the underlying BSON value. More...
 

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: