Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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

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

Definition at line 44 of file G4VFilter.hh.

Constructor & Destructor Documentation

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

Definition at line 72 of file G4VFilter.hh.

73  :fName(name)
74 {}
template<typename T >
G4VFilter< T >::~G4VFilter ( )
virtual

Definition at line 77 of file G4VFilter.hh.

77 {}

Member Function Documentation

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

Definition at line 88 of file G4VFilter.hh.

89 {
90  return Name();
91 }
G4String Name() const
Definition: G4VFilter.hh:81
template<typename T >
G4String G4VFilter< T >::Name ( ) const

Definition at line 81 of file G4VFilter.hh.

82 {
83  return fName;
84 }

Here is the caller graph for this function:

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

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