Geant4-11
Public Types | Public Member Functions | Private Attributes
G4VFilter< T > Class Template Referenceabstract

#include <G4VFilter.hh>

Inheritance diagram for G4VFilter< T >:
G4SmartFilter< T > G4AttributeFilterT< T >

Public Types

typedef T Type
 

Public Member Functions

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

Private Attributes

G4String fName
 

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{}
G4String fName
Definition: G4VFilter.hh:66
const char * name(G4int ptype)

◆ ~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

Field Documentation

◆ fName

template<typename T >
G4String G4VFilter< T >::fName
private

Definition at line 66 of file G4VFilter.hh.


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