LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
ServiceScope.h
Go to the documentation of this file.
1
#ifndef art_Framework_Services_Registry_ServiceScope_h
2
#define art_Framework_Services_Registry_ServiceScope_h
3
// vim: set sw=2 expandtab :
4
5
namespace
art
{
6
7
enum class
ServiceScope
{
LEGACY
,
SHARED
};
8
9
constexpr
bool
10
is_legacy
(
ServiceScope
const
scope) noexcept
11
{
12
return
scope ==
ServiceScope::LEGACY
;
13
}
14
constexpr
bool
15
is_shared
(
ServiceScope
const
scope) noexcept
16
{
17
return
scope ==
ServiceScope::SHARED
;
18
}
19
20
}
// namespace art
21
22
#endif
/* art_Framework_Services_Registry_ServiceScope_h */
23
24
// Local Variables:
25
// mode: c++
26
// End:
art::ServiceScope
ServiceScope
Definition:
ServiceScope.h:7
art::is_shared
constexpr bool is_shared(ServiceScope const scope) noexcept
Definition:
ServiceScope.h:15
art::is_legacy
constexpr bool is_legacy(ServiceScope const scope) noexcept
Definition:
ServiceScope.h:10
art
Definition:
MVAAlg.h:12
art::ServiceScope::SHARED
art::ServiceScope::LEGACY
art
Framework
Services
Registry
ServiceScope.h
Generated on Thu May 2 2024 20:59:30 for LArSoft by
1.8.11