CMS 3D CMS Logo

Public Member Functions | Private Attributes

edm::UpdateGetterAdapter< T > Class Template Reference

#include <LazyGetter.h>

Inheritance diagram for edm::UpdateGetterAdapter< T >:
unary_function

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 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.

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

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

    {
      RegionIndex<T>& indexref = const_cast< RegionIndex<T>& >(index);
      indexref.updateLazyGetter(getter_);
      return index;
    }

Member Data Documentation

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

Definition at line 279 of file LazyGetter.h.