fb-cpp 0.0.2
A modern C++ wrapper for the Firebird database API
Loading...
Searching...
No Matches
fbcpp::DatabasePropertiesOptions Class Referencefinal

Represents options used to configure database properties through the service manager. More...

#include <DatabaseManager.h>

Public Member Functions

const std::string & getDatabase () const
 Returns the database path to be configured.
 
DatabasePropertiesOptionssetDatabase (const std::string &value)
 Sets the database path to be configured.
 
const std::optional< ReplicaMode > & getReplicaMode () const
 Returns the replica mode.
 
DatabasePropertiesOptionssetReplicaMode (ReplicaMode value)
 Sets the replica mode.
 

Detailed Description

Represents options used to configure database properties through the service manager.

Definition at line 42 of file DatabaseManager.h.

Member Function Documentation

◆ getDatabase()

const std::string & fbcpp::DatabasePropertiesOptions::getDatabase ( ) const
inline

Returns the database path to be configured.

Definition at line 48 of file DatabaseManager.h.

◆ getReplicaMode()

const std::optional< ReplicaMode > & fbcpp::DatabasePropertiesOptions::getReplicaMode ( ) const
inline

Returns the replica mode.

Definition at line 65 of file DatabaseManager.h.

◆ setDatabase()

DatabasePropertiesOptions & fbcpp::DatabasePropertiesOptions::setDatabase ( const std::string &  value)
inline

Sets the database path to be configured.

Definition at line 56 of file DatabaseManager.h.

◆ setReplicaMode()

DatabasePropertiesOptions & fbcpp::DatabasePropertiesOptions::setReplicaMode ( ReplicaMode  value)
inline

Sets the replica mode.

Definition at line 73 of file DatabaseManager.h.


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