Geant4  10.00.p02
G4SmartFilter< T > Class Template Referenceabstract

#include <G4SmartFilter.hh>

+ Inheritance diagram for G4SmartFilter< T >:
+ Collaboration diagram for G4SmartFilter< T >:

Public Member Functions

 G4SmartFilter (const G4String &name)
 
virtual ~G4SmartFilter ()
 
virtual G4bool Evaluate (const T &) const =0
 
virtual void Print (std::ostream &ostr) const =0
 
virtual void Clear ()=0
 
G4bool Accept (const T &) const
 
virtual void PrintAll (std::ostream &ostr) const
 
virtual void Reset ()
 
void SetActive (const G4bool &)
 
G4bool GetActive () const
 
void SetInvert (const G4bool &)
 
G4bool GetInvert () const
 
void SetVerbose (const G4bool &)
 
G4bool GetVerbose () const
 
- Public Member Functions inherited from G4VFilter< T >
 G4VFilter (const G4String &name)
 
virtual ~G4VFilter ()
 
G4String Name () const
 
G4String GetName () const
 

Private Attributes

G4bool fActive
 
G4bool fInvert
 
G4bool fVerbose
 
size_t fNPassed
 
size_t fNProcessed
 

Additional Inherited Members

- Public Types inherited from G4VFilter< T >
typedef T Type
 

Detailed Description

template<typename T>
class G4SmartFilter< T >

Definition at line 39 of file G4SmartFilter.hh.

Constructor & Destructor Documentation

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

Definition at line 91 of file G4SmartFilter.hh.

template<typename T >
G4SmartFilter< T >::~G4SmartFilter ( )
virtual

Definition at line 101 of file G4SmartFilter.hh.

Member Function Documentation

template<typename T>
G4bool G4SmartFilter< T >::Accept ( const T &  object) const
virtual

Implements G4VFilter< T >.

Definition at line 105 of file G4SmartFilter.hh.

References G4cout, G4endl, and G4VFilter< T >::Name().

+ Here is the call graph for this function:

template<typename T>
virtual void G4SmartFilter< T >::Clear ( )
pure virtual
template<typename T>
virtual G4bool G4SmartFilter< T >::Evaluate ( const T &  ) const
pure virtual
template<typename T >
G4bool G4SmartFilter< T >::GetActive ( ) const

Definition at line 173 of file G4SmartFilter.hh.

template<typename T >
G4bool G4SmartFilter< T >::GetInvert ( ) const

Definition at line 187 of file G4SmartFilter.hh.

template<typename T >
G4bool G4SmartFilter< T >::GetVerbose ( ) const

Definition at line 201 of file G4SmartFilter.hh.

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

Implements G4VFilter< T >.

Definition at line 139 of file G4SmartFilter.hh.

References G4endl, G4VFilter< T >::Name(), and pyG4Element::Print().

+ Here is the call graph for this function:

template<typename T >
void G4SmartFilter< T >::Reset ( )
virtual

Implements G4VFilter< T >.

Definition at line 153 of file G4SmartFilter.hh.

References JA::Clear().

+ Here is the call graph for this function:

template<typename T >
void G4SmartFilter< T >::SetActive ( const G4bool active)

Definition at line 166 of file G4SmartFilter.hh.

References active.

template<typename T >
void G4SmartFilter< T >::SetInvert ( const G4bool invert)

Definition at line 180 of file G4SmartFilter.hh.

template<typename T >
void G4SmartFilter< T >::SetVerbose ( const G4bool verbose)

Definition at line 194 of file G4SmartFilter.hh.

Member Data Documentation

template<typename T>
G4bool G4SmartFilter< T >::fActive
private

Definition at line 82 of file G4SmartFilter.hh.

template<typename T>
G4bool G4SmartFilter< T >::fInvert
private

Definition at line 83 of file G4SmartFilter.hh.

template<typename T>
size_t G4SmartFilter< T >::fNPassed
mutableprivate

Definition at line 85 of file G4SmartFilter.hh.

template<typename T>
size_t G4SmartFilter< T >::fNProcessed
mutableprivate

Definition at line 86 of file G4SmartFilter.hh.

template<typename T>
G4bool G4SmartFilter< T >::fVerbose
private

Definition at line 84 of file G4SmartFilter.hh.


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