xmol::proxy::ResidueSpan class

Base classes

template<typename Proxy, typename T>
class ProxySpan<ResidueRef, BaseResidue>

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 molecules() -> MoleculeSpan
auto contains(const ResidueRef& ref) const -> bool
template<typename Predicate>
auto filter(Predicate&& p) -> ResidueSelection
auto index() const -> std::vector<ResidueIndex>
auto slice(std::optional<size_t> start, std::optional<size_t> stop, std::optional<size_t> step) -> ResidueSelection
auto slice(std::optional<size_t> start, std::optional<size_t> stop) -> ResidueSpan
auto smart() -> smart::ResidueSmartSpan
Make smart span from this.
auto operator&=(const ResidueSpan& rhs) -> ResidueSpan&
Intersect inplace.

Protected functions

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