Geant4  10.00.p02
G4CacheReference< VALTYPE * > Class Template Reference

#include <G4CacheDetails.hh>

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
 

Detailed Description

template<class VALTYPE>
class G4CacheReference< VALTYPE * >

Definition at line 103 of file G4CacheDetails.hh.

Member Typedef Documentation

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

Definition at line 112 of file G4CacheDetails.hh.

Member Function Documentation

template<class VALTYPE >
void G4CacheReference< VALTYPE * >::Destroy ( unsigned int  id,
G4bool  last 
)
inline
template<class VALTYPE >
VALTYPE*& G4CacheReference< VALTYPE * >::GetCache ( unsigned int  id) const
inline
template<class VALTYPE >
void G4CacheReference< VALTYPE * >::Initialize ( unsigned int  id)
inline

Member Data Documentation

template<class VALTYPE >
G4ThreadLocal cache_container* G4CacheReference< VALTYPE * >::cache
staticprivate

Definition at line 113 of file G4CacheDetails.hh.


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