MIDSX 0.1
A x-ray transport code system for dosimetry
|
Public Types | |
using | ValueExtractor = std::function<bool(const TempVolumeTallyData&)> |
ValueExtractor is a function that extracts necessary values from a TempVolumeTallyData object for a CountVolumeQuantity. | |
Public Member Functions | |
CountVolumeQuantity (CountVolumeQuantityType type) | |
Constructor for the CountVolumeQuantity class. | |
CountVolumeQuantity | operator+ (const CountVolumeQuantity &other) const |
Overloads the + operator for CountVolumeQuantity. | |
void | measure (TempVolumeTallyData &temp_volume_tally_data) |
Measures the CountVolumeQuantity for a TempVolumeTallyData object. | |
CountVolumeQuantityType | getType () const |
Returns the type of the CountVolumeQuantity. | |
CountValue | getTotalValues () |
CountValue | getPrimaryValues () const |
CountValue | getSingleIncoherentScatterValues () const |
CountValue | getSingleCoherentScatterValues () const |
CountValue | getMultipleScatterValues () const |
Private Attributes | |
CountVolumeQuantityType | type_ |
bool | totaled_ = false |
CountValue | total_values_ |
CountValue | primary_values_ |
CountValue | single_incoherent_scatter_values_ |
CountValue | single_coherent_scatter_values_ |
CountValue | multiple_scatter_values_ |
ValueExtractor | valueExtractor_ |
Definition at line 93 of file volume_quantity.h.
using CountVolumeQuantity::ValueExtractor = std::function<bool(const TempVolumeTallyData&)> |
ValueExtractor is a function that extracts necessary values from a TempVolumeTallyData object for a CountVolumeQuantity.
temp_volume_tally_data | The TempVolumeTallyData object to extract the value from. |
Definition at line 102 of file volume_quantity.h.
|
explicit |
Constructor for the CountVolumeQuantity class.
type | The type of the CountVolumeQuantity to be measured. |
CountVolumeQuantityType CountVolumeQuantity::getType | ( | ) | const |
Returns the type of the CountVolumeQuantity.
void CountVolumeQuantity::measure | ( | TempVolumeTallyData & | temp_volume_tally_data | ) |
Measures the CountVolumeQuantity for a TempVolumeTallyData object.
temp_volume_tally_data | The TempVolumeTallyData object to measure the CountVolumeQuantity for. |
CountVolumeQuantity CountVolumeQuantity::operator+ | ( | const CountVolumeQuantity & | other | ) | const |
Overloads the + operator for CountVolumeQuantity.
other | The CountVolumeQuantity to add to this CountVolumeQuantity. |
|
private |
Definition at line 144 of file volume_quantity.h.
|
private |
Definition at line 141 of file volume_quantity.h.
|
private |
Definition at line 143 of file volume_quantity.h.
|
private |
Definition at line 142 of file volume_quantity.h.
|
private |
Definition at line 140 of file volume_quantity.h.
|
private |
Definition at line 139 of file volume_quantity.h.
|
private |
Definition at line 138 of file volume_quantity.h.
|
private |
Definition at line 145 of file volume_quantity.h.