#include <model.hpp>
|
| Residue ()=default |
|
| Residue (const ResidueId &rid) noexcept |
|
Residue | empty_copy () const |
|
std::vector< Atom > & | children () |
|
const std::vector< Atom > & | children () const |
|
const Atom * | find_by_element (El el) const |
|
Atom * | find_atom (const std::string &atom_name, char altloc, El el=El::X, bool strict_altloc=true) |
| El::X means anything; in strict_altloc mode, '*' = any altloc, otherwise it's \0.
|
|
const Atom * | find_atom (const std::string &atom_name, char altloc, El el=El::X, bool strict_altloc=true) const |
|
std::vector< Atom >::iterator | find_atom_iter (const std::string &atom_name, char altloc, El el=El::X) |
|
AtomGroup | get (const std::string &atom_name) |
|
Atom & | sole_atom (const std::string &atom_name) |
|
const Atom * | get_ca () const |
|
const Atom * | get_c () const |
|
const Atom * | get_n () const |
|
const Atom * | get_p () const |
|
const Atom * | get_o3prim () const |
|
bool | same_conformer (const Residue &other) const |
|
bool | is_water () const |
| Convenience function that duplicates functionality from resinfo.hpp.
|
|
UniqProxy< Atom > | first_conformer () |
|
ConstUniqProxy< Atom > | first_conformer () const |
|
SeqId | group_key () const |
|
bool | matches (const ResidueId &o) const |
|
bool | matches_noseg (const ResidueId &o) const |
|
bool | operator== (const ResidueId &o) const |
|
std::string | str () const |
|
Definition at line 174 of file model.hpp.
◆ OptionalNum
◆ child_type
◆ Residue() [1/2]
gemmi::Residue::Residue |
( |
| ) |
|
|
default |
◆ Residue() [2/2]
◆ what()
◆ empty_copy()
Residue gemmi::Residue::empty_copy |
( |
| ) |
const |
|
inline |
◆ children() [1/2]
std::vector< Atom > & gemmi::Residue::children |
( |
| ) |
|
|
inline |
◆ children() [2/2]
const std::vector< Atom > & gemmi::Residue::children |
( |
| ) |
const |
|
inline |
◆ find_by_element()
const Atom * gemmi::Residue::find_by_element |
( |
El |
el | ) |
const |
|
inline |
◆ find_atom() [1/2]
El::X means anything; in strict_altloc mode, '*' = any altloc, otherwise it's \0.
Definition at line 216 of file model.hpp.
◆ find_atom() [2/2]
◆ find_atom_iter()
std::vector< Atom >::iterator gemmi::Residue::find_atom_iter |
( |
const std::string & |
atom_name, |
|
|
char |
altloc, |
|
|
El |
el = El::X |
|
) |
| |
|
inline |
◆ get()
◆ sole_atom()
Atom & gemmi::Residue::sole_atom |
( |
const std::string & |
atom_name | ) |
|
|
inline |
◆ get_ca()
const Atom * gemmi::Residue::get_ca |
( |
| ) |
const |
|
inline |
◆ get_c()
◆ get_n()
◆ get_p()
◆ get_o3prim()
const Atom * gemmi::Residue::get_o3prim |
( |
| ) |
const |
|
inline |
◆ same_conformer()
◆ is_water()
bool gemmi::Residue::is_water |
( |
| ) |
const |
|
inline |
Convenience function that duplicates functionality from resinfo.hpp.
Returns true for HOH and DOD (and old alternative names of HOH), but not for OH and H3O/D3O.
Definition at line 268 of file model.hpp.
◆ first_conformer() [1/2]
◆ first_conformer() [2/2]
◆ subchain
std::string gemmi::Residue::subchain |
◆ entity_id
std::string gemmi::Residue::entity_id |
◆ label_seq
◆ entity_type
◆ het_flag
char gemmi::Residue::het_flag = '\0' |
◆ flag
char gemmi::Residue::flag = '\0' |
◆ sifts_unp
◆ group_idx
short gemmi::Residue::group_idx = 0 |
◆ atoms
std::vector<Atom> gemmi::Residue::atoms |
The documentation for this struct was generated from the following file:
- /home/wojdyr/gemmi/gemmi/include/gemmi/model.hpp