|
Geant4 11.3.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4AccUnorderedMap.hh>
Inheritance diagram for G4AccUnorderedMap< Key, T, Hash, KeyEqual, Allocator >:Public Member Functions | |
| G4AccUnorderedMap (const G4String &name="", G4MergeMode mergeMode=G4MergeMode::kAddition) | |
| G4AccUnorderedMap (std::size_t bucket_count, G4MergeMode mergeMode=G4MergeMode::kAddition, const Allocator &alloc=Allocator()) | |
| G4AccUnorderedMap (const G4String &name, std::size_t bucket_count, G4MergeMode mergeMode=G4MergeMode::kAddition, const Allocator &alloc=Allocator()) | |
| G4AccUnorderedMap (std::size_t bucket_count, const Allocator &alloc, G4MergeMode mergeMode=G4MergeMode::kAddition) | |
| G4AccUnorderedMap (const G4String &name, std::size_t bucket_count, const Allocator &alloc, G4MergeMode mergeMode=G4MergeMode::kAddition) | |
| G4AccUnorderedMap (std::size_t bucket_count, const Hash &hash, const Allocator &alloc, G4MergeMode mergeMode=G4MergeMode::kAddition) | |
| G4AccUnorderedMap (const G4String &name, std::size_t bucket_count, const Hash &hash, const Allocator &alloc, G4MergeMode mergeMode=G4MergeMode::kAddition) | |
| G4AccUnorderedMap (const Allocator &alloc, G4MergeMode mergeMode=G4MergeMode::kAddition) | |
| G4AccUnorderedMap (const G4String &name, const Allocator &alloc, G4MergeMode mergeMode=G4MergeMode::kAddition) | |
| G4AccUnorderedMap (std::initializer_list< std::pair< const Key, T > > init, G4MergeMode mergeMode=G4MergeMode::kAddition, std::size_t bucket_count=0, const Hash &hash=Hash(), const KeyEqual &equal=KeyEqual(), const Allocator &alloc=Allocator()) | |
| G4AccUnorderedMap (const G4String &name, std::initializer_list< std::pair< const Key, T > > init, G4MergeMode mergeMode=G4MergeMode::kAddition, std::size_t bucket_count=0, const Hash &hash=Hash(), const KeyEqual &equal=KeyEqual(), const Allocator &alloc=Allocator()) | |
| G4AccUnorderedMap (const G4AccUnorderedMap &rhs)=default | |
| G4AccUnorderedMap (const G4AccUnorderedMap &rhs, const Allocator &allocator) | |
| G4AccUnorderedMap (G4AccUnorderedMap &&rhs)=default | |
| G4AccUnorderedMap (G4AccUnorderedMap &&rhs, const Allocator &allocator) | |
| ~G4AccUnorderedMap () override=default | |
| T & | operator[] (const Key &key) |
| T & | operator[] (Key &&key) |
| T & | at (const Key &key) |
| const T & | at (const Key &key) const |
| std::unordered_map< Key, T, Hash, KeyEqual, Allocator >::size_type | size () const |
| std::unordered_map< Key, T, Hash, KeyEqual, Allocator >::iterator | begin () |
| std::unordered_map< Key, T, Hash, KeyEqual, Allocator >::const_iterator | begin () const |
| std::unordered_map< Key, T, Hash, KeyEqual, Allocator >::const_iterator | cbegin () const |
| std::unordered_map< Key, T, Hash, KeyEqual, Allocator >::iterator | end () |
| std::unordered_map< Key, T, Hash, KeyEqual, Allocator >::const_iterator | end () const |
| std::unordered_map< Key, T, Hash, KeyEqual, Allocator >::const_iterator | cend () const |
| void | clear () |
| std::pair< typename std::unordered_map< Key, T, Hash, KeyEqual, Allocator >::iterator, bool > | insert (const T &value) |
| template<class P> | |
| std::pair< typename std::unordered_map< Key, T, Hash, KeyEqual, Allocator >::iterator, bool > | insert (P &&value) |
| std::pair< typename std::unordered_map< Key, T, Hash, KeyEqual, Allocator >::iterator, bool > | insert (T &&value) |
| std::unordered_map< Key, T, Hash, KeyEqual, Allocator >::iterator | find (const Key &key) |
| std::unordered_map< Key, T, Hash, KeyEqual, Allocator >::const_iterator | find (const Key &key) const |
| void | Merge (const G4VAccumulable &other) final |
| void | Reset () final |
| void | Print (G4PrintOptions options=G4PrintOptions()) const final |
| void | SetMergeMode (G4MergeMode value) final |
| void | SetInitValue (const T &value) |
| G4AccType | GetType () const final |
| std::unordered_map< Key, T, Hash, KeyEqual, Allocator > & | GetUnorderedMap () |
| const std::unordered_map< Key, T, Hash, KeyEqual, Allocator > & | GetUnorderedMap () const |
Public Member Functions inherited from G4VAccumulable | |
| G4VAccumulable (G4MergeMode mergeMode=G4MergeMode::kAddition) | |
| G4VAccumulable (const G4String &name, G4MergeMode mergeMode=G4MergeMode::kAddition) | |
| G4VAccumulable (const G4VAccumulable &rhs)=default | |
| G4VAccumulable (G4VAccumulable &&rhs)=default | |
| virtual | ~G4VAccumulable ()=default |
| G4VAccumulable & | operator= (const G4VAccumulable &rhs)=default |
| G4VAccumulable & | operator= (G4VAccumulable &&rhs)=default |
| void | SetName (const G4String &name) |
| void | SetId (G4int id) |
| G4String | GetName () const |
| G4MergeMode | GetMergeMode () const |
| G4int | GetId () const |
Additional Inherited Members | |
Protected Member Functions inherited from G4VAccumulable | |
| void | PrintBase (G4PrintOptions options) const |
Protected Attributes inherited from G4VAccumulable | |
| G4String | fName |
| G4MergeMode | fMergeMode = G4MergeMode::kAddition |
| G4int | fId = G4Accumulables::kInvalidId |
Definition at line 46 of file G4AccUnorderedMap.hh.
| G4AccUnorderedMap< Key, T, Hash, KeyEqual, Allocator >::G4AccUnorderedMap | ( | const G4String & | name = "", |
| G4MergeMode | mergeMode = G4MergeMode::kAddition ) |
Referenced by G4AccUnorderedMap(), G4AccUnorderedMap(), G4AccUnorderedMap(), and G4AccUnorderedMap().
| G4AccUnorderedMap< Key, T, Hash, KeyEqual, Allocator >::G4AccUnorderedMap | ( | std::size_t | bucket_count, |
| G4MergeMode | mergeMode = G4MergeMode::kAddition, | ||
| const Allocator & | alloc = Allocator() ) |
| G4AccUnorderedMap< Key, T, Hash, KeyEqual, Allocator >::G4AccUnorderedMap | ( | const G4String & | name, |
| std::size_t | bucket_count, | ||
| G4MergeMode | mergeMode = G4MergeMode::kAddition, | ||
| const Allocator & | alloc = Allocator() ) |
| G4AccUnorderedMap< Key, T, Hash, KeyEqual, Allocator >::G4AccUnorderedMap | ( | std::size_t | bucket_count, |
| const Allocator & | alloc, | ||
| G4MergeMode | mergeMode = G4MergeMode::kAddition ) |
| G4AccUnorderedMap< Key, T, Hash, KeyEqual, Allocator >::G4AccUnorderedMap | ( | const G4String & | name, |
| std::size_t | bucket_count, | ||
| const Allocator & | alloc, | ||
| G4MergeMode | mergeMode = G4MergeMode::kAddition ) |
| G4AccUnorderedMap< Key, T, Hash, KeyEqual, Allocator >::G4AccUnorderedMap | ( | std::size_t | bucket_count, |
| const Hash & | hash, | ||
| const Allocator & | alloc, | ||
| G4MergeMode | mergeMode = G4MergeMode::kAddition ) |
| G4AccUnorderedMap< Key, T, Hash, KeyEqual, Allocator >::G4AccUnorderedMap | ( | const G4String & | name, |
| std::size_t | bucket_count, | ||
| const Hash & | hash, | ||
| const Allocator & | alloc, | ||
| G4MergeMode | mergeMode = G4MergeMode::kAddition ) |
| G4AccUnorderedMap< Key, T, Hash, KeyEqual, Allocator >::G4AccUnorderedMap | ( | const Allocator & | alloc, |
| G4MergeMode | mergeMode = G4MergeMode::kAddition ) |
| G4AccUnorderedMap< Key, T, Hash, KeyEqual, Allocator >::G4AccUnorderedMap | ( | const G4String & | name, |
| const Allocator & | alloc, | ||
| G4MergeMode | mergeMode = G4MergeMode::kAddition ) |
| G4AccUnorderedMap< Key, T, Hash, KeyEqual, Allocator >::G4AccUnorderedMap | ( | std::initializer_list< std::pair< const Key, T > > | init, |
| G4MergeMode | mergeMode = G4MergeMode::kAddition, | ||
| std::size_t | bucket_count = 0, | ||
| const Hash & | hash = Hash(), | ||
| const KeyEqual & | equal = KeyEqual(), | ||
| const Allocator & | alloc = Allocator() ) |
| G4AccUnorderedMap< Key, T, Hash, KeyEqual, Allocator >::G4AccUnorderedMap | ( | const G4String & | name, |
| std::initializer_list< std::pair< const Key, T > > | init, | ||
| G4MergeMode | mergeMode = G4MergeMode::kAddition, | ||
| std::size_t | bucket_count = 0, | ||
| const Hash & | hash = Hash(), | ||
| const KeyEqual & | equal = KeyEqual(), | ||
| const Allocator & | alloc = Allocator() ) |
|
default |
| G4AccUnorderedMap< Key, T, Hash, KeyEqual, Allocator >::G4AccUnorderedMap | ( | const G4AccUnorderedMap< Key, T, Hash, KeyEqual, Allocator > & | rhs, |
| const Allocator & | allocator ) |
|
default |
| G4AccUnorderedMap< Key, T, Hash, KeyEqual, Allocator >::G4AccUnorderedMap | ( | G4AccUnorderedMap< Key, T, Hash, KeyEqual, Allocator > && | rhs, |
| const Allocator & | allocator ) |
|
overridedefault |
|
inline |
Definition at line 211 of file G4AccUnorderedMap.hh.
|
inline |
Definition at line 212 of file G4AccUnorderedMap.hh.
|
inline |
Definition at line 216 of file G4AccUnorderedMap.hh.
|
inline |
Definition at line 217 of file G4AccUnorderedMap.hh.
|
inline |
Definition at line 218 of file G4AccUnorderedMap.hh.
|
inline |
Definition at line 222 of file G4AccUnorderedMap.hh.
|
inline |
Definition at line 224 of file G4AccUnorderedMap.hh.
|
inline |
Definition at line 220 of file G4AccUnorderedMap.hh.
|
inline |
Definition at line 221 of file G4AccUnorderedMap.hh.
|
inline |
Definition at line 231 of file G4AccUnorderedMap.hh.
|
inline |
Definition at line 232 of file G4AccUnorderedMap.hh.
|
inlinefinalvirtual |
Reimplemented from G4VAccumulable.
Definition at line 242 of file G4AccUnorderedMap.hh.
Referenced by GetType().
|
inline |
Definition at line 243 of file G4AccUnorderedMap.hh.
|
inline |
Definition at line 244 of file G4AccUnorderedMap.hh.
|
inline |
Definition at line 226 of file G4AccUnorderedMap.hh.
|
inline |
Definition at line 228 of file G4AccUnorderedMap.hh.
|
inline |
Definition at line 229 of file G4AccUnorderedMap.hh.
|
finalvirtual |
Implements G4VAccumulable.
|
inline |
Definition at line 208 of file G4AccUnorderedMap.hh.
|
inline |
Definition at line 209 of file G4AccUnorderedMap.hh.
|
finalvirtual |
Reimplemented from G4VAccumulable.
Referenced by Print().
|
finalvirtual |
Implements G4VAccumulable.
| void G4AccUnorderedMap< Key, T, Hash, KeyEqual, Allocator >::SetInitValue | ( | const T & | value | ) |
Referenced by SetInitValue().
|
finalvirtual |
Reimplemented from G4VAccumulable.
Referenced by SetMergeMode().
|
inline |
Definition at line 214 of file G4AccUnorderedMap.hh.