Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | Friends | List of all members
core::id::BondID Class Reference

two more classes, temporary for testing purposes More...

#include <AtomID.hh>

Public Member Functions

 BondID ()
 
 BondID (AtomID const &a1, AtomID const &a2)
 
bool has (AtomID const &id) const
 
AtomID const & other_atom (AtomID const &id) const
 
BondID reversed () const
 
void reverse ()
 

Public Attributes

AtomID atom1
 
AtomID atom2
 

Friends

bool operator== (BondID const &a, BondID const &b)
 

Detailed Description

two more classes, temporary for testing purposes

Constructor & Destructor Documentation

core::id::BondID::BondID ( )
inline

Referenced by reversed().

core::id::BondID::BondID ( AtomID const &  a1,
AtomID const &  a2 
)
inline

Member Function Documentation

bool core::id::BondID::has ( AtomID const &  id) const
inline

References atom1, and atom2.

AtomID const & core::id::BondID::other_atom ( AtomID const &  id) const

References atom1, and atom2.

void core::id::BondID::reverse ( )
inline

References atom1, and atom2.

BondID core::id::BondID::reversed ( ) const
inline

References atom1, atom2, and BondID().

Friends And Related Function Documentation

bool operator== ( BondID const &  a,
BondID const &  b 
)
friend

Member Data Documentation

AtomID core::id::BondID::atom1
AtomID core::id::BondID::atom2

The documentation for this class was generated from the following files: