xmol::proxy::smart::AtomSmartRef class

Smart Atom reference proxy.

Base classes

template<typename Observer>
class FrameObserver<AtomSmartRef>

Constructors, destructors, conversion operators

AtomSmartRef(AtomRef atom)
operator AtomRef&()
operator const AtomRef&() const

Public functions

auto id() const -> const AtomId&
Atom id.
auto id(const AtomId& value) -> AtomRef&
auto mass() const -> float
Atom mass.
auto mass(float value) -> AtomRef&
auto vdw_radius() const -> float
Van der Waals radius.
auto vdw_radius(float value) -> AtomRef&
auto name() const -> const AtomName&
Atom name.
auto name(const AtomName& value) -> AtomRef&
auto name(const char* value) -> AtomRef&
auto r() const -> const XYZ&
Atom coordinates.
auto r(const XYZ& value) -> AtomRef&
auto residue() -> ResidueRef
Parent residue.
auto molecule() -> MoleculeRef
Parent molecule.
auto frame() -> Frame&
Parent frame.
auto index() const -> AtomIndex
auto operator!=(const AtomRef& rhs) const -> bool
Check if references point to same data.
auto operator==(const AtomRef& rhs) const -> bool
Check if references point to same data.