Geant4 9.6.0
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 40 of file G4VFilter.hh.

Member Typedef Documentation

◆ Type

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

Definition at line 44 of file G4VFilter.hh.

Constructor & Destructor Documentation

◆ G4VFilter()

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

Definition at line 72 of file G4VFilter.hh.

73 :fName(name)
74{}

◆ ~G4VFilter()

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

Definition at line 77 of file G4VFilter.hh.

77{}

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 88 of file G4VFilter.hh.

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

◆ Name()

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

Definition at line 81 of file G4VFilter.hh.

82{
83 return fName;
84}

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: