OpenStructure
Public Member Functions
ResNum Class Reference

#include <residue_prop.hh>

Public Member Functions

 ResNum (int n)
 ResNum (int n, char a)
bool operator== (const ResNum &r) const
bool operator< (const ResNum &r) const
int operator+= (int i)
int operator-= (int i)
int operator+= (const ResNum &r)
int operator-= (const ResNum &r)
ResNumoperator++ ()
ResNumoperator-- ()
ResNum NextInsertionCode () const
String AsString () const
int GetNum () const
void SetNum (int num)
void SetInsCode (char ins_code)
char GetInsCode () const

Detailed Description

Definition at line 29 of file residue_prop.hh.


Constructor & Destructor Documentation

ResNum ( int  n)
inline

Definition at line 36 of file residue_prop.hh.

ResNum ( int  n,
char  a 
)
inline

Definition at line 40 of file residue_prop.hh.


Member Function Documentation

String AsString ( ) const
inline

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.

Definition at line 127 of file residue_prop.hh.

char GetInsCode ( ) const
inline

Definition at line 110 of file residue_prop.hh.

int GetNum ( ) const
inline

Definition at line 104 of file residue_prop.hh.

ResNum NextInsertionCode ( ) const
inline

Definition at line 90 of file residue_prop.hh.

ResNum& operator++ ( )
inline

Definition at line 78 of file residue_prop.hh.

int operator+= ( int  i)
inline

Definition at line 54 of file residue_prop.hh.

int operator+= ( const ResNum r)
inline

Definition at line 66 of file residue_prop.hh.

ResNum& operator-- ( )
inline

Definition at line 84 of file residue_prop.hh.

int operator-= ( int  i)
inline

Definition at line 60 of file residue_prop.hh.

int operator-= ( const ResNum r)
inline

Definition at line 72 of file residue_prop.hh.

bool operator< ( const ResNum r) const
inline

Definition at line 49 of file residue_prop.hh.

bool operator== ( const ResNum r) const
inline

Definition at line 44 of file residue_prop.hh.

void SetInsCode ( char  ins_code)
inline

Definition at line 108 of file residue_prop.hh.

void SetNum ( int  num)
inline

Definition at line 106 of file residue_prop.hh.


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