MongoDB C++ Driver  mongocxx-3.10.2
Public Member Functions | List of all members
mongocxx::v_noabi::options::pool Class Reference

Class representing the optional arguments to a MongoDB driver pool object. More...

#include <pool.hpp>

Public Member Functions

 pool (client client_opts=client())
 Constructs a new pool options object. More...
 
const clientclient_opts () const
 The current client options. More...
 

Detailed Description

Class representing the optional arguments to a MongoDB driver pool object.

Pool options logically extend client options.

Constructor & Destructor Documentation

◆ pool()

mongocxx::v_noabi::options::pool::pool ( client  client_opts = client())

Constructs a new pool options object.

Note that options::pool is implictly convertible from options::client.

Parameters
client_optsThe client options.

Member Function Documentation

◆ client_opts()

const client& mongocxx::v_noabi::options::pool::client_opts ( ) const

The current client options.

Returns
The client options.

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