Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
art
art
Persistency
Common
GroupQueryResult.cc
Go to the documentation of this file.
1
// ======================================================================
2
//
3
// GroupQueryResult: A pointer-to-const-Group satisfying a query, or an
4
// exception object explaining a failed query.
5
//
6
// ======================================================================
7
8
#include "
art/Persistency/Common/GroupQueryResult.h
"
9
10
art::GroupQueryResult::GroupQueryResult
(
group_ptr_t
g
) : groupOrException_{g} {}
11
12
art::GroupQueryResult::GroupQueryResult
(
exception_ptr_t
e
)
13
:
groupOrException_
{e}
14
{}
genie::units::g
static constexpr double g
Definition:
Units.h:144
art::GroupQueryResult::GroupQueryResult
GroupQueryResult(group_ptr_t)
Definition:
GroupQueryResult.cc:10
e
const double e
Definition:
gUpMuFluxGen.cxx:165
art::exception_ptr_t
std::shared_ptr< art::Exception const > exception_ptr_t
Definition:
GroupQueryResult.h:22
art::GroupQueryResult::groupOrException_
std::variant< group_ptr_t, exception_ptr_t > groupOrException_
Definition:
GroupQueryResult.h:59
cet::exempt_ptr
Definition:
exempt_ptr.h:38
GroupQueryResult.h
Generated by
1.8.11