ThePEG  1.8.0
Public Member Functions | Static Public Member Functions | Public Attributes
ThePEG::InterfacedBase::UpdateChecker Struct Reference

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

#include <InterfacedBase.h>

List of all members.

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

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

Constructor.

Definition at line 455 of file InterfacedBase.h.

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

Constructor.

Definition at line 457 of file InterfacedBase.h.


Member Function Documentation

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

Call the check function for an object.

Referenced by operator()(), and ThePEG::InterfacedBase::UpdateMapChecker::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

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: