Gemmi C++ API
|
#include <chemcomp.hpp>
Classes | |
struct | Aliasing |
struct | Atom |
Public Types | |
enum class | Group { Peptide , PPeptide , MPeptide , Dna , Rna , DnaRna , Pyranose , Ketopyranose , Furanose , NonPolymer , Null } |
Public Member Functions | |
const Aliasing & | get_aliasing (Group g) const |
void | set_group (const std::string &s) |
std::vector< Atom >::iterator | find_atom (const std::string &atom_id) |
std::vector< Atom >::const_iterator | find_atom (const std::string &atom_id) const |
bool | has_atom (const std::string &atom_id) const |
std::vector< Atom >::iterator | find_atom_by_old_name (const std::string &old_id) |
std::vector< Atom >::const_iterator | find_atom_by_old_name (const std::string &old_id) const |
bool | has_old_names () const |
int | get_atom_index (const std::string &atom_id) const |
const Atom & | get_atom (const std::string &atom_id) const |
void | remove_nonmatching_restraints () |
ChemComp & | remove_hydrogens () |
Static Public Member Functions | |
static Group | read_group (const std::string &str) |
static const char * | group_str (Group g) |
static bool | is_peptide_group (Group g) |
Check if the group (M-|P-)peptide. | |
static bool | is_nucleotide_group (Group g) |
Check if the group is DNA/RNA. | |
Public Attributes | |
std::string | name |
std::string | type_or_group |
Group | group = Group::Null |
bool | has_coordinates = false |
std::vector< Atom > | atoms |
std::vector< Aliasing > | aliases |
Restraints | rt |
Definition at line 326 of file chemcomp.hpp.
|
strong |
Enumerator | |
---|---|
Peptide | |
PPeptide | |
MPeptide | |
Dna | |
Rna | |
DnaRna | |
Pyranose | |
Ketopyranose | |
Furanose | |
NonPolymer | |
Null |
Definition at line 328 of file chemcomp.hpp.
Definition at line 377 of file chemcomp.hpp.
Definition at line 384 of file chemcomp.hpp.
Definition at line 406 of file chemcomp.hpp.
Definition at line 423 of file chemcomp.hpp.
Definition at line 428 of file chemcomp.hpp.
|
inline |
Definition at line 432 of file chemcomp.hpp.
Definition at line 435 of file chemcomp.hpp.
|
inline |
Definition at line 439 of file chemcomp.hpp.
|
inline |
Definition at line 443 of file chemcomp.hpp.
|
inline |
Definition at line 446 of file chemcomp.hpp.
Definition at line 451 of file chemcomp.hpp.
Definition at line 458 of file chemcomp.hpp.
Check if the group (M-|P-)peptide.
Definition at line 463 of file chemcomp.hpp.
Check if the group is DNA/RNA.
Definition at line 468 of file chemcomp.hpp.
|
inline |
Definition at line 472 of file chemcomp.hpp.
|
inline |
Definition at line 500 of file chemcomp.hpp.
std::string gemmi::ChemComp::name |
Definition at line 369 of file chemcomp.hpp.
std::string gemmi::ChemComp::type_or_group |
Definition at line 370 of file chemcomp.hpp.
Group gemmi::ChemComp::group = Group::Null |
Definition at line 371 of file chemcomp.hpp.
Definition at line 372 of file chemcomp.hpp.
std::vector<Atom> gemmi::ChemComp::atoms |
Definition at line 373 of file chemcomp.hpp.
std::vector<Aliasing> gemmi::ChemComp::aliases |
Definition at line 374 of file chemcomp.hpp.
Restraints gemmi::ChemComp::rt |
Definition at line 375 of file chemcomp.hpp.