1 #ifndef canvas_Persistency_Provenance_BranchDescription_h 2 #define canvas_Persistency_Provenance_BranchDescription_h 38 class BranchDescriptionStreamer;
47 friend class detail::BranchDescriptionStreamer;
50 static int constexpr invalidSplitLevel{-1};
51 static int constexpr invalidBasketSize{0};
52 static int constexpr invalidCompression{-1};
70 bool transient_{
false};
89 int compression_{invalidCompression};
111 void write(std::ostream& os)
const;
126 return producedClassName_;
131 return friendlyClassName_;
136 return productInstanceName_;
141 return InputTag{moduleLabel(), productInstanceName(), processName()};
147 return guts().validity_ == Transients::Produced;
152 return guts().validity_ == Transients::PresentFromSource;
157 return guts().validity_ == Transients::Dropped;
160 transient()
const noexcept
162 return guts().transient_;
168 return guts().splitLevel_;
173 return guts().basketSize_;
178 return guts().compression_;
181 std::set<fhicl::ParameterSetID>
const&
200 return supportsView_;
205 return guts().branchName_;
210 return guts().wrappedName_;
219 guts().validity_ = state;
225 void initProductID_();
226 void fluffTransients_()
const;
227 bool transientsFluffed_()
const noexcept;
228 bool isPsetIDUnique()
const noexcept;
230 std::set<ProcessConfigurationID>
const& processConfigurationIDs()
const 236 void throwIfInvalid_()
const;
262 bool supportsView_{
false};
266 std::set<fhicl::ParameterSetID> psetIDs_{};
270 std::set<ProcessConfigurationID> processConfigurationIDs_{};
bool produced() const noexcept
std::set< fhicl::ParameterSetID > const & psetIDs() const noexcept
std::string const & wrappedName() const noexcept
int basketSize() const noexcept
size_t write(int, const char *, size_t)
Writes count bytes from buf to the filedescriptor fd.
std::vector< BranchDescription > ProductDescriptions
bool supportsView() const noexcept
InputTag inputTag() const
bool present() const noexcept
std::string const & processName() const noexcept
BranchType branchType() const noexcept
bool operator<(ProductInfo const &a, ProductInfo const &b)
void swap(Handle< T > &a, Handle< T > &b)
bool dropped() const noexcept
int splitLevel() const noexcept
int compression() const noexcept
std::ostream & operator<<(std::ostream &os, Analyzer::Table< T > const &t)
bool combinable(BranchDescription const &a, BranchDescription const &b)
std::string const & moduleLabel() const noexcept
void setValidity(Transients::validity_state const state)
std::string const & productInstanceName() const noexcept
std::string const & producedClassName() const noexcept
std::map< ProductID, BranchDescription > ProductDescriptionsByID
std::string const & friendlyClassName() const noexcept
std::string const & branchName() const noexcept
ProductID productID() const noexcept
bool operator==(ModuleKeyAndType const &a, ModuleKeyAndType const &b) noexcept