CMS 3D CMS Logo

edm::UpdateGetterAdapter< T > Class Template Reference

#include <DataFormats/Common/interface/LazyGetter.h>

List of all members.

Public Member Functions

const RegionIndex< T > & operator() (const RegionIndex< T > &) const
 () operator for construction of iterator
 UpdateGetterAdapter (const LazyGetter< T > *)
 Constructor.

Private Attributes

const LazyGetter< T > * getter_


Detailed Description

template<typename T>
class edm::UpdateGetterAdapter< T >

Definition at line 264 of file LazyGetter.h.


Constructor & Destructor Documentation

template<class T>
edm::UpdateGetterAdapter< T >::UpdateGetterAdapter ( const LazyGetter< T > *  getter  )  [inline]

Constructor.

Definition at line 281 of file LazyGetter.h.

00282     : getter_(getter) {}


Member Function Documentation

template<class T>
const RegionIndex< T > & edm::UpdateGetterAdapter< T >::operator() ( const RegionIndex< T > &  index  )  const [inline]

() operator for construction of iterator

Definition at line 287 of file LazyGetter.h.

References edm::UpdateGetterAdapter< T >::getter_, and edm::RegionIndex< T >::updateLazyGetter().

00288     {
00289       RegionIndex<T>& indexref = const_cast< RegionIndex<T>& >(index);
00290       indexref.updateLazyGetter(getter_);
00291       return index;
00292     }


Member Data Documentation

template<typename T>
const LazyGetter<T>* edm::UpdateGetterAdapter< T >::getter_ [private]

Definition at line 276 of file LazyGetter.h.

Referenced by edm::UpdateGetterAdapter< T >::operator()().


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:44:29 2009 for CMSSW by  doxygen 1.5.4