ResNum Class Reference

#include <residue_prop.hh>


Public Member Functions

 ResNum (int num)
 ResNum (int num, char alt)
bool operator== (const ResNum &) const
bool operator< (const ResNum &) const
int operator+= (int)
int operator-= (int)
int operator+= (const ResNum &)
int operator-= (const ResNum &)
ResNumoperator++ ()
ResNumoperator-- ()
ResNum NextInsertionCode () const
int GetNum () const
char GetInsCode () const
String AsString () const


Detailed Description

Definition at line 31 of file residue_prop.hh.


Constructor & Destructor Documentation

ResNum ( int  num  ) 

ResNum ( int  num,
char  alt 
)


Member Function Documentation

String AsString (  )  const

get residue number as String

The returned String consists of both the numeric residue sequence number and the insertion code. If the insertion code is not defined, i.e. is equal to the null character, only the residue sequence number is returned.

char GetInsCode (  )  const [inline]

Definition at line 53 of file residue_prop.hh.

int GetNum (  )  const [inline]

Definition at line 52 of file residue_prop.hh.

ResNum NextInsertionCode (  )  const

ResNum& operator++ (  ) 

int operator+= ( const ResNum  ) 

int operator+= ( int   ) 

ResNum& operator-- (  ) 

int operator-= ( const ResNum  ) 

int operator-= ( int   ) 

bool operator< ( const ResNum  )  const

bool operator== ( const ResNum  )  const


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

Generated on Fri Jul 2 14:23:07 2010 for OpenStructure by  doxygen 1.5.8