Main Page
Namespaces
Classes
Files
File List
File Members
libism
ISM
soci
src
backends
firebird
firebird/factory.cpp
Go to the documentation of this file.
1
//
2
// Copyright (C) 2004-2006 Maciej Sobczak, Stephen Hutton, Rafal Bobrowski
3
// Distributed under the Boost Software License, Version 1.0.
4
// (See accompanying file LICENSE_1_0.txt or copy at
5
// http://www.boost.org/LICENSE_1_0.txt)
6
//
7
8
#define SOCI_FIREBIRD_SOURCE
9
#include "
soci-firebird.h
"
10
#include <
backend-loader.h
>
11
12
using namespace
soci
;
13
14
firebird_session_backend
*
firebird_backend_factory::make_session
(
15
connection_parameters
const
&
parameters
)
const
16
{
17
return
new
firebird_session_backend
(parameters);
18
}
19
20
firebird_backend_factory
const
soci::firebird
;
21
22
extern
"C"
23
{
24
25
// for dynamic backend loading
26
SOCI_FIREBIRD_DECL
backend_factory
const
*
factory_firebird
()
27
{
28
return
&
soci::firebird
;
29
}
30
31
SOCI_FIREBIRD_DECL
void
register_factory_firebird
()
32
{
33
soci::dynamic_backends::register_backend
(
"firebird"
, soci::firebird);
34
}
35
36
}
// extern "C"
soci::factory_firebird
SOCI_FIREBIRD_DECL backend_factory const * factory_firebird()
Definition:
firebird/factory.cpp:26
backend-loader.h
soci::dynamic_backends::register_backend
SOCI_DECL void register_backend(std::string const &name, std::string const &shared_object=std::string())
Definition:
backend-loader.cpp:287
soci::register_factory_firebird
SOCI_FIREBIRD_DECL void register_factory_firebird()
Definition:
firebird/factory.cpp:31
soci::firebird
SOCI_FIREBIRD_DECL firebird_backend_factory const firebird
Definition:
firebird/factory.cpp:20
SOCI_FIREBIRD_DECL
#define SOCI_FIREBIRD_DECL
Definition:
soci-firebird.h:25
soci::connection_parameters
Definition:
connection-parameters.h:22
soci::firebird_backend_factory::make_session
virtual firebird_session_backend * make_session(connection_parameters const ¶meters) const
Definition:
firebird/factory.cpp:14
soci-firebird.h
soci::firebird_backend_factory
Definition:
soci-firebird.h:329
parameters
std::vector< ISM::CombinatorialTrainerParameters > parameters
Definition:
combinatorialTrainerEvaluator.cpp:39
soci::firebird_session_backend
Definition:
soci-firebird.h:298
soci
Definition:
db2/common.h:15
soci::backend_factory
Definition:
soci-backend.h:265
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:40