Geant4-11
Public Member Functions | Private Attributes
G4AttUtils::anonymous_namespace{G4AttUtils.hh}::HasName< T > Class Template Reference

#include <G4AttUtils.hh>

Public Member Functions

 HasName (const G4String &name)
 
bool operator() (const T &value) const
 

Private Attributes

G4String fName
 

Detailed Description

template<typename T>
class G4AttUtils::anonymous_namespace{G4AttUtils.hh}::HasName< T >

Definition at line 48 of file G4AttUtils.hh.

Constructor & Destructor Documentation

◆ HasName()

template<typename T >
G4AttUtils::anonymous_namespace{G4AttUtils.hh}::HasName< T >::HasName ( const G4String name)
inline

Definition at line 50 of file G4AttUtils.hh.

Member Function Documentation

◆ operator()()

template<typename T >
bool G4AttUtils::anonymous_namespace{G4AttUtils.hh}::HasName< T >::operator() ( const T &  value) const
inline

Definition at line 51 of file G4AttUtils.hh.

52 {return value.GetName() == fName;}

Field Documentation

◆ fName

template<typename T >
G4String G4AttUtils::anonymous_namespace{G4AttUtils.hh}::HasName< T >::fName
private

Definition at line 54 of file G4AttUtils.hh.


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