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

Utilities for chemical symbols. More...

#include <bayeux/materials/chemical_symbol.h>

Static Public Member Functions

static const std::vector< std::string > & table_of_symbols ()
 Return the vector of tabulated chemical symbols. More...
 
static unsigned int nb_chemical_symbols ()
 Return the number of tabulated chemical symbols. More...
 
static bool symbol_is_tabulated (const std::string &symbol_)
 Check is a chemical symbol is tabulated. More...
 
static bool z_is_tabulated (int z_)
 Check is a Z value is tabulated. More...
 
static int z_from_symbol (const std::string &symbol_)
 Return the Z value from a chemical symbol. More...
 
static const std::string & symbol_from_z (int z_)
 Return the chemical symbol associated to a Z value. More...
 

Static Public Attributes

static const int Z_UNDEFINED = -1
 Invalid Z value. More...
 

Detailed Description

Utilities for chemical symbols.

Member Function Documentation

◆ nb_chemical_symbols()

static unsigned int materials::chemical_symbol::nb_chemical_symbols ( )
static

Return the number of tabulated chemical symbols.

◆ symbol_from_z()

static const std::string& materials::chemical_symbol::symbol_from_z ( int  z_)
static

Return the chemical symbol associated to a Z value.

◆ symbol_is_tabulated()

static bool materials::chemical_symbol::symbol_is_tabulated ( const std::string &  symbol_)
static

Check is a chemical symbol is tabulated.

◆ table_of_symbols()

static const std::vector<std::string>& materials::chemical_symbol::table_of_symbols ( )
static

Return the vector of tabulated chemical symbols.

◆ z_from_symbol()

static int materials::chemical_symbol::z_from_symbol ( const std::string &  symbol_)
static

Return the Z value from a chemical symbol.

◆ z_is_tabulated()

static bool materials::chemical_symbol::z_is_tabulated ( int  z_)
static

Check is a Z value is tabulated.

Member Data Documentation

◆ Z_UNDEFINED

const int materials::chemical_symbol::Z_UNDEFINED = -1
static

Invalid Z value.


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