1 #ifndef art_Framework_Core_OutputFileGranularity_h 2 #define art_Framework_Core_OutputFileGranularity_h 10 #include <type_traits> 18 static constexpr std::size_t
26 if (spec ==
"Event") {
28 }
else if (spec ==
"SubRun") {
30 }
else if (spec ==
"Run") {
32 }
else if (spec ==
"InputFile") {
34 }
else if (spec ==
"Job") {
36 }
else if (spec ==
"Unset") {
40 <<
"Specified output-file switching boundary (\"" << spec
41 <<
"\") not supported.\n" 42 "Please choose from:\n" 78 operator std::size_t()
const {
return static_cast<std::size_t
>(
b_.load()); }
Granularity & operator=(Granularity const &rhs) noexcept
static constexpr std::size_t NBoundaries()
Granularity & operator=(Granularity &&rhs) noexcept
Granularity(BT const b) noexcept
Granularity(Granularity &&rhs) noexcept
static BT value(std::string const &spec)
std::ostream & operator<<(std::ostream &os, const GroupSelector &gs)
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
Granularity(Granularity const &rhs) noexcept