OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions
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 29 of file residue_prop.hh.


Constructor & Destructor Documentation

ResNum ( )
inline

Definition at line 39 of file residue_prop.hh.

ResNum ( int  n)
inline

Definition at line 43 of file residue_prop.hh.

ResNum ( int  n,
char  a 
)
inline

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

char GetInsCode ( ) const
inline

Definition at line 117 of file residue_prop.hh.

int GetNum ( ) const
inline

Definition at line 111 of file residue_prop.hh.

ResNum NextInsertionCode ( ) const
inline

Definition at line 97 of file residue_prop.hh.

ResNum& operator++ ( )
inline

Definition at line 85 of file residue_prop.hh.

int operator+= ( int  i)
inline

Definition at line 61 of file residue_prop.hh.

int operator+= ( const ResNum r)
inline

Definition at line 73 of file residue_prop.hh.

ResNum& operator-- ( )
inline

Definition at line 91 of file residue_prop.hh.

int operator-= ( int  i)
inline

Definition at line 67 of file residue_prop.hh.

int operator-= ( const ResNum r)
inline

Definition at line 79 of file residue_prop.hh.

bool operator< ( const ResNum r) const
inline

Definition at line 56 of file residue_prop.hh.

bool operator== ( const ResNum r) const
inline

Definition at line 51 of file residue_prop.hh.

void SetInsCode ( char  ins_code)
inline

Definition at line 115 of file residue_prop.hh.

void SetNum ( int  num)
inline

Definition at line 113 of file residue_prop.hh.


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