Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
T_Phi_psi_dihedral_angles_visitor< CovalentStructure >::Iterator Class Reference

#include <Molecular_potential_energy.hpp>

Public Types

typedef CovalentStructure::Torsion_angle_rep Torsion_angle_rep
 
typedef std::ptrdiff_t difference_type
 
typedef std::pair< Torsion_angle_rep, Torsion_angle_repvalue_type
 
typedef std::pair< Torsion_angle_rep, Torsion_angle_repreference
 
typedef std::pair< Torsion_angle_rep, Torsion_angle_rep > * pointer
 
typedef std::forward_iterator_tag iterator_category
 
typedef CovalentStructure::Dihedral_angles_iterator Dihedral_angles_iterator
 
typedef CovalentStructure::Incident_bonds_iterator Incident_bonds_iterator
 

Public Member Functions

 Iterator (const Iterator &it)
 
 Iterator (const CovalentStructure *C, const Dihedral_angles_iterator &torsion_it, const Dihedral_angles_iterator &tend_it)
 
Iteratoroperator= (const Iterator &it)
 
bool operator== (const Iterator &it) const
 
bool operator!= (const Iterator &it) const
 
Iteratoroperator++ ()
 
reference operator* () const
 

Static Public Member Functions

static Iterator make_begin (const CovalentStructure &C)
 
static Iterator make_end (const CovalentStructure &C)
 

Member Typedef Documentation

◆ difference_type

typedef std::ptrdiff_t difference_type

◆ Dihedral_angles_iterator

typedef CovalentStructure::Dihedral_angles_iterator Dihedral_angles_iterator

◆ Incident_bonds_iterator

typedef CovalentStructure::Incident_bonds_iterator Incident_bonds_iterator

◆ iterator_category

typedef std::forward_iterator_tag iterator_category

◆ pointer

◆ reference

◆ Torsion_angle_rep

typedef CovalentStructure::Torsion_angle_rep Torsion_angle_rep

◆ value_type

Constructor & Destructor Documentation

◆ Iterator() [1/2]

Iterator ( const Iterator it)
inline

◆ Iterator() [2/2]

Iterator ( const CovalentStructure *  C,
const Dihedral_angles_iterator torsion_it,
const Dihedral_angles_iterator tend_it 
)
inline

Member Function Documentation

◆ make_begin()

static Iterator make_begin ( const CovalentStructure &  C)
inlinestatic

◆ make_end()

static Iterator make_end ( const CovalentStructure &  C)
inlinestatic

◆ operator!=()

bool operator!= ( const Iterator it) const
inline

◆ operator*()

reference operator* ( ) const
inline

◆ operator++()

Iterator& operator++ ( )
inline

◆ operator=()

Iterator& operator= ( const Iterator it)
inline

◆ operator==()

bool operator== ( const Iterator it) const
inline