The class representing a periodic table.
More...
#include <cFragmentIons.h>
|
| cPeriodicTableMap () |
| The constructor.
|
|
double & | operator[] (string &element) |
| Overloaded operator []. More...
|
|
int | count (string &element) |
| Check whether an element occurs in the table. More...
|
|
map< string, double > & | getElements () |
| Reference to the map of elements. More...
|
|
vector< string > & | getAdductElements () |
| Vector of elements which are allowed to be adducts. More...
|
|
The class representing a periodic table.
◆ count()
int cPeriodicTableMap::count |
( |
string & |
element | ) |
|
Check whether an element occurs in the table.
- Parameters
-
element | reference to a string with a name of an element |
- Return values
-
int | 1 when element is presented in the table, 0 otherwise |
◆ getAdductElements()
vector< string > & cPeriodicTableMap::getAdductElements |
( |
| ) |
|
Vector of elements which are allowed to be adducts.
- Return values
-
◆ getElements()
map< string, double > & cPeriodicTableMap::getElements |
( |
| ) |
|
Reference to the map of elements.
- Return values
-
map<string,double> | map of elements |
◆ operator[]()
double & cPeriodicTableMap::operator[] |
( |
string & |
element | ) |
|
Overloaded operator [].
- Parameters
-
element | reference to a string with a name of an element |
- Return values
-
The documentation for this class was generated from the following files: