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

#include <chemcomp.hpp>

Public Member Functions

bool operator== (const AtomId &o) const
 
bool operator!= (const AtomId &o) const
 
bool operator== (const std::string &name) const
 
bool operator!= (const std::string &name) const
 
bool operator< (const AtomId &o) const
 
Atomget_from (Residue &res1, Residue *res2, char alt, char altloc2) const
 
const Atomget_from (const Residue &res1, const Residue *res2, char alt, char alt2) const
 

Public Attributes

int comp
 
std::string atom
 

Detailed Description

Definition at line 26 of file chemcomp.hpp.

Member Function Documentation

◆ operator==() [1/2]

bool gemmi::Restraints::AtomId::operator== ( const AtomId o) const
inline

Definition at line 30 of file chemcomp.hpp.

◆ operator!=() [1/2]

bool gemmi::Restraints::AtomId::operator!= ( const AtomId o) const
inline

Definition at line 33 of file chemcomp.hpp.

◆ operator==() [2/2]

bool gemmi::Restraints::AtomId::operator== ( const std::string &  name) const
inline

Definition at line 35 of file chemcomp.hpp.

◆ operator!=() [2/2]

bool gemmi::Restraints::AtomId::operator!= ( const std::string &  name) const
inline

Definition at line 36 of file chemcomp.hpp.

◆ operator<()

bool gemmi::Restraints::AtomId::operator< ( const AtomId o) const
inline

Definition at line 38 of file chemcomp.hpp.

◆ get_from() [1/2]

Atom * gemmi::Restraints::AtomId::get_from ( Residue res1,
Residue res2,
char  alt,
char  altloc2 
) const
inline

Definition at line 44 of file chemcomp.hpp.

◆ get_from() [2/2]

const Atom * gemmi::Restraints::AtomId::get_from ( const Residue res1,
const Residue res2,
char  alt,
char  alt2 
) const
inline

Definition at line 58 of file chemcomp.hpp.

Member Data Documentation

◆ comp

int gemmi::Restraints::AtomId::comp

Definition at line 27 of file chemcomp.hpp.

◆ atom

std::string gemmi::Restraints::AtomId::atom

Definition at line 28 of file chemcomp.hpp.


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