#include <gcu/element.h>
Public Member Functions | |
int | GetZ () |
const char * | GetSymbol () |
char | GetDefaultValence () |
unsigned | GetMaxBonds () |
bool | GetBestSide () |
double * | GetDefaultColor () |
const char * | GetName () |
const GcuAtomicRadius ** | GetRadii () |
const GcuElectronegativity ** | GetElectronegativities () |
unsigned | GetValenceElectrons () |
unsigned | GetTotalValenceElectrons () |
unsigned | GetMaxValenceElectrons () |
Static Public Member Functions | |
static const gchar * | Symbol (gint Z) |
static bool | BestSide (gint Z) |
static gint | Z (const gchar *symbol) |
static Element * | GetElement (gint Z) |
static Element * | GetElement (const gchar *symbol) |
static bool | GetRadius (GcuAtomicRadius *radius) |
static bool | GetElectronegativity (GcuElectronegativity *en) |
static unsigned | GetMaxBonds (gint Z) |
Definition at line 52 of file element.h.
|
|
|
This static method is used to know on what side of the symbol of the element attached hydrogens should be written.
|
|
Retreives the default color used for the element.
|
|
|
|
|
|
The programs searches an electronegativity value for the element in the scale if given. If one is found the value and the scale (if NULL on calling) are given the corresponding values of the first match before returning.
|
|
|
|
|
|
The value returned by this method might be too low in some cases and is only indicative. Instances of the Atom class accept any number of bonds. This behavior might change in future versions.
|
|
|
|
|
|
|
|
|
|
The programs searches a value corresponding to the fields having a non default value. If one is found the other fields are given the corresponding values f the first match before returning.
|
|
|
|
|
|
|
|
|
|
|
|
|