|
| | AtomData () |
| | Creates a dummy atom with unknown hybridization.
|
| | AtomData (const Element &element, int implicit_hydrogens=0, int formal_charge=0, constants::Hybridization hyb=constants::kOtherHyb, double partial_charge=0.0, int mass_number=-1, bool is_aromatic=false, bool is_in_ring=false, bool is_chiral=false, bool is_clockwise=false) |
| int | atomic_number () const |
| | Get the atomic number of the atom.
|
| double | atomic_weight () const |
| | Get the atomic weight of the atom.
|
| std::string_view | element_symbol () const |
| | Get the element symbol of the atom.
|
| std::string_view | element_name () const |
| | Get the element name of the atom.
|
| AtomData & | set_element (const Element &element) |
| | Change the element of the atom.
|
| AtomData & | set_element (int atomic_number) |
| | Set the element of the atom by atomic number.
|
| const Element & | element () const noexcept |
| | Get the element data of the atom.
|
| const Isotope & | isotope () const |
| | Get the isotope of the atom.
|
| AtomData & | set_isotope (const Isotope &isotope) |
| | Set explicit isotope of the atom.
|
| AtomData & | set_isotope (int mass_number) |
| | Set explicit isotope of the atom by mass number.
|
| internal::Nullable< const Isotope * > | explicit_isotope () const |
| | Get the explicitly set isotope of the atom.
|
| AtomData & | set_hybridization (constants::Hybridization hyb) |
| constants::Hybridization | hybridization () const |
| AtomData & | set_implicit_hydrogens (int implicit_hydrogens) |
| | Set the number of implicit hydrogen atoms.
|
| int | implicit_hydrogens () const |
| | Get the number of implicit hydrogen atoms.
|
| AtomData & | set_aromatic (bool is_aromatic) |
| bool | is_aromatic () const |
| AtomData & | set_conjugated (bool is_conjugated) |
| bool | is_conjugated () const |
| AtomData & | set_ring_atom (bool is_ring_atom) |
| bool | is_ring_atom () const |
| AtomData & | set_chiral (bool is_chiral) |
| bool | is_chiral () const |
| AtomData & | set_clockwise (bool is_clockwise) |
| bool | is_clockwise () const |
| | Get handedness of a chiral atom.
|
| AtomFlags | flags () const |
| AtomData & | add_flags (AtomFlags flags) |
| AtomData & | del_flags (AtomFlags flags) |
| AtomData & | reset_flags () |
| AtomData & | set_partial_charge (double charge) |
| double | partial_charge () const |
| AtomData & | set_formal_charge (int charge) |
| int | formal_charge () const |
| std::string_view | get_name () const |
| template<class ST> |
| AtomData & | set_name (ST &&name) |
| template<class KT, class VT> |
| AtomData & | add_prop (KT &&key, VT &&val) |
| internal::PropertyMap & | props () |
| const internal::PropertyMap & | props () const |