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

Constructor & Destructor Documentation

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

Constructor.

Definition at line 284 of file LazyGetter.h.

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

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

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

291  {
292  RegionIndex<T>& indexref = const_cast< RegionIndex<T>& >(index);
293  indexref.updateLazyGetter(getter_);
294  return index;
295  }
const LazyGetter< T > * getter_
Definition: LazyGetter.h:279

Member Data Documentation

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

Definition at line 279 of file LazyGetter.h.