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::helpers::PostReadFixup Struct Reference

#include <PostReadFixupTrait.h>

Public Member Functions

template<typename C >
void operator() (const C &c) const
 
 PostReadFixup ()
 
void touch ()
 

Private Attributes

bool fixed_
 

Detailed Description

Definition at line 12 of file PostReadFixupTrait.h.

Constructor & Destructor Documentation

edm::helpers::PostReadFixup::PostReadFixup ( )
inline

Definition at line 13 of file PostReadFixupTrait.h.

13 : fixed_(false) { }

Member Function Documentation

template<typename C >
void edm::helpers::PostReadFixup::operator() ( const C &  c) const
inline

Definition at line 16 of file PostReadFixupTrait.h.

References ExpressReco_HICollisions_FallBack::e, fixed_, and i.

16  {
17  if (!fixed_) {
18  fixed_ = true;
19  for (typename C::const_iterator i = c.begin(), e = c.end(); i != e; ++i)
20  (*i)->fixup();
21  }
22  }
int i
Definition: DBlmapReader.cc:9
void edm::helpers::PostReadFixup::touch ( )
inline

Definition at line 14 of file PostReadFixupTrait.h.

References fixed_.

14 { fixed_ = false; }

Member Data Documentation

bool edm::helpers::PostReadFixup::fixed_
mutableprivate

Definition at line 24 of file PostReadFixupTrait.h.

Referenced by operator()(), and touch().