ResNum Class Reference

#include <residue_prop.hh>

Public Member Functions

 ResNum ()
 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 30 of file residue_prop.hh.


Constructor & Destructor Documentation

ResNum (  )  [inline]

Definition at line 40 of file residue_prop.hh.

ResNum ( int  n  )  [inline]

Definition at line 44 of file residue_prop.hh.

ResNum ( int  n,
char  a 
) [inline]

Definition at line 48 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 136 of file residue_prop.hh.

char GetInsCode (  )  const [inline]

Definition at line 118 of file residue_prop.hh.

int GetNum (  )  const [inline]

Definition at line 112 of file residue_prop.hh.

ResNum NextInsertionCode (  )  const [inline]

Definition at line 98 of file residue_prop.hh.

ResNum& operator++ (  )  [inline]

Definition at line 86 of file residue_prop.hh.

int operator+= ( const ResNum r  )  [inline]

Definition at line 74 of file residue_prop.hh.

int operator+= ( int  i  )  [inline]

Definition at line 62 of file residue_prop.hh.

ResNum& operator-- (  )  [inline]

Definition at line 92 of file residue_prop.hh.

int operator-= ( const ResNum r  )  [inline]

Definition at line 80 of file residue_prop.hh.

int operator-= ( int  i  )  [inline]

Definition at line 68 of file residue_prop.hh.

bool operator< ( const ResNum r  )  const [inline]

Definition at line 57 of file residue_prop.hh.

bool operator== ( const ResNum r  )  const [inline]

Definition at line 52 of file residue_prop.hh.

void SetInsCode ( char  ins_code  )  [inline]

Definition at line 116 of file residue_prop.hh.

void SetNum ( int  num  )  [inline]

Definition at line 114 of file residue_prop.hh.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated on 10 Nov 2016 for OpenStructure by  doxygen 1.6.1