22 throwExceptionWithText(
char const* txt)
25 <<
"Problem using an incomplete BranchDescription\n" 26 << txt <<
"\nPlease report this error to the ART developers\n";
33 BranchDescription::BranchDescription(
109 <<
"Your application requires all events on Branch '" 111 <<
"'\n to have the same provenance. This file has events with " 113 <<
"on this branch. Use a different input file.\n";
143 os <<
"Product ID = " <<
productID() <<
'\n';
170 constexpr
char underscore(
'_');
175 throwExceptionWithText(
"Illegal BranchType detected");
178 throwExceptionWithText(
"Module label is not allowed to be empty");
181 throwExceptionWithText(
"Process name is not allowed to be empty");
184 throwExceptionWithText(
"Full class name is not allowed to be empty");
187 throwExceptionWithText(
"Friendly class name is not allowed to be empty");
192 <<
"' contains an underscore ('_'), which is illegal in the " 193 <<
"name of a product.\n";
198 <<
"' contains an underscore ('_'), which is illegal in a " 199 <<
"module label.\n";
204 <<
"' contains an underscore ('_'), which is illegal in a " 205 <<
"product instance name.\n";
210 <<
"' contains an underscore ('_'), which is illegal in a " 211 <<
"process name.\n";
227 set<ProcessConfigurationID>
const&
std::string const & productInstanceName() const
fhicl::ParameterSetID const & psetID() const
std::string const & emulatedModule() const
void merge(BranchDescription const &other)
std::set< fhicl::ParameterSetID > const & psetIDs() const noexcept
void fluffTransients_() const
bool hasEmulatedModule() const
std::string wrappedClassName(std::string const &className)
static int constexpr invalidCompression
bool supportsView() const noexcept
friend bool operator<(BranchDescription const &, BranchDescription const &)
std::set< ProcessConfigurationID > processConfigurationIDs_
std::set< ProcessConfigurationID > const & processConfigurationIDs() const noexcept
bool supportsView() const
ProcessConfigurationID id() const
std::string const & processName() const noexcept
decltype(auto) constexpr size(T &&obj)
ADL-aware version of std::size.
BranchType branchType() const noexcept
std::ostream & operator<<(std::ostream &os, const GroupSelector &gs)
std::string producedClassName_
void swap(Handle< T > &a, Handle< T > &b)
constexpr bool isValid() const noexcept
std::string friendlyClassName_
static int constexpr invalidSplitLevel
void swap(BranchDescription &other)
std::string canonicalProductName(std::string const &friendlyClassName, std::string const &moduleLabel, std::string const &productInstanceName, std::string const &processName)
void setID(std::string const &canonicalProductName)
void write(std::ostream &os) const
std::string friendlyName(std::string const &iFullName)
std::string const & moduleLabel() const noexcept
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
std::set< fhicl::ParameterSetID > psetIDs_
void throwIfInvalid_() const
bool transientsFluffed_() const noexcept
bool isPsetIDUnique() const noexcept
std::string const & productInstanceName() const noexcept
std::string const & producedClassName() const noexcept
std::string productInstanceName_
BranchDescription()=default
std::string const & processName() const noexcept
friend bool combinable(BranchDescription const &, BranchDescription const &)
std::string const & friendlyClassName() const noexcept
static int constexpr invalidBasketSize
std::string className() const
friend bool operator==(BranchDescription const &, BranchDescription const &)
Transient< Transients > transients_
ProductID productID() const noexcept
Transients & guts() noexcept
decltype(auto) constexpr empty(T &&obj)
ADL-aware version of std::empty.
QTextStream & endl(QTextStream &s)