|  | The Gaudi Framework
    v36r1 (3e2fb5a8)
    | 
Implementation of a context specific storage accessible as a sort of smart reference class. More...
#include </builds/gaudi/Gaudi/GaudiKernel/include/GaudiKernel/ContextSpecificPtr.h>

| Public Member Functions | |
| ContextSpecificData (T proto={}) | |
| Constructor with prototype value.  More... | |
| ~ContextSpecificData () | |
| Destructor.  More... | |
| operator T& () | |
| operator T& () const | |
| T & | operator= (const T &other) | 
| Assignment operator.  More... | |
| T | accumulate (T init) const | 
| Return the sum of all the contained values using init as first value.  More... | |
| 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.  More... | |
| template<class F > | |
| void | for_each (F f) const | 
| Call a function on each contained value.  More... | |
| template<class F > | |
| void | for_each (F f) | 
| Call a function on each contained value. (non-const version)  More... | |
| template<class F > | |
| void | for_all (F f) const | 
| Call a function on each element, passing slot# as well.  More... | |
| template<class F > | |
| void | for_all (F f) | 
| Private Member Functions | |
| ContextSpecificData (const ContextSpecificData &)=delete | |
| Private Attributes | |
| T | m_proto = {} | 
| Prototype value.  More... | |
| ContextSpecificPtr< T > | m_ptr | 
| Internal implementation.  More... | |
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 148 of file ContextSpecificPtr.h.
| 
 | inline | 
Constructor with prototype value.
Definition at line 151 of file ContextSpecificPtr.h.
| 
 | inline | 
| 
 | privatedelete | 
| 
 | inline | 
Return the sum of all the contained values using init as first value.
Definition at line 170 of file ContextSpecificPtr.h.
| 
 | inline | 
Return the accumulated result, through the operation 'op', of all the contained values using init as first value.
Definition at line 175 of file ContextSpecificPtr.h.
| 
 | inline | 
Definition at line 197 of file ContextSpecificPtr.h.
| 
 | inline | 
Call a function on each element, passing slot# as well.
Definition at line 193 of file ContextSpecificPtr.h.
| 
 | inline | 
Call a function on each contained value. (non-const version)
Definition at line 187 of file ContextSpecificPtr.h.
| 
 | inline | 
Call a function on each contained value.
Definition at line 181 of file ContextSpecificPtr.h.
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
Assignment operator.
Definition at line 167 of file ContextSpecificPtr.h.
| 
 | private | 
Prototype value.
Definition at line 206 of file ContextSpecificPtr.h.
| 
 | mutableprivate | 
Internal implementation.
Definition at line 208 of file ContextSpecificPtr.h.