class
#include <xmol/proxy/spans.h>
ResidueSpan
Contents
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.