Geant4-11
|
#include <G4Cache.hh>
Public Types | |
typedef map_type::const_iterator | const_iterator |
typedef map_type::iterator | iterator |
typedef KEYTYPE | key_type |
typedef std::map< key_type, value_type > | map_type |
typedef map_type::size_type | size_type |
typedef VALTYPE | value_type |
Public Member Functions | |
iterator | Begin () |
iterator | End () |
size_type | Erase (const key_type &k) |
iterator | Find (const key_type &k) |
value_type & | Get () const |
value_type & | Get (const key_type &k) |
G4bool | Has (const key_type &k) |
std::pair< iterator, G4bool > | Insert (const key_type &k, const value_type &v) |
value_type & | operator[] (const key_type &k) |
value_type | Pop () |
void | Put (const value_type &val) const |
size_type | Size () |
virtual | ~G4MapCache () |
Protected Member Functions | |
const G4int & | GetId () const |
Private Member Functions | |
value_type & | GetCache () const |
Private Attributes | |
G4int | id |
G4CacheReference< value_type > | theCache |
Static Private Attributes | |
static std::atomic< unsigned int > | dstrctr |
static std::atomic< unsigned int > | instancesctr |
Definition at line 175 of file G4Cache.hh.
typedef map_type::const_iterator G4MapCache< KEYTYPE, VALTYPE >::const_iterator |
Definition at line 185 of file G4Cache.hh.
typedef map_type::iterator G4MapCache< KEYTYPE, VALTYPE >::iterator |
Definition at line 184 of file G4Cache.hh.
typedef KEYTYPE G4MapCache< KEYTYPE, VALTYPE >::key_type |
Definition at line 180 of file G4Cache.hh.
typedef std::map<key_type, value_type> G4MapCache< KEYTYPE, VALTYPE >::map_type |
Definition at line 182 of file G4Cache.hh.
typedef map_type::size_type G4MapCache< KEYTYPE, VALTYPE >::size_type |
Definition at line 183 of file G4Cache.hh.
typedef VALTYPE G4MapCache< KEYTYPE, VALTYPE >::value_type |
Definition at line 181 of file G4Cache.hh.
|
virtual |
Definition at line 423 of file G4Cache.hh.
References G4Cache< VALTYPE >::GetId().
|
inline |
|
inline |
Definition at line 453 of file G4Cache.hh.
References G4Cache< VALTYPE >::Get().
Referenced by G4VBiasingOperator::AttachTo(), and G4VBiasingOperator::GetBiasingOperator().
|
inline |
Definition at line 477 of file G4Cache.hh.
References G4Cache< VALTYPE >::Get().
|
inline |
Definition at line 459 of file G4Cache.hh.
References G4Cache< VALTYPE >::Get().
Referenced by G4VBiasingOperator::AttachTo(), G4VBiasingOperator::GetBiasingOperator(), and G4BiasingProcessInterface::GetSharedData().
|
inlineinherited |
Definition at line 103 of file G4Cache.hh.
|
inline |
Definition at line 471 of file G4Cache.hh.
|
inlineprivateinherited |
Definition at line 124 of file G4Cache.hh.
Definition at line 116 of file G4Cache.hh.
|
inline |
Definition at line 465 of file G4Cache.hh.
|
inline |
Definition at line 435 of file G4Cache.hh.
References G4Cache< VALTYPE >::Get().
|
inline |
Definition at line 483 of file G4Cache.hh.
|
inlineinherited |
Definition at line 109 of file G4Cache.hh.
|
inlineinherited |
Definition at line 106 of file G4Cache.hh.
|
inline |
|
staticprivateinherited |
Definition at line 122 of file G4Cache.hh.
Definition at line 119 of file G4Cache.hh.
|
staticprivateinherited |
Definition at line 121 of file G4Cache.hh.
|
mutableprivateinherited |
Definition at line 120 of file G4Cache.hh.