Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
art
art
Framework
Principal
detail
type_label_for.h
Go to the documentation of this file.
1
#ifndef art_Framework_Principal_detail_type_label_for_h
2
#define art_Framework_Principal_detail_type_label_for_h
3
4
#include "
art/Persistency/Provenance/ModuleDescription.h
"
5
#include "
canvas/Persistency/Provenance/TypeLabel.h
"
6
#include "
canvas/Utilities/TypeID.h
"
7
8
namespace
art::detail
{
9
inline
TypeLabel
10
type_label_for
(
TypeID
const
typeID,
11
std::string
const
&
instance
,
12
bool
const
supportsView,
13
ModuleDescription
const
&
md
)
14
{
15
if
(md.
isEmulatedModule
()) {
16
return
TypeLabel
{typeID,
instance
, supportsView, md.
moduleLabel
()};
17
}
18
return
TypeLabel
{typeID,
instance
, supportsView,
false
};
19
}
20
}
21
22
#endif
/* art_Framework_Principal_detail_type_label_for_h */
23
24
// Local Variables:
25
// mode: c++
26
// End:
string
std::string string
Definition:
nybbler.cc:12
art::ModuleDescription::moduleLabel
std::string const & moduleLabel() const
Definition:
ModuleDescription.cc:44
art::detail::type_label_for
TypeLabel type_label_for(TypeID const typeID, std::string const &instance, bool const supportsView, ModuleDescription const &md)
Definition:
type_label_for.h:10
instance
const std::string instance
Definition:
BlipMaker_module.cc:35
ModuleDescription.h
art::detail
Definition:
AllowedConfiguration.h:76
art::ModuleDescription::isEmulatedModule
bool isEmulatedModule() const
Definition:
ModuleDescription.cc:50
python.root_metadata.md
md
Definition:
root_metadata.py:196
TypeID.h
art::TypeID
Definition:
TypeID.h:20
art::ModuleDescription
Definition:
ModuleDescription.h:14
art::TypeLabel
Definition:
TypeLabel.h:22
TypeLabel.h
Generated by
1.8.11