|
Geant4 11.3.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4AccVector.hh>
Inheritance diagram for G4AccVector< T, Allocator >:Public Member Functions | |
| G4AccVector (const G4String &name="", G4MergeMode mergeMode=G4MergeMode::kAddition) | |
| G4AccVector (const Allocator &alloc, G4MergeMode mergeMode=G4MergeMode::kAddition) | |
| G4AccVector (const G4String &name, const Allocator &alloc, G4MergeMode mergeMode=G4MergeMode::kAddition) | |
| G4AccVector (std::size_t count, const T &value, G4MergeMode mergeMode=G4MergeMode::kAddition, const Allocator &allocator=Allocator()) | |
| G4AccVector (const G4String &name, std::size_t count, const T &value, G4MergeMode mergeMode=G4MergeMode::kAddition, const Allocator &allocator=Allocator()) | |
| G4AccVector (std::size_t count, G4MergeMode mergeMode=G4MergeMode::kAddition, const Allocator &allocator=Allocator()) | |
| G4AccVector (const G4String &name, std::size_t count, G4MergeMode mergeMode=G4MergeMode::kAddition, const Allocator &allocator=Allocator()) | |
| G4AccVector (std::initializer_list< T > init, G4MergeMode mergeMode=G4MergeMode::kAddition, const Allocator &allocator=Allocator()) | |
| G4AccVector (const G4String &name, std::initializer_list< T > init, G4MergeMode mergeMode=G4MergeMode::kAddition, const Allocator &allocator=Allocator()) | |
| G4AccVector (const G4AccVector &rhs)=default | |
| G4AccVector (const G4AccVector &rhs, const Allocator &allocator) | |
| G4AccVector (G4AccVector &&rhs)=default | |
| G4AccVector (G4AccVector &&rhs, const Allocator &allocator) | |
| ~G4AccVector () override=default | |
| T & | operator[] (typename std::vector< T >::size_type i) |
| T & | at (typename std::vector< T >::size_type i) |
| std::vector< T >::size_type | size () const |
| std::vector< T >::iterator | begin () |
| std::vector< T >::const_iterator | begin () const |
| std::vector< T >::const_iterator | cbegin () const |
| std::vector< T >::iterator | end () |
| std::vector< T >::const_iterator | end () const |
| std::vector< T >::const_iterator | cend () const |
| void | clear () |
| void | push_back (const T &value) |
| void | push_back (T &&value) |
| template<class... Args> | |
| void | emplace_back (Args &&... args) |
| template<class... Args> | |
| T & | emplace_back (Args &&... args) |
| void | pop_back () |
| void | Merge (const G4VAccumulable &other) final |
| void | Reset () final |
| void | Print (G4PrintOptions options=G4PrintOptions()) const final |
| void | SetMergeMode (G4MergeMode value) final |
| G4AccType | GetType () const final |
| std::vector< T > & | GetVector () |
| const std::vector< T > & | GetVector () 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 44 of file G4AccVector.hh.
| G4AccVector< T, Allocator >::G4AccVector | ( | const G4String & | name = "", |
| G4MergeMode | mergeMode = G4MergeMode::kAddition ) |
Referenced by G4AccVector(), G4AccVector(), G4AccVector(), and G4AccVector().
| G4AccVector< T, Allocator >::G4AccVector | ( | const Allocator & | alloc, |
| G4MergeMode | mergeMode = G4MergeMode::kAddition ) |
| G4AccVector< T, Allocator >::G4AccVector | ( | const G4String & | name, |
| const Allocator & | alloc, | ||
| G4MergeMode | mergeMode = G4MergeMode::kAddition ) |
| G4AccVector< T, Allocator >::G4AccVector | ( | std::size_t | count, |
| const T & | value, | ||
| G4MergeMode | mergeMode = G4MergeMode::kAddition, | ||
| const Allocator & | allocator = Allocator() ) |
| G4AccVector< T, Allocator >::G4AccVector | ( | const G4String & | name, |
| std::size_t | count, | ||
| const T & | value, | ||
| G4MergeMode | mergeMode = G4MergeMode::kAddition, | ||
| const Allocator & | allocator = Allocator() ) |
| G4AccVector< T, Allocator >::G4AccVector | ( | std::size_t | count, |
| G4MergeMode | mergeMode = G4MergeMode::kAddition, | ||
| const Allocator & | allocator = Allocator() ) |
| G4AccVector< T, Allocator >::G4AccVector | ( | const G4String & | name, |
| std::size_t | count, | ||
| G4MergeMode | mergeMode = G4MergeMode::kAddition, | ||
| const Allocator & | allocator = Allocator() ) |
| G4AccVector< T, Allocator >::G4AccVector | ( | std::initializer_list< T > | init, |
| G4MergeMode | mergeMode = G4MergeMode::kAddition, | ||
| const Allocator & | allocator = Allocator() ) |
| G4AccVector< T, Allocator >::G4AccVector | ( | const G4String & | name, |
| std::initializer_list< T > | init, | ||
| G4MergeMode | mergeMode = G4MergeMode::kAddition, | ||
| const Allocator & | allocator = Allocator() ) |
|
default |
| G4AccVector< T, Allocator >::G4AccVector | ( | const G4AccVector< T, Allocator > & | rhs, |
| const Allocator & | allocator ) |
|
default |
| G4AccVector< T, Allocator >::G4AccVector | ( | G4AccVector< T, Allocator > && | rhs, |
| const Allocator & | allocator ) |
|
overridedefault |
|
inline |
Definition at line 150 of file G4AccVector.hh.
|
inline |
Definition at line 154 of file G4AccVector.hh.
|
inline |
Definition at line 155 of file G4AccVector.hh.
|
inline |
Definition at line 156 of file G4AccVector.hh.
|
inline |
Definition at line 160 of file G4AccVector.hh.
|
inline |
Definition at line 162 of file G4AccVector.hh.
|
inline |
Definition at line 168 of file G4AccVector.hh.
|
inline |
Definition at line 170 of file G4AccVector.hh.
|
inline |
Definition at line 158 of file G4AccVector.hh.
|
inline |
Definition at line 159 of file G4AccVector.hh.
|
inlinefinalvirtual |
Reimplemented from G4VAccumulable.
Definition at line 181 of file G4AccVector.hh.
Referenced by GetType().
| std::vector< T > & G4AccVector< T, Allocator >::GetVector | ( | ) |
| const std::vector< T > & G4AccVector< T, Allocator >::GetVector | ( | ) | const |
|
finalvirtual |
Implements G4VAccumulable.
|
inline |
Definition at line 148 of file G4AccVector.hh.
|
inline |
Definition at line 172 of file G4AccVector.hh.
|
finalvirtual |
Reimplemented from G4VAccumulable.
Referenced by Print().
|
inline |
Definition at line 164 of file G4AccVector.hh.
|
inline |
Definition at line 165 of file G4AccVector.hh.
|
finalvirtual |
Implements G4VAccumulable.
|
finalvirtual |
Reimplemented from G4VAccumulable.
Referenced by SetMergeMode().
|
inline |
Definition at line 152 of file G4AccVector.hh.