MongoDB C++ Driver mongocxx-3.7.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
mongocxx::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.
 
const clientclient_opts () const
 The current client options.
 

Detailed Description

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

Pool options logically extend client options.

Constructor & Destructor Documentation

◆ pool()

mongocxx::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::options::pool::client_opts ( ) const

The current client options.

Returns
The client options.

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