Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
art
art
Framework
IO
Root
detail
getObjectRequireDict.h
Go to the documentation of this file.
1
#ifndef art_Framework_IO_Root_detail_getObjectRequireDict_h
2
#define art_Framework_IO_Root_detail_getObjectRequireDict_h
3
4
#include "
canvas/Utilities/TypeID.h
"
5
6
namespace
art
{
7
namespace
root {
8
9
namespace
detail
{
10
void
require_dictionary
(
TypeID
const
&) noexcept(
false
);
11
}
12
13
template
<
typename
T>
14
T
15
getObjectRequireDict
() noexcept(false)
16
{
17
detail::require_dictionary
(
TypeID
{
typeid
(
T
)});
18
return
T
{};
19
}
20
21
}
// namespace root
22
}
// namespace art
23
24
#endif
/* art_Framework_IO_Root_detail_getObjectRequireDict_h */
25
26
// Local Variables:
27
// mode: c++
28
// End:
ValidateOpDetSimulation.T
T
Definition:
ValidateOpDetSimulation.py:48
detail
Definition:
includer.cc:30
art::root::detail::require_dictionary
void require_dictionary(TypeID const &) noexcept(false)
Definition:
getObjectRequireDict.cc:5
art::root::getObjectRequireDict
T getObjectRequireDict() noexcept(false)
Definition:
getObjectRequireDict.h:15
TypeID.h
art
Definition:
BasicOptionsHandler.h:11
art::TypeID
Definition:
TypeID.h:25
Generated by
1.8.11