LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
TKeyVFSOpenPolicy.h
Go to the documentation of this file.
1
#ifndef art_Framework_IO_Root_RootDB_TKeyVFSOpenPolicy_h
2
#define art_Framework_IO_Root_RootDB_TKeyVFSOpenPolicy_h
3
4
#include "TFile.h"
5
#include "sqlite3.h"
6
7
#include <string>
8
9
namespace
art
{
10
11
class
TKeyVFSOpenPolicy
{
12
public
:
13
explicit
TKeyVFSOpenPolicy
(TFile*
const
tfile,
14
int
const
flags = SQLITE_OPEN_READONLY);
15
16
sqlite3*
open
(std::string
const
& key);
17
18
private
:
19
TFile*
tfile_
;
20
int
flags_
;
21
};
22
}
23
24
#endif
/* art_Framework_IO_Root_RootDB_TKeyVFSOpenPolicy_h */
25
26
// Local Variables:
27
// mode: c++
28
// End:
art::TKeyVFSOpenPolicy::open
sqlite3 * open(std::string const &key)
Definition:
TKeyVFSOpenPolicy.cc:11
art::TKeyVFSOpenPolicy
Definition:
TKeyVFSOpenPolicy.h:11
art::TKeyVFSOpenPolicy::tfile_
TFile * tfile_
Definition:
TKeyVFSOpenPolicy.h:19
art
HLT enums.
Definition:
ServiceProviderWrappers.h:36
art::TKeyVFSOpenPolicy::flags_
int flags_
Definition:
TKeyVFSOpenPolicy.h:20
art::TKeyVFSOpenPolicy::TKeyVFSOpenPolicy
TKeyVFSOpenPolicy(TFile *const tfile, int const flags=SQLITE_OPEN_READONLY)
Definition:
TKeyVFSOpenPolicy.cc:6
art
Framework
IO
Root
RootDB
TKeyVFSOpenPolicy.h
Generated on Wed Dec 12 2018 14:42:32 for LArSoft by
1.8.11