userver: userver/storages/sqlite/sqlite_fwd.hpp Source File
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
sqlite_fwd.hpp
Go to the documentation of this file.
1#pragma once
2
3/// @file userver/storages/sqlite/sqlite_fwd.hpp
4/// @brief Forward declarations of some popular sqlite related types
5
6#include <memory>
7
8USERVER_NAMESPACE_BEGIN
9
10namespace storages::sqlite {
11
12class Transaction;
13class Savepoint;
14class ResultSet;
15struct ExecutionResult;
16
17class Client;
18using ClientPtr = std::shared_ptr<Client>;
19
20namespace impl {
21class Connection;
22
23class ClientImpl;
24using ClientImplPtr = std::unique_ptr<ClientImpl>;
25
26class StatementBase;
27using StatementBasePtr = std::shared_ptr<StatementBase>;
28
29class Statement;
30using StatementPtr = std::shared_ptr<Statement>;
31
32class ResultWrapper;
33using ResultWrapperPtr = std::unique_ptr<impl::ResultWrapper>;
34} // namespace impl
35
36namespace infra {
37
38class ConnectionPtr;
39
40class Pool;
41using PoolPtr = std::shared_ptr<Pool>;
42
43namespace strategy {
45using PoolStrategyBasePtr = std::unique_ptr<PoolStrategyBase>;
46} // namespace strategy
47
48} // namespace infra
49
50} // namespace storages::sqlite
51
52USERVER_NAMESPACE_END