SLIKMC  1.0
 All Classes Functions Variables Pages
Public Member Functions | Private Attributes | Friends | List of all members
RotamerGridKey Class Reference

An auxilliary class for class Rotamer. This class used as a key to access one RotamerGrid in the map structure. More...

#include <Rotamer.h>

Public Member Functions

 RotamerGridKey (const string &name, const int &phi, const int &psi)
 Constructor. More...
 
string toString () const
 Get a string containing residue name, backbone phi and psi angles. More...
 
void print () const
 Print the residue name, backbone phi,psi angles.
 
bool operator== (const RotamerGridKey &key) const
 "==" operator override to compare two RotemerGridKeys. More...
 

Private Attributes

string name
 
int phi
 
int psi
 

Friends

class Rotamer
 
struct RotamerGridKeyComparator
 

Detailed Description

An auxilliary class for class Rotamer. This class used as a key to access one RotamerGrid in the map structure.

Constructor & Destructor Documentation

RotamerGridKey::RotamerGridKey ( const string &  name,
const int &  phi,
const int &  psi 
)

Constructor.

Parameters
nameresidue name
phibackbone phi angle in 10 base
psibackebone psi angle in 10 base

Member Function Documentation

bool RotamerGridKey::operator== ( const RotamerGridKey key) const

"==" operator override to compare two RotemerGridKeys.

Parameters
keyan instance of RotamerGridKey
Returns
true, same; otherwise, false
string RotamerGridKey::toString ( ) const

Get a string containing residue name, backbone phi and psi angles.

Returns
a string

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