Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
art
art
Framework
Core
detail
ModuleKeyAndType.cc
Go to the documentation of this file.
1
#include "
art/Framework/Core/detail/ModuleKeyAndType.h
"
2
3
namespace
art::detail
{
4
ModuleType
5
module_type
(
std::string
const
& full_key)
6
{
7
if
(full_key.find(
"physics.producers"
) == 0) {
8
return
ModuleType::producer
;
9
}
else
if
(full_key.find(
"physics.filters"
) == 0) {
10
return
ModuleType::filter
;
11
}
else
if
(full_key.find(
"physics.analyzers"
) == 0) {
12
return
ModuleType::analyzer
;
13
}
else
if
(full_key.find(
"outputs"
) == 0) {
14
return
ModuleType::output_module
;
15
}
16
return
ModuleType::non_art
;
17
}
18
}
string
std::string string
Definition:
nybbler.cc:12
art::detail::module_type
ModuleType module_type(std::string const &full_key)
Definition:
ModuleKeyAndType.cc:5
art::ModuleType::analyzer
art::ModuleType::output_module
art::detail
Definition:
AllowedConfiguration.h:76
art::ModuleType::non_art
art::ModuleType::filter
art::ModuleType::producer
ModuleKeyAndType.h
art::ModuleType
ModuleType
Definition:
ModuleType.h:11
Generated by
1.8.11