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

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

#include <InterfacedBase.h>

Public Member Functions

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

Static Public Member Functions

static void check (tIBPtr, bool &)
 Call the check function for an object.
 

Public Attributes

bool & isTouched
 set to false if any check() call fails.
 

Detailed Description

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

Definition at line 453 of file InterfacedBase.h.

Constructor & Destructor Documentation

◆ UpdateChecker() [1/2]

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

Constructor.

Definition at line 455 of file InterfacedBase.h.

◆ UpdateChecker() [2/2]

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

Constructor.

Definition at line 457 of file InterfacedBase.h.

Member Function Documentation

◆ operator()()

template<typename ptr >
void ThePEG::InterfacedBase::UpdateChecker::operator() ( const ptr &  i)
inline

Function call operator.

Definition at line 461 of file InterfacedBase.h.

References check(), and isTouched.

Member Data Documentation

◆ isTouched

bool& ThePEG::InterfacedBase::UpdateChecker::isTouched

set to false if any check() call fails.

Definition at line 465 of file InterfacedBase.h.

Referenced by operator()().


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