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

#include <model.hpp>

Inheritance diagram for gemmi::ConstResidueGroup:
[legend]

Public Member Functions

 ConstResidueGroup ()=default
 
 ConstResidueGroup (ConstResidueSpan &&sp)
 
const Residueby_resname (const std::string &name)
 
- Public Member Functions inherited from gemmi::ConstResidueSpan
 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 Types inherited from gemmi::ConstResidueSpan
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 Attributes inherited from gemmi::Span< const Residue >
friend Span< const value_type >
 
friend MutableVectorSpan< value_type >
 

Detailed Description

Definition at line 414 of file model.hpp.

Constructor & Destructor Documentation

◆ ConstResidueGroup() [1/2]

gemmi::ConstResidueGroup::ConstResidueGroup ( )
default

◆ ConstResidueGroup() [2/2]

gemmi::ConstResidueGroup::ConstResidueGroup ( ConstResidueSpan &&  sp)
inline

Definition at line 416 of file model.hpp.

Member Function Documentation

◆ by_resname()

const Residue & gemmi::ConstResidueGroup::by_resname ( const std::string &  name)
inline

Definition at line 417 of file model.hpp.


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