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