Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
art
art
Framework
Services
Registry
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:
scope
static QCString scope
Definition:
declinfo.cpp:668
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:
BasicOptionsHandler.h:9
art::ServiceScope::SHARED
art::ServiceScope::LEGACY
Generated by
1.8.11