#include <PDB_index.h>
This class is here to keep such indices straight from norm 1 based C++ indices. PDB indices start at 1 and can contain gaps.
Definition at line 12 of file PDB_index.h.
Public Member Functions | |
| PDB_index (unsigned int v) | |
| PDB_index () | |
| operator unsigned int () const | |
| bool | operator== (This o) const |
| bool | operator!= (This o) const |
| bool | operator< (This o) const |
| bool | operator> (This o) const |
| bool | operator<= (This o) const |
| bool | operator>= (This o) const |
| operator bool () const | |
| std::ostream & | write (std::ostream &o) const |
Protected Attributes | |
| int | v_ |
|
||||||||||
|
Construct an index from a non-zero integer.
Definition at line 16 of file PDB_index.h. |
|
|||||||||
|
Construct an invalid index.
Definition at line 18 of file PDB_index.h. |
|
|||||||||
|
Return the integer.
Definition at line 20 of file PDB_index.h. References dsrpdb::PDB_index< Type >::v_. |