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

Represents options used when creating a ServiceManager object. More...

#include <ServiceManager.h>

Public Member Functions

const std::optional< std::string > & getServer () const
 Returns the server used to attach to the service manager.
 
ServiceManagerOptionssetServer (const std::string &value)
 Sets the server used to attach to the service manager.
 
const std::string & getServiceManagerName () const
 Returns the service manager name.
 
ServiceManagerOptionssetServiceManagerName (const std::string &value)
 Sets the service manager name.
 
const std::optional< std::string > & getUserName () const
 Returns the user name used to attach to the service manager.
 
ServiceManagerOptionssetUserName (const std::string &value)
 Sets the user name used to attach to the service manager.
 
const std::optional< std::string > & getPassword () const
 Returns the password used to attach to the service manager.
 
ServiceManagerOptionssetPassword (const std::string &value)
 Sets the password used to attach to the service manager.
 
const std::optional< std::string > & getRole () const
 Returns the role used to attach to the service manager.
 
ServiceManagerOptionssetRole (const std::string &value)
 Sets the role used to attach to the service manager.
 
const std::vector< std::uint8_t > & getSpb () const
 Returns the raw service attach SPB.
 
ServiceManagerOptionssetSpb (const std::vector< std::uint8_t > &value)
 Sets the raw service attach SPB.
 
ServiceManagerOptionssetSpb (std::vector< std::uint8_t > &&value)
 Sets the raw service attach SPB.
 

Detailed Description

Represents options used when creating a ServiceManager object.

Definition at line 50 of file ServiceManager.h.

Member Function Documentation

◆ getPassword()

const std::optional< std::string > & fbcpp::ServiceManagerOptions::getPassword ( ) const
inline

Returns the password used to attach to the service manager.

Definition at line 107 of file ServiceManager.h.

◆ getRole()

const std::optional< std::string > & fbcpp::ServiceManagerOptions::getRole ( ) const
inline

Returns the role used to attach to the service manager.

Definition at line 124 of file ServiceManager.h.

◆ getServer()

const std::optional< std::string > & fbcpp::ServiceManagerOptions::getServer ( ) const
inline

Returns the server used to attach to the service manager.

Definition at line 56 of file ServiceManager.h.

◆ getServiceManagerName()

const std::string & fbcpp::ServiceManagerOptions::getServiceManagerName ( ) const
inline

Returns the service manager name.

Definition at line 73 of file ServiceManager.h.

◆ getSpb()

const std::vector< std::uint8_t > & fbcpp::ServiceManagerOptions::getSpb ( ) const
inline

Returns the raw service attach SPB.

Definition at line 141 of file ServiceManager.h.

◆ getUserName()

const std::optional< std::string > & fbcpp::ServiceManagerOptions::getUserName ( ) const
inline

Returns the user name used to attach to the service manager.

Definition at line 90 of file ServiceManager.h.

◆ setPassword()

ServiceManagerOptions & fbcpp::ServiceManagerOptions::setPassword ( const std::string &  value)
inline

Sets the password used to attach to the service manager.

Definition at line 115 of file ServiceManager.h.

◆ setRole()

ServiceManagerOptions & fbcpp::ServiceManagerOptions::setRole ( const std::string &  value)
inline

Sets the role used to attach to the service manager.

Definition at line 132 of file ServiceManager.h.

◆ setServer()

ServiceManagerOptions & fbcpp::ServiceManagerOptions::setServer ( const std::string &  value)
inline

Sets the server used to attach to the service manager.

Definition at line 64 of file ServiceManager.h.

◆ setServiceManagerName()

ServiceManagerOptions & fbcpp::ServiceManagerOptions::setServiceManagerName ( const std::string &  value)
inline

Sets the service manager name.

Definition at line 81 of file ServiceManager.h.

◆ setSpb() [1/2]

ServiceManagerOptions & fbcpp::ServiceManagerOptions::setSpb ( const std::vector< std::uint8_t > &  value)
inline

Sets the raw service attach SPB.

Definition at line 149 of file ServiceManager.h.

◆ setSpb() [2/2]

ServiceManagerOptions & fbcpp::ServiceManagerOptions::setSpb ( std::vector< std::uint8_t > &&  value)
inline

Sets the raw service attach SPB.

Definition at line 158 of file ServiceManager.h.

◆ setUserName()

ServiceManagerOptions & fbcpp::ServiceManagerOptions::setUserName ( const std::string &  value)
inline

Sets the user name used to attach to the service manager.

Definition at line 98 of file ServiceManager.h.


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