xmol::proxy::MoleculeSpan class

Base classes

template<typename Proxy, typename T>
class ProxySpan<MoleculeRef, BaseMolecule>

Constructors, destructors, conversion operators

ProxySpan() defaulted
ProxySpan(const future::Span<T>& span) explicit
ProxySpan(T* b, T* e)
ProxySpan(T* b, size_t n)

Public functions

auto coords() -> CoordSpan
auto atoms() -> AtomSpan
auto residues() -> ResidueSpan
auto contains(const MoleculeRef& ref) const -> bool
template<typename Predicate>
auto filter(Predicate&& p) -> MoleculeSelection
auto index() const -> std::vector<MoleculeIndex>
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 smart() -> smart::MoleculeSmartSpan
Make smart span from this.
auto operator&=(const MoleculeSpan& rhs) -> MoleculeSpan&
Intersect inplace.

Protected functions

auto frame_ptr() -> Frame*
auto frame_ptr() const -> const Frame*