Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4TypeKeyT< T > Class Template Reference

#include <G4TypeKeyT.hh>

+ Inheritance diagram for G4TypeKeyT< T >:

Public Member Functions

 G4TypeKeyT ()
 
virtual ~G4TypeKeyT ()
 
- Public Member Functions inherited from G4TypeKey
 G4TypeKey ()
 
virtual ~G4TypeKey ()
 
G4bool IsValid ()
 
Key operator() () const
 
bool operator== (const G4TypeKey &rhs) const
 
bool operator!= (const G4TypeKey &rhs) const
 
bool operator< (const G4TypeKey &rhs) const
 
bool operator> (const G4TypeKey &rhs) const
 

Additional Inherited Members

- Public Types inherited from G4TypeKey
typedef unsigned long Key
 
- Protected Member Functions inherited from G4TypeKey
Key NextKey () const
 
- Protected Attributes inherited from G4TypeKey
Key fMyKey
 

Detailed Description

template<typename T>
class G4TypeKeyT< T >

Definition at line 38 of file G4TypeKeyT.hh.

Constructor & Destructor Documentation

◆ G4TypeKeyT()

template<typename T >
G4TypeKeyT< T >::G4TypeKeyT ( )
inline

Definition at line 42 of file G4TypeKeyT.hh.

42 {
43 static Key key = NextKey();
44 fMyKey = key;
45 }
unsigned long Key
Definition: G4TypeKey.hh:42
Key fMyKey
Definition: G4TypeKey.hh:72
Key NextKey() const
Definition: G4TypeKey.hh:67

◆ ~G4TypeKeyT()

template<typename T >
virtual G4TypeKeyT< T >::~G4TypeKeyT ( )
inlinevirtual

Definition at line 47 of file G4TypeKeyT.hh.

47{}

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