ATLAS Offline Software
Loading...
Searching...
No Matches
Database
SQLiteDBSvc
SQLiteDBSvc
ISQLiteDBSvc.h
Go to the documentation of this file.
1
/* -*- C++ -*- */
2
/*
3
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
4
*/
5
#ifndef SQLITEDBSVC_ISQLITEDBSVC_H
6
#define SQLITEDBSVC_ISQLITEDBSVC_H
7
8
#include "
SQLiteDBSvc/Statement.h
"
9
10
// Gaudi includes
11
#include "GaudiKernel/IInterface.h"
12
13
// Standard library includes
14
#include <source_location>
// Improves error messages
15
#include <string_view>
16
17
class
ISQLiteDBSvc
:
virtual
public
IInterface {
18
public
:
19
DeclareInterfaceID
(
ISQLiteDBSvc
, 1, 0);
20
25
virtual
SQLite::Statement
createStatement
(
26
std::string_view statement,
27
std::source_location call = std::source_location::current()) = 0;
28
};
29
30
#endif
// SQLITEDBSVC_ISQLITEDBSVC_H
Statement.h
ISQLiteDBSvc
Definition
ISQLiteDBSvc.h:17
ISQLiteDBSvc::DeclareInterfaceID
DeclareInterfaceID(ISQLiteDBSvc, 1, 0)
ISQLiteDBSvc::createStatement
virtual SQLite::Statement createStatement(std::string_view statement, std::source_location call=std::source_location::current())=0
Compile a prepared statement attached to this database.
SQLite::Statement
SQLite prepared statement.
Definition
Statement.h:50
Generated on
for ATLAS Offline Software by
1.14.0