Bayeux
3.4.1
Core Foundation library for SuperNEMO
|
Isotope composition entry. More...
#include <bayeux/materials/element.h>
Public Member Functions | |
iso_entry () | |
Constructor. More... | |
~iso_entry () | |
Destructor. More... | |
bool | is_valid () const |
Check validity. More... | |
bool | is_owned () const |
Check for an owned compound. More... | |
bool | has_isotope () const |
Check for an isotope compound. More... | |
bool | has_weight () const |
Check the weight. More... | |
double | get_weight () const |
Return the weight. More... | |
void | set_weight (double) |
Set the weight. More... | |
void | set_isotope (const isotope &iso_, bool owned_=false) |
Set the isotope. More... | |
void | set_isotope (const isotope *iso_, bool owned_=true) |
Set the isotope. More... | |
const isotope & | get_isotope () const |
Return the compound isotope. More... | |
void | reset () |
Reset. More... | |
void | reset_iso () |
Reset the compound isotope. More... | |
Isotope composition entry.
materials::iso_entry::iso_entry | ( | ) |
Constructor.
materials::iso_entry::~iso_entry | ( | ) |
Destructor.
const isotope& materials::iso_entry::get_isotope | ( | ) | const |
Return the compound isotope.
double materials::iso_entry::get_weight | ( | ) | const |
Return the weight.
bool materials::iso_entry::has_isotope | ( | ) | const |
Check for an isotope compound.
bool materials::iso_entry::has_weight | ( | ) | const |
Check the weight.
bool materials::iso_entry::is_owned | ( | ) | const |
Check for an owned compound.
bool materials::iso_entry::is_valid | ( | ) | const |
Check validity.
void materials::iso_entry::reset | ( | ) |
Reset.
void materials::iso_entry::reset_iso | ( | ) |
Reset the compound isotope.
void materials::iso_entry::set_isotope | ( | const isotope & | iso_, |
bool | owned_ = false |
||
) |
Set the isotope.
void materials::iso_entry::set_isotope | ( | const isotope * | iso_, |
bool | owned_ = true |
||
) |
Set the isotope.
void materials::iso_entry::set_weight | ( | double | ) |
Set the weight.