CMS 3D CMS Logo

Public Member Functions | Private Attributes

edm::helpers::PostReadFixup Struct Reference

#include <PostReadFixupTrait.h>

List of all members.

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.

: 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 fixed_, and i.

                                         { 
        if (!fixed_) {
          fixed_ = true;
          for (typename C::const_iterator i = c.begin(), e = c.end(); i != e; ++i)
            (*i)->fixup();
        }
      }
void edm::helpers::PostReadFixup::touch ( ) [inline]

Definition at line 14 of file PostReadFixupTrait.h.

References fixed_.

{ fixed_ = false; }

Member Data Documentation

bool edm::helpers::PostReadFixup::fixed_ [mutable, private]

Definition at line 24 of file PostReadFixupTrait.h.

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