cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Data Structures | Enumerations | Functions | Variables
elementnames.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  t_elementnames
 

Enumerations

enum  {
  CHARS_ELEMENT_NAME =11, CHARS_ELEMENT_NAME_SHORT =5, CHARS_ELEMENT_SYM =3, CHARS_ION_STAGE =3,
  CHARS_ION_ROMAN =7
}
 

Functions

bool isElementSym (const char *chSym)
 
int nelem_symbol_to_index (const char *chSym)
 

Variables

t_elementnames elementnames
 

Enumeration Type Documentation

anonymous enum
Enumerator
CHARS_ELEMENT_NAME 
CHARS_ELEMENT_NAME_SHORT 
CHARS_ELEMENT_SYM 
CHARS_ION_STAGE 
CHARS_ION_ROMAN 

Definition at line 7 of file elementnames.h.

Function Documentation

bool isElementSym ( const char *  chSym)

isElementSym - search for string among element symbols.

Parameters
chSyminput string
Returns
TRUE is an element, FALSE otherwise

Definition at line 38 of file elementnames.cpp.

References nelem_symbol_to_index().

Referenced by chemical_to_spectral().

Here is the call graph for this function:

int nelem_symbol_to_index ( const char *  chSym)

Definition at line 9 of file elementnames.cpp.

References CHARS_ELEMENT_SYM, t_elementnames::chElementSym, LIMELM, and toupper().

Referenced by isElementSym().

Here is the call graph for this function:

Variable Documentation

t_elementnames elementnames