thepeg is hosted by Hepforge, IPPP Durham
ThePEG 2.3.0
ThePEG::InterfacedBase::UpdateMapChecker Struct Reference

Functor class to be used to update a range of dependent object in a map. More...

#include <InterfacedBase.h>

Public Member Functions

 UpdateMapChecker (bool &touched)
 Constructor.
 
 UpdateMapChecker (const UpdateMapChecker &uc)
 Constructor.
 
template<typename ref >
void operator() (const ref &i)
 Function call operator.
 

Public Attributes

bool & isTouched
 Reference to the bool variable to be set.
 

Detailed Description

Functor class to be used to update a range of dependent object in a map.

Definition at line 471 of file InterfacedBase.h.

Constructor & Destructor Documentation

◆ UpdateMapChecker() [1/2]

ThePEG::InterfacedBase::UpdateMapChecker::UpdateMapChecker ( bool &  touched)
inline

Constructor.

Definition at line 473 of file InterfacedBase.h.

◆ UpdateMapChecker() [2/2]

ThePEG::InterfacedBase::UpdateMapChecker::UpdateMapChecker ( const UpdateMapChecker uc)
inline

Constructor.

Definition at line 475 of file InterfacedBase.h.

Member Function Documentation

◆ operator()()

template<typename ref >
void ThePEG::InterfacedBase::UpdateMapChecker::operator() ( const ref &  i)
inline

Function call operator.

Definition at line 477 of file InterfacedBase.h.

References ThePEG::InterfacedBase::UpdateChecker::check(), and isTouched.

Member Data Documentation

◆ isTouched

bool& ThePEG::InterfacedBase::UpdateMapChecker::isTouched

Reference to the bool variable to be set.

Definition at line 481 of file InterfacedBase.h.

Referenced by operator()().


The documentation for this struct was generated from the following file: