LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
ProductStatus.h
Go to the documentation of this file.
1
#ifndef canvas_Persistency_Provenance_ProductStatus_h
2
#define canvas_Persistency_Provenance_ProductStatus_h
3
4
/*----------------------------------------------------------------------
5
6
ProductStatus:
7
8
----------------------------------------------------------------------*/
9
10
namespace
art
{
11
12
typedef
unsigned
char
ProductStatus
;
13
14
namespace
productstatus {
15
inline
ProductStatus
16
present
()
17
{
18
return
0x0;
19
}
// Product was made successfully
20
inline
ProductStatus
21
neverCreated
()
22
{
23
return
0x1;
24
}
// Product was not made successfully
25
inline
ProductStatus
26
dropped
()
27
{
28
return
0x2;
29
}
// Product was not made successfully
30
inline
ProductStatus
31
unknown
()
32
{
33
return
0xfe;
34
}
// Status unknown (used for backward compatibility)
35
inline
ProductStatus
36
uninitialized
()
37
{
38
return
0xff;
39
}
// Status not set
40
41
inline
bool
42
present
(ProductStatus status)
43
{
44
return
status ==
present
();
45
}
46
inline
bool
47
neverCreated
(ProductStatus status)
48
{
49
return
status ==
neverCreated
();
50
}
51
inline
bool
52
dropped
(ProductStatus status)
53
{
54
return
status ==
dropped
();
55
}
56
inline
bool
57
unknown
(ProductStatus status)
58
{
59
return
status ==
unknown
();
60
}
61
inline
bool
62
uninitialized
(ProductStatus status)
63
{
64
return
status ==
uninitialized
();
65
}
66
}
// productstatus
67
68
}
// art
69
70
#endif
/* canvas_Persistency_Provenance_ProductStatus_h */
71
72
// Local Variables:
73
// mode: c++
74
// End:
art::productstatus::unknown
ProductStatus unknown()
Definition:
ProductStatus.h:31
art::productstatus::uninitialized
ProductStatus uninitialized()
Definition:
ProductStatus.h:36
art::ProductStatus
unsigned char ProductStatus
Definition:
ProductStatus.h:12
art::productstatus::dropped
ProductStatus dropped()
Definition:
ProductStatus.h:26
art
HLT enums.
Definition:
ServiceProviderWrappers.h:36
art::productstatus::present
ProductStatus present()
Definition:
ProductStatus.h:16
art::productstatus::neverCreated
ProductStatus neverCreated()
Definition:
ProductStatus.h:21
canvas
Persistency
Provenance
ProductStatus.h
Generated on Wed Dec 12 2018 14:42:35 for LArSoft by
1.8.11