Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4VFilter< T > Class Template Referenceabstract

#include <G4VFilter.hh>

+ Inheritance diagram for G4VFilter< T >:

Public Types

typedef T Type
 

Public Member Functions

 G4VFilter (const G4String &name)
 
virtual ~G4VFilter ()
 
virtual G4bool Accept (const T &) const =0
 
virtual void PrintAll (std::ostream &ostr) const =0
 
virtual void Reset ()=0
 
G4String Name () const
 
G4String GetName () const
 

Detailed Description

template<typename T>
class G4VFilter< T >

Definition at line 39 of file G4VFilter.hh.

Member Typedef Documentation

◆ Type

template<typename T >
typedef T G4VFilter< T >::Type

Definition at line 43 of file G4VFilter.hh.

Constructor & Destructor Documentation

◆ G4VFilter()

template<typename T >
G4VFilter< T >::G4VFilter ( const G4String name)

Definition at line 71 of file G4VFilter.hh.

72 :fName(name)
73{}

◆ ~G4VFilter()

template<typename T >
G4VFilter< T >::~G4VFilter
virtual

Definition at line 76 of file G4VFilter.hh.

76{}

Member Function Documentation

◆ Accept()

template<typename T >
virtual G4bool G4VFilter< T >::Accept ( const T &  ) const
pure virtual

◆ GetName()

template<typename T >
G4String G4VFilter< T >::GetName

Definition at line 87 of file G4VFilter.hh.

88{
89 return Name();
90}
G4String Name() const
Definition: G4VFilter.hh:80

◆ Name()

template<typename T >
G4String G4VFilter< T >::Name

Definition at line 80 of file G4VFilter.hh.

81{
82 return fName;
83}

Referenced by G4SmartFilter< T >::Accept(), G4AttributeFilterT< T >::Print(), and G4SmartFilter< T >::PrintAll().

◆ PrintAll()

template<typename T >
virtual void G4VFilter< T >::PrintAll ( std::ostream &  ostr) const
pure virtual

◆ Reset()

template<typename T >
virtual void G4VFilter< T >::Reset ( )
pure virtual

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