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

dsrpdb::Protein::Bonds_iterator Class Reference

#include <Protein.h>

List of all members.


Detailed Description

An iterator through the bonds of a dsrpdb::Protein.
Examples:

check_protein.cc.

Definition at line 330 of file Protein.h.

Public Types

typedef Bond value_type
typedef std::forward_iterator_tag iterator_category
typedef std::size_t difference_type
typedef const Bondreference
typedef const Bondpointer

Public Member Functions

reference operator * () const
pointer operator-> () const
Bonds_iterator operator++ ()
bool operator== (const Bonds_iterator &o) const
bool operator!= (const Bonds_iterator &o) const
 Bonds_iterator ()

Protected Member Functions

 Bonds_iterator (std::vector< Residue >::const_iterator b, std::vector< Residue >::const_iterator e)
const Bondcur_bond () const

Protected Attributes

std::vector< Residue >::const_iterator rit_
std::vector< Residue >::const_iterator rend_
Residue::Bonds_iterator ait_
Residue::Bonds_iterator aend_
bool nc_

Friends

class Protein


Member Typedef Documentation

typedef Bond dsrpdb::Protein::Bonds_iterator::value_type
 

The value_type is a dsrpdb::Protein::Bond.

Definition at line 334 of file Protein.h.


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