thepeg is hosted by Hepforge, IPPP Durham
ThePEG  2.2.1
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. More...
 
 UpdateChecker (const UpdateChecker &uc)
 Constructor. More...
 
template<typename ptr >
void operator() (const ptr &i)
 Function call operator. More...
 

Static Public Member Functions

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

Public Attributes

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

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.

References check().

Member Function Documentation

◆ check()

static void ThePEG::InterfacedBase::UpdateChecker::check ( tIBPtr  ,
bool &   
)
static

Call the check function for an object.

Referenced by operator()(), ThePEG::InterfacedBase::UpdateMapChecker::operator()(), and UpdateChecker().

◆ 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().

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.


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