LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "SummedValue.h"
Public Member Functions | |
template<typename H > | |
std::enable_if_t< detail::is_handle< H >::value > | update (H const &h) |
template<typename H > | |
std::enable_if_t< detail::is_handle< H >::value > | update (H const &h, T const &t) |
void | clear () |
bool | isValid () const |
T const & | value () const |
RangeSet const & | rangeOfValidity () const |
Private Member Functions | |
template<typename H > | |
void | update_impl (H const &h, T const &t) |
Private Attributes | |
T | value_ {} |
RangeSet | rangeOfValidity_ {RangeSet::invalid()} |
Definition at line 54 of file SummedValue.h.
|
inline |
Definition at line 146 of file SummedValue.h.
References tmp.
|
inline |
Definition at line 154 of file SummedValue.h.
References art::RangeSet::is_valid(), and art::SummedValue< T >::rangeOfValidity_.
RangeSet const & art::SummedValue< T >::rangeOfValidity | ( | ) | const |
Definition at line 168 of file SummedValue.h.
References art::SummedValue< T >::rangeOfValidity_.
Referenced by art::disjoint_ranges(), art::overlapping_ranges(), and art::same_ranges().
std::enable_if_t< detail::is_handle< H >::value > art::SummedValue< T >::update | ( | H const & | h | ) |
Definition at line 123 of file SummedValue.h.
References art::detail::throw_if_invalid(), art::SummedValue< T >::update_impl(), and fhicl::detail::atom::value().
std::enable_if_t< detail::is_handle< H >::value > art::SummedValue< T >::update | ( | H const & | h, |
T const & | t | ||
) |
Definition at line 135 of file SummedValue.h.
References art::detail::throw_if_invalid(), and art::SummedValue< T >::update_impl().
|
inlineprivate |
Definition at line 81 of file SummedValue.h.
References art::detail::CanBeAggregated< T, Enable >::aggregate(), art::disjoint_ranges(), art::RangeSet::is_valid(), art::RangeSet::merge(), art::overlapping_ranges(), art::errors::ProductCannotBeAggregated, art::SummedValue< T >::rangeOfValidity_, art::same_ranges(), and art::SummedValue< T >::value_.
Referenced by art::SummedValue< T >::update().
|
inline |
Definition at line 161 of file SummedValue.h.
References art::SummedValue< T >::value_.
|
private |
Definition at line 114 of file SummedValue.h.
Referenced by art::SummedValue< T >::isValid(), art::SummedValue< T >::rangeOfValidity(), and art::SummedValue< T >::update_impl().
|
private |
Definition at line 113 of file SummedValue.h.
Referenced by art::SummedValue< T >::update_impl(), and art::SummedValue< T >::value().