xmol::proxy::smart::MoleculeSmartSpan class

MoleculeSpan with parent frame changes tracking.

Base classes

template<typename Observer>
class FrameObserver<MoleculeSmartSpan>

Constructors, destructors, conversion operators

MoleculeSmartSpan(MoleculeSpan sel)
operator const MoleculeSpan&() const &
operator MoleculeSpan&() &
operator MoleculeSpan&&() &&

Public functions

auto coords() -> CoordSpan
Coordinates.
auto atoms() -> AtomSpan
Children atoms.
auto residues() -> ResidueSpan
Children residues.
template<typename Predicate>
auto filter(Predicate&& p) -> MoleculeSelection
Returns selection with atoms that match predicate.
auto contains(const MoleculeRef& ref) const -> bool
Check if element in selection.
auto begin() -> auto
auto end() -> auto
auto size() const -> size_t
auto empty() const -> size_t
auto slice(std::optional<size_t> start, std::optional<size_t> stop, std::optional<size_t> step) -> MoleculeSelection
auto slice(std::optional<size_t> start, std::optional<size_t> stop) -> MoleculeSpan
auto index() -> auto
auto operator[](size_t i) -> MoleculeRef