Subsections

 
7.1 Stored Properties of Atoms

The OEAtomBase class is the workhorse of the OEChem library, representing the atoms of a molecule. This section details some of the important and often used properties and methods. See the API manual for a complete listing.

Table 7.1: Stored properties of atoms
Property Name Type Get Method Set Method
Atomic Number unsigned int GetAtomicNum SetAtomicNum
Formal Charge int GetFormalCharge SetFormalCharge
Implicit Hydrogen Count unsigned int GetImplicitHCount SetImplicitHCount
Isotopic Mass unsigned int GetIsotope SetIsotope
Partial Charge double GetPartialCharge SetPartialCharge
Atomic Hybridization unsigned int GetHyb SetHyb
Integer Atom Type int GetIntType SetIntType
Atom Name std::string GetName SetName
Atom Type Name std::string GetType SetType
Radius double GetRadius SetRadius
Reaction Role unsigned int GetRxnRole SetRxnRole
Reaction Map Index unsigned int GetMapIdx SetMapIdx
Ring Membership bool IsInRing SetInRing
Symmetry Class unsigned int GetSymmetryClass SetSymmetryClass
Aromaticity bool IsAromatic SetAromatic
 


7.1.1 AtomicNum

The ``Atomic Number'' property of an atom is an unsigned integer representing the atomic number, or element, of that atom. The default value is zero.

7.1.2 FormalCharge

The ``Formal Charge'' property of an atom is an integer representing the formal charge on an atom. The default value is zero, indicating a neutral atom.

7.1.3 ImplicitHCount

The ``Implicit Hydrogen Count'' property of an atom is an unsigned integer denoting the number of hydrogens implicitly attached to an atom. The default value is zero.

7.1.4 Isotope

The ``Isotopic Mass'' property of an atom is an unsigned integer used to indicate whether the atom is mono-isotopic and if so the atomic mass of the relevant isotope. The default value is zero, indicating that the atom has a typical population of isotopes (based upon standard abundances) for that element.

7.1.5 PartialCharge

The ``Partial Charge'' property of an atom is a float used to hold the partial charge assigned to an atom. The default value is 0.0.

7.1.6 Hyb

The ``Atomic Hybridization'' property of an atom is an unsigned int used to hold the atomic hybridization or geometry of an atom. The default value is OEHybridization::Unknown, which is zero.

7.1.7 IntType

The ``Integer Atom Type'' property of an atom is an integer that holds the numeric atom type assigned to an atom. The default value is zero.

7.1.8 Name

The ``Atom Name'' property of an atom is a string used to record the atom name associated with an atom. The default value is the empty string.

7.1.9 Type

The ``Atom Type Name'' property of an atom is a string used to store the symbolic atom type assigned to an atom. The default value is the empty string.

7.1.10 Radius

The ``Radius'' property of an atom is a float used to hold the radius assigned to an atom. The default value is 0.0.

7.1.11 RxnRole

The ``Reaction Role'' property of an atom is an unsigned integer used to record the role, if any, of an atom in a reaction or transform. The default value is OERxnRole::None, which is zero.

7.1.12 MapIdx

The ``Reaction Map Index'' property of an atom is an unsigned used to represent the atom equivalences in reaction and transforms, or to label R-groups/attachment points in molecules. The default value is zero.

7.1.13 InRing

The ``Ring Membership'' property of a atom is a boolean used to represent whether the atom is a member of a cycle/ring. The default value is false.

7.1.14 SymmetryClass

The ``Symmetry Class'' property of an atom is an unsigned integer used to represent the topological symmetry group of an atom. The default value is zero.

7.1.15 Aromatic

The ``Aromaticity'' property of an atom is a boolean used to represent whether the atom is considered a member of an aromatic ring/cycle. The default value is false.