Gemmi C++ API
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
gemmi::ConstResidueSpan Struct Reference

#include <model.hpp>

Inheritance diagram for gemmi::ConstResidueSpan:
[legend]

Public Types

using Parent = Span< const Residue >
 
- Public Types inherited from gemmi::Span< const Residue >
using iterator = const Residue *
 
using const_iterator = const Residue const *
 
using element_type = const Residue
 
using value_type = typename std::remove_cv< const Residue >::type
 

Public Member Functions

 ConstResidueSpan (Parent &&span)
 
int length () const
 
SeqId::OptionalNum extreme_num (bool label, int sign) const
 
ConstUniqProxy< Residue, ConstResidueSpanfirst_conformer () const
 
const std::string & subchain_id () const
 
ConstResidueGroup find_residue_group (SeqId id) const
 
std::vector< std::string > extract_sequence () const
 
SeqId label_seq_id_to_auth (SeqId::OptionalNum label_seq_id) const
 
SeqId::OptionalNum auth_seq_id_to_label (SeqId auth_seq_id) const
 
- Public Member Functions inherited from gemmi::Span< const Residue >
 Span ()=default
 
 Span (iterator begin, std::size_t n)
 
 Span (const Span< value_type > &o, typename std::enable_if< std::is_const< T >::value >::type *=0)
 
void set_begin (iterator begin)
 
void set_size (std::size_t n)
 
const_iterator begin () const
 
iterator begin ()
 
const_iterator end () const
 
iterator end ()
 
const Residuefront ()
 
const const Residuefront () const
 
const Residueback ()
 
const const Residueback () const
 
const const Residueoperator[] (std::size_t i) const
 
const Residueoperator[] (std::size_t i)
 
const Residueat (std::size_t i)
 
const const Residueat (std::size_t i) const
 
std::size_t size () const
 
bool empty () const
 
 operator bool () const
 
Span< const Residuesub (Iter first, Iter last)
 
Span< V > subspan (F &&func)
 
Span< const value_typesubspan (F &&func) const
 
Spanchildren ()
 
const Spanchildren () const
 

Additional Inherited Members

- Public Attributes inherited from gemmi::Span< const Residue >
friend Span< const value_type >
 
friend MutableVectorSpan< value_type >
 

Detailed Description

Definition at line 280 of file model.hpp.

Member Typedef Documentation

◆ Parent

Definition at line 281 of file model.hpp.

Constructor & Destructor Documentation

◆ ConstResidueSpan()

gemmi::ConstResidueSpan::ConstResidueSpan ( Parent &&  span)
inline

Definition at line 283 of file model.hpp.

Member Function Documentation

◆ length()

int gemmi::ConstResidueSpan::length ( ) const
inline

Definition at line 285 of file model.hpp.

◆ extreme_num()

SeqId::OptionalNum gemmi::ConstResidueSpan::extreme_num ( bool  label,
int  sign 
) const
inline

Definition at line 294 of file model.hpp.

◆ first_conformer()

ConstUniqProxy< Residue, ConstResidueSpan > gemmi::ConstResidueSpan::first_conformer ( ) const
inline

Definition at line 304 of file model.hpp.

◆ subchain_id()

const std::string & gemmi::ConstResidueSpan::subchain_id ( ) const
inline

Definition at line 308 of file model.hpp.

◆ find_residue_group()

ConstResidueGroup gemmi::ConstResidueSpan::find_residue_group ( SeqId  id) const
inline

Definition at line 428 of file model.hpp.

◆ extract_sequence()

std::vector< std::string > gemmi::ConstResidueSpan::extract_sequence ( ) const
inline

Definition at line 319 of file model.hpp.

◆ label_seq_id_to_auth()

SeqId gemmi::ConstResidueSpan::label_seq_id_to_auth ( SeqId::OptionalNum  label_seq_id) const
inline

Definition at line 328 of file model.hpp.

◆ auth_seq_id_to_label()

SeqId::OptionalNum gemmi::ConstResidueSpan::auth_seq_id_to_label ( SeqId  auth_seq_id) const
inline

Definition at line 344 of file model.hpp.


The documentation for this struct was generated from the following file: