Public Member Functions | Private Types | Private Attributes | List of all members
soci::connection_parameters Class Reference

#include <connection-parameters.h>

Public Member Functions

 connection_parameters ()
 
 connection_parameters (backend_factory const &factory, std::string const &connectString)
 
 connection_parameters (std::string const &backendName, std::string const &connectString)
 
 connection_parameters (std::string const &fullConnectString)
 
std::string const & get_connect_string () const
 
backend_factory const * get_factory () const
 
bool get_option (const char *name, std::string &value) const
 
void set_option (const char *name, std::string const &value)
 

Private Types

typedef std::map< const char *, std::string > Options
 

Private Attributes

std::string connectString_
 
backend_factory const * factory_
 
Options options_
 

Detailed Description

Definition at line 22 of file connection-parameters.h.

Member Typedef Documentation

typedef std::map<const char*, std::string> soci::connection_parameters::Options
private

Definition at line 62 of file connection-parameters.h.

Constructor & Destructor Documentation

connection_parameters::connection_parameters ( )

Definition at line 36 of file connection-parameters.cpp.

connection_parameters::connection_parameters ( backend_factory const &  factory,
std::string const &  connectString 
)

Definition at line 41 of file connection-parameters.cpp.

connection_parameters::connection_parameters ( std::string const &  backendName,
std::string const &  connectString 
)

Definition at line 47 of file connection-parameters.cpp.

connection_parameters::connection_parameters ( std::string const &  fullConnectString)
explicit

Definition at line 53 of file connection-parameters.cpp.

Member Function Documentation

std::string const& soci::connection_parameters::get_connect_string ( ) const
inline

Definition at line 35 of file connection-parameters.h.

backend_factory const* soci::connection_parameters::get_factory ( ) const
inline

Definition at line 34 of file connection-parameters.h.

bool soci::connection_parameters::get_option ( const char *  name,
std::string &  value 
) const
inline

Definition at line 45 of file connection-parameters.h.

void soci::connection_parameters::set_option ( const char *  name,
std::string const &  value 
)
inline

Definition at line 38 of file connection-parameters.h.

Member Data Documentation

std::string soci::connection_parameters::connectString_
private

Definition at line 59 of file connection-parameters.h.

backend_factory const* soci::connection_parameters::factory_
private

Definition at line 58 of file connection-parameters.h.

Options soci::connection_parameters::options_
private

Definition at line 63 of file connection-parameters.h.


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


asr_lib_ism
Author(s): Hanselmann Fabian, Heller Florian, Heizmann Heinrich, Kübler Marcel, Mehlhaus Jonas, Meißner Pascal, Qattan Mohamad, Reckling Reno, Stroh Daniel
autogenerated on Wed Jan 8 2020 04:02:41