Geant4-11
Public Member Functions | Private Types | Static Private Member Functions
G4CacheReference< VALTYPE * > Class Template Reference

#include <G4CacheDetails.hh>

Public Member Functions

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

Private Types

using cache_container = std::vector< VALTYPE * >
 

Static Private Member Functions

static cache_container *& cache ()
 

Detailed Description

template<class VALTYPE>
class G4CacheReference< VALTYPE * >

Definition at line 98 of file G4CacheDetails.hh.

Member Typedef Documentation

◆ cache_container

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

Definition at line 108 of file G4CacheDetails.hh.

Member Function Documentation

◆ cache()

template<class VALTYPE >
static cache_container *& G4CacheReference< VALTYPE * >::cache ( )
staticprivate

◆ Destroy()

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

◆ GetCache()

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

◆ Initialize()

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

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