Geant4-11
|
#include <G4Cache.hh>
Public Types | |
typedef vector_type::const_iterator | const_iterator |
typedef vector_type::iterator | iterator |
typedef vector_type::size_type | size_type |
typedef VALTYPE | value_type |
typedef std::vector< value_type > | vector_type |
Public Member Functions | |
iterator | Begin () |
void | Clear () |
iterator | End () |
G4VectorCache () | |
G4VectorCache (G4int nElems) | |
G4VectorCache (G4int nElems, value_type *vals) | |
value_type & | Get () const |
value_type & | operator[] (const G4int &idx) |
value_type | Pop () |
value_type | Pop_back () |
void | Push_back (const value_type &val) |
void | Put (const value_type &val) const |
size_type | Size () |
virtual | ~G4VectorCache () |
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 135 of file G4Cache.hh.
typedef vector_type::const_iterator G4VectorCache< VALTYPE >::const_iterator |
Definition at line 144 of file G4Cache.hh.
typedef vector_type::iterator G4VectorCache< VALTYPE >::iterator |
Definition at line 143 of file G4Cache.hh.
typedef vector_type::size_type G4VectorCache< VALTYPE >::size_type |
Definition at line 142 of file G4Cache.hh.
typedef VALTYPE G4VectorCache< VALTYPE >::value_type |
Definition at line 140 of file G4Cache.hh.
typedef std::vector<value_type> G4VectorCache< VALTYPE >::vector_type |
Definition at line 141 of file G4Cache.hh.
G4VectorCache< V >::G4VectorCache |
Definition at line 342 of file G4Cache.hh.
G4VectorCache< V >::G4VectorCache | ( | G4int | nElems | ) |
Definition at line 359 of file G4Cache.hh.
References G4Cache< VALTYPE >::Get().
G4VectorCache< VALTYPE >::G4VectorCache | ( | G4int | nElems, |
value_type * | vals | ||
) |
|
virtual |
Definition at line 346 of file G4Cache.hh.
|
inline |
Definition at line 397 of file G4Cache.hh.
References G4Cache< VALTYPE >::Get().
|
inline |
Definition at line 409 of file G4Cache.hh.
References G4Cache< VALTYPE >::Get().
|
inline |
Definition at line 403 of file G4Cache.hh.
References G4Cache< VALTYPE >::Get().
|
inlineinherited |
Definition at line 103 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 390 of file G4Cache.hh.
References G4Cache< VALTYPE >::Get().
|
inlineinherited |
Definition at line 109 of file G4Cache.hh.
|
inline |
Definition at line 381 of file G4Cache.hh.
References G4Cache< VALTYPE >::Get().
|
inline |
Definition at line 375 of file G4Cache.hh.
References G4Cache< VALTYPE >::Get().
Referenced by G4VBiasingOperator::G4VBiasingOperator(), and G4BiasingOperationManager::Register().
|
inlineinherited |
Definition at line 106 of file G4Cache.hh.
|
inline |
Definition at line 166 of file G4Cache.hh.
References G4Cache< VALTYPE >::Get().
Referenced by G4BiasingOperationManager::GetBiasingOperation(), G4BiasingOperatorStateNotifier::Notify(), and G4BiasingOperationManager::Register().
|
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.