class
#include <xmol/proxy/selections.h>
ResidueSelection Contents
@breif Ordered set of ResidueRef from single Frame
Mixing references from different frames within single ResidueSelection is prohibited
Base classes
-
template<typename T>class Selection<ResidueRef>
Constructors, destructors, conversion operators
- ResidueSelection(Selection&& rhs)
- ResidueSelection(ResidueSpan rhs)
- Selection() defaulted
-
template<typename Iterator>Selection(Iterator first, Iterator last, bool sorted_and_unique = false)
-
template<typename Container>Selection(Container&& c, bool sorted_and_unique = false) explicit
- Selection(std::vector<T>&& data, bool sorted_and_unique = false) explicit
Public functions
- auto coords() -> CoordSelection
- Coordinates.
- auto atoms() -> AtomSelection
- Children atoms of the residues.
- auto molecules() -> MoleculeSelection
- Parent molecules.
- auto operator|=(const ResidueSelection& rhs) -> ResidueSelection&
- Inplace union.
- auto operator-=(const ResidueSelection& rhs) -> ResidueSelection&
- Inplace difference.
- auto operator&=(const ResidueSelection& rhs) -> ResidueSelection&
- Inplace intersection.
-
template<typename Predicate>auto filter(Predicate&& p) -> ResidueSelection
- Returns selection with residues that match predicate.
- 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 smart() -> smart::
ResidueSmartSelection - Create smart selection from this.