Main Page
Namespaces
Classes
Files
File List
File Members
libism
ISM
soci
src
core
backend-loader.h
Go to the documentation of this file.
1
//
2
// Copyright (C) 2008 Maciej Sobczak with contributions from Artyom Tonkikh
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
#ifndef SOCI_BACKEND_LOADER_H_INCLUDED
9
#define SOCI_BACKEND_LOADER_H_INCLUDED
10
11
#include "
soci-backend.h
"
12
// std
13
#include <string>
14
#include <vector>
15
16
namespace
soci
17
{
18
19
namespace
dynamic_backends
20
{
21
22
// used internally by session
23
backend_factory
const
&
get
(std::string
const
& name);
24
25
// provided for advanced user-level management
26
SOCI_DECL
std::vector<std::string> &
search_paths
();
27
SOCI_DECL
void
register_backend
(std::string
const
& name, std::string
const
& shared_object = std::string());
28
SOCI_DECL
void
register_backend
(std::string
const
& name,
backend_factory
const
& factory);
29
SOCI_DECL
std::vector<std::string>
list_all
();
30
SOCI_DECL
void
unload
(std::string
const
& name);
31
SOCI_DECL
void
unload_all
();
32
33
}
// namespace dynamic_backends
34
35
}
// namespace soci
36
37
#endif // SOCI_BACKEND_LOADER_H_INCLUDED
soci::dynamic_backends::list_all
SOCI_DECL std::vector< std::string > list_all()
Definition:
backend-loader.cpp:310
soci-backend.h
soci::dynamic_backends::search_paths
SOCI_DECL std::vector< std::string > & search_paths()
Definition:
backend-loader.cpp:282
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_DECL
#define SOCI_DECL
Definition:
soci-config.h:31
soci::dynamic_backends::unload
SOCI_DECL void unload(std::string const &name)
Definition:
backend-loader.cpp:326
soci
Definition:
db2/common.h:15
soci::backend_factory
Definition:
soci-backend.h:265
soci::dynamic_backends::unload_all
SOCI_DECL void unload_all()
Definition:
backend-loader.cpp:333
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