Kea 2.7.3
isc::db::DatabaseConnection::EnterTest Class Reference

RAII device to set the test mode. More...

#include <database_connection.h>

Public Member Functions

 EnterTest ()
 Constructor.
 
 ~EnterTest ()
 Destructor.
 

Detailed Description

RAII device to set the test mode.

Definition at line 282 of file database_connection.h.

Constructor & Destructor Documentation

◆ EnterTest()

isc::db::DatabaseConnection::EnterTest::EnterTest ( )
inline

Constructor.

Set the test mode to true.

Definition at line 287 of file database_connection.h.

References isc::db::DatabaseConnection::test_mode_.

◆ ~EnterTest()

isc::db::DatabaseConnection::EnterTest::~EnterTest ( )
inline

Destructor.

Reset the test mode to false.

Definition at line 293 of file database_connection.h.

References isc::db::DatabaseConnection::test_mode_.


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