#include <Material.h>
Definition at line 61 of file Material.h.
◆ MaterialComposition() [1/6]
Trk::MaterialComposition::MaterialComposition |
( |
| ) |
|
|
inline |
default constructors
Definition at line 64 of file Material.h.
64 : std::vector<ElementFraction>() {}
◆ MaterialComposition() [2/6]
◆ MaterialComposition() [3/6]
◆ ~MaterialComposition()
Trk::MaterialComposition::~MaterialComposition |
( |
| ) |
|
|
inline |
◆ MaterialComposition() [4/6]
Trk::MaterialComposition::MaterialComposition |
( |
const std::vector< unsigned char > & |
iel, |
|
|
const std::vector< unsigned char > & |
ifrac |
|
) |
| |
|
inline |
constructor for persistency (1), size optimized
Definition at line 72 of file Material.h.
75 for (std::size_t elvc = 0; elvc < iel.size() && !ifrac.empty(); ++elvc)
76 push_back(ElementFraction(iel[elvc], ifrac[elvc]));
◆ MaterialComposition() [5/6]
Trk::MaterialComposition::MaterialComposition |
( |
const std::vector< std::pair< unsigned char, unsigned char > > & |
efracs | ) |
|
|
inline |
constructor for persistency (2), size optimized
Definition at line 80 of file Material.h.
82 reserve(efracs.size());
83 for (
auto& efracIt : efracs) push_back(efracIt);
◆ MaterialComposition() [6/6]
Copy constructor from base class.
Definition at line 87 of file Material.h.
88 : std::vector<ElementFraction>(
mc) {}
◆ operator=() [1/4]
◆ operator=() [2/4]
assignment operator from base class
Definition at line 91 of file Material.h.
◆ operator=() [3/4]
MaterialComposition& Trk::MaterialComposition::operator= |
( |
const std::vector< std::pair< unsigned char, unsigned char > > & |
efracs | ) |
|
|
inline |
assignment operator for persistency (2)
Definition at line 99 of file Material.h.
102 reserve(efracs.size());
103 for (
auto& efracIt : efracs) push_back(efracIt);
◆ operator=() [4/4]
◆ elements
T std::vector< T >::elements |
|
inherited |
The documentation for this struct was generated from the following file: