Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
art
art
Persistency
Provenance
ScheduleContext.h
Go to the documentation of this file.
1
#ifndef art_Persistency_Provenance_ScheduleContext_h
2
#define art_Persistency_Provenance_ScheduleContext_h
3
4
#include "
art/Utilities/ScheduleID.h
"
5
6
namespace
art
{
7
class
ScheduleContext
{
8
explicit
ScheduleContext
() =
default
;
9
10
public
:
11
explicit
ScheduleContext
(
ScheduleID
const
sid) :
sid_
{sid} {}
12
auto
13
id
()
const
14
{
15
return
sid_
;
16
}
17
18
static
ScheduleContext
19
invalid
()
20
{
21
return
ScheduleContext
{};
22
}
23
24
private
:
25
ScheduleID
sid_
{};
26
};
27
}
28
29
#endif
/* art_Persistency_Provenance_ScheduleContext_h */
30
31
// Local Variables:
32
// mode: c++
33
// End:
art::ScheduleContext::sid_
ScheduleID sid_
Definition:
ScheduleContext.h:25
art::ScheduleContext::ScheduleContext
ScheduleContext(ScheduleID const sid)
Definition:
ScheduleContext.h:11
art::ScheduleContext
Definition:
ScheduleContext.h:7
art::ScheduleContext::id
auto id() const
Definition:
ScheduleContext.h:13
art::ScheduleContext::invalid
static ScheduleContext invalid()
Definition:
ScheduleContext.h:19
art
Definition:
BasicOptionsHandler.h:9
art::ScheduleID
Definition:
ScheduleID.h:17
art::ScheduleContext::ScheduleContext
ScheduleContext()=default
ScheduleID.h
Generated by
1.8.11