Implementation of a context specific storage accessible as a sort of smart reference class.
More...
|
| ContextSpecificData (T proto={}) |
| Constructor with prototype value.
|
|
| ~ContextSpecificData () |
| Destructor.
|
|
| operator T& () |
|
| operator T& () const |
|
T & | operator= (const T &other) |
| Assignment operator.
|
|
T | accumulate (T init) const |
| Return the sum of all the contained values using init as first value.
|
|
template<class T1, class BinaryOperation> |
T1 | accumulate (T1 init, BinaryOperation op) const |
| Return the accumulated result, through the operation 'op', of all the contained values using init as first value.
|
|
template<class F> |
void | for_each (F f) const |
| Call a function on each contained value.
|
|
template<class F> |
void | for_each (F f) |
| Call a function on each contained value. (non-const version)
|
|
template<class F> |
void | for_all (F f) const |
| Call a function on each element, passing slot# as well.
|
|
template<class F> |
void | for_all (F f) |
|
template<typename T>
class Gaudi::Hive::ContextSpecificData< T >
Implementation of a context specific storage accessible as a sort of smart reference class.
New values are created from the prototype passed to the constructor.
Definition at line 147 of file ContextSpecificPtr.h.