RAII wrapper for pool connections.
More...
#include <mock_connection_pool.h>
RAII wrapper for pool connections.
Definition at line 110 of file mock_connection_pool.h.
◆ scoped_connection() [1/4]
◆ scoped_connection() [2/4]
| database::testing::scoped_connection::scoped_connection |
( |
mock_connection_pool & | pool, |
|
|
std::chrono::milliseconds | timeout ) |
|
inline |
◆ ~scoped_connection()
| database::testing::scoped_connection::~scoped_connection |
( |
| ) |
|
|
inline |
◆ scoped_connection() [3/4]
| database::testing::scoped_connection::scoped_connection |
( |
const scoped_connection & | | ) |
|
|
delete |
◆ scoped_connection() [4/4]
| database::testing::scoped_connection::scoped_connection |
( |
scoped_connection && | other | ) |
|
|
inlinenoexcept |
◆ get()
◆ operator bool()
| database::testing::scoped_connection::operator bool |
( |
| ) |
const |
|
inlineexplicit |
◆ operator*()
| mock_database & database::testing::scoped_connection::operator* |
( |
| ) |
|
|
inline |
◆ operator->()
| mock_database * database::testing::scoped_connection::operator-> |
( |
| ) |
|
|
inline |
◆ operator=()
◆ conn_
◆ pool_
The documentation for this class was generated from the following file: