19 #ifndef OST_MOL_ALG_DISTANCE_TEST_COMMON_HH
20 #define OST_MOL_ALG_DISTANCE_TEST_COMMON_HH
25 namespace ost {
namespace mol {
namespace alg {
89 typedef std::map<std::pair<UniqueAtomIdentifier,UniqueAtomIdentifier>,std::pair<Real,Real> >
ResidueRDMap;
Contains the infomation needed to uniquely identify an atom in a structure.
String GetQualifiedAtomName() const
Returns the qualified name of the atom, as a String.
String GetAtomName() const
Returns the name of the atom, as a String.
String GetResidueName() const
Returns the name of the residue to which the atom belongs, as a String.
bool operator<(const UniqueAtomIdentifier &rhs) const
ResNum GetResNum() const
Returns the ResNum of the residue to which the atom belongs.
bool operator==(const UniqueAtomIdentifier &rhs) const
String GetChainName() const
Returns the name of the chain to which the atom belongs, as a String.
UniqueAtomIdentifier(const String &chain, const ResNum &residue, const String &residue_name, const String &atom)
Constructor with all the relevant information.
#define DLLEXPORT_OST_MOL_ALG
String DLLEXPORT_OST_MOL_ALG SwappedName(const String &name)
Returns the name of the symmetry equivalent atom in residues with symmetric side-chains.
std::map< ost::mol::ResNum, ResidueRDMap > GlobalRDMap
Global distance list.
std::map< UniqueAtomIdentifier, int > ExistenceMap
bool DLLEXPORT_OST_MOL_ALG Swappable(const String &rname, const String &aname)
Checks if an atom in a residue has a symmetry equivalent.
std::pair< UniqueAtomIdentifier, UniqueAtomIdentifier > UAtomIdentifiers
std::map< std::pair< UniqueAtomIdentifier, UniqueAtomIdentifier >, std::pair< Real, Real > > ResidueRDMap
Residue distance list.