Geant4  10.00.p01
G4CacheReference< VALTYPE > Class Template Reference

#include <G4CacheDetails.hh>

+ Inheritance diagram for G4CacheReference< VALTYPE >:

Public Member Functions

void Initialize (unsigned int id)
 
void Destroy (unsigned int id, G4bool last)
 
VALTYPE & GetCache (unsigned int id) const
 

Private Types

typedef std::vector< VALTYPE * > cache_container
 

Static Private Attributes

static G4ThreadLocal
cache_container
cache = 0
 

Detailed Description

template<class VALTYPE>
class G4CacheReference< VALTYPE >

Definition at line 76 of file G4CacheDetails.hh.

Member Typedef Documentation

template<class VALTYPE>
typedef std::vector<VALTYPE*> G4CacheReference< VALTYPE >::cache_container
private

Definition at line 88 of file G4CacheDetails.hh.

Member Function Documentation

template<class V >
void G4CacheReference< V >::Destroy ( unsigned int  id,
G4bool  last 
)
inline

Definition at line 156 of file G4CacheDetails.hh.

template<class V >
V *& G4CacheReference< V >::GetCache ( unsigned int  id) const
inline

Definition at line 174 of file G4CacheDetails.hh.

Referenced by G4Cache< F02ElectricFieldSetup * >::GetCache().

+ Here is the caller graph for this function:

template<class V >
void G4CacheReference< V >::Initialize ( unsigned int  id)
inline

Definition at line 140 of file G4CacheDetails.hh.

Referenced by G4Cache< F02ElectricFieldSetup * >::GetCache().

+ Here is the caller graph for this function:

Member Data Documentation


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