Main Page | Namespace List | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | Examples

dsrpdb::PDB_index< Type > Class Template Reference

#include <PDB_index.h>

List of all members.


Detailed Description

template<class Type>
class dsrpdb::PDB_index< Type >

A class for representing indices in a pdb.

This class is here to keep such indices straight from norm 1 based C++ indices. PDB indices start at 1 and can contain gaps.

Examples:

check_protein.cc.

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_


Constructor & Destructor Documentation

template<class Type>
dsrpdb::PDB_index< Type >::PDB_index unsigned int  v  )  [inline, explicit]
 

Construct an index from a non-zero integer.

Definition at line 16 of file PDB_index.h.

template<class Type>
dsrpdb::PDB_index< Type >::PDB_index  )  [inline]
 

Construct an invalid index.

Definition at line 18 of file PDB_index.h.


Member Function Documentation

template<class Type>
dsrpdb::PDB_index< Type >::operator unsigned int  )  const [inline]
 

Return the integer.

Definition at line 20 of file PDB_index.h.

References dsrpdb::PDB_index< Type >::v_.


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