test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
edm::UpdateGetterAdapter< T > Class Template Reference

#include <LazyGetter.h>

Inheritance diagram for edm::UpdateGetterAdapter< T >:

Public Member Functions

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

Private Attributes

const LazyGetter< T > * getter_
 

Detailed Description

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

Definition at line 274 of file LazyGetter.h.

Constructor & Destructor Documentation

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

Constructor.

Definition at line 291 of file LazyGetter.h.

292  : getter_(getter) {}
const LazyGetter< T > * getter_
Definition: LazyGetter.h:286

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 297 of file LazyGetter.h.

References cmsHarvester::index, and edm::RegionIndex< T >::updateLazyGetter().

298  {
299  RegionIndex<T>& indexref = const_cast< RegionIndex<T>& >(index);
300  indexref.updateLazyGetter(getter_);
301  return index;
302  }
const LazyGetter< T > * getter_
Definition: LazyGetter.h:286

Member Data Documentation

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

Definition at line 286 of file LazyGetter.h.