Rosetta
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

◆ BondID() [1/2]

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

Referenced by reversed().

◆ BondID() [2/2]

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

Member Function Documentation

◆ has()

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

References atom1, and atom2.

◆ other_atom()

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

References atom1, and atom2.

◆ reverse()

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

References atom1, and atom2.

◆ reversed()

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

References atom1, atom2, and BondID().

Friends And Related Function Documentation

◆ operator==

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

Member Data Documentation

◆ atom1

AtomID core::id::BondID::atom1

◆ atom2

AtomID core::id::BondID::atom2

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