Bayeux  3.4.1
Core Foundation library for SuperNEMO
Public Member Functions | List of all members
materials::iso_entry Class Reference

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 isotopeget_isotope () const
 Return the compound isotope. More...
 
void reset ()
 Reset. More...
 
void reset_iso ()
 Reset the compound isotope. More...
 

Detailed Description

Isotope composition entry.

Constructor & Destructor Documentation

◆ iso_entry()

materials::iso_entry::iso_entry ( )

Constructor.

◆ ~iso_entry()

materials::iso_entry::~iso_entry ( )

Destructor.

Member Function Documentation

◆ get_isotope()

const isotope& materials::iso_entry::get_isotope ( ) const

Return the compound isotope.

◆ get_weight()

double materials::iso_entry::get_weight ( ) const

Return the weight.

◆ has_isotope()

bool materials::iso_entry::has_isotope ( ) const

Check for an isotope compound.

◆ has_weight()

bool materials::iso_entry::has_weight ( ) const

Check the weight.

◆ is_owned()

bool materials::iso_entry::is_owned ( ) const

Check for an owned compound.

◆ is_valid()

bool materials::iso_entry::is_valid ( ) const

Check validity.

◆ reset()

void materials::iso_entry::reset ( )

Reset.

◆ reset_iso()

void materials::iso_entry::reset_iso ( )

Reset the compound isotope.

◆ set_isotope() [1/2]

void materials::iso_entry::set_isotope ( const isotope iso_,
bool  owned_ = false 
)

Set the isotope.

◆ set_isotope() [2/2]

void materials::iso_entry::set_isotope ( const isotope iso_,
bool  owned_ = true 
)

Set the isotope.

◆ set_weight()

void materials::iso_entry::set_weight ( double  )

Set the weight.


The documentation for this class was generated from the following file: