Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
T_Polypeptide_chain_representation< ParticleTraits, MolecularCovalentStructure, ConformationType >::Bond_iterator Class Reference

Iterator through all the bonds in the polypeptide chain. More...

#include <Polypeptide_chain_representation.hpp>

Public Types

typedef std::ptrdiff_t difference_type
typedef Bond value_type
typedef Bond reference
typedef Bondpointer
typedef std::forward_iterator_tag iterator_category
typedef Molecular_covalent_structure::Bonds_iterator Base_iterator

Public Member Functions

 Bond_iterator (const Bond_iterator &it)
Bond_iteratoroperator= (const Bond_iterator &it)
bool operator== (const Bond_iterator &it) const
bool operator!= (const Bond_iterator &it) const
Bond_iteratoroperator++ ()
reference operator* () const

Detailed Description

template<class ParticleTraits, class MolecularCovalentStructure = SBL::CSB::T_Molecular_covalent_structure<SBL::CSB::T_Particle_info_for_proteins<ParticleTraits> >, class ConformationType = std::vector<ESBTL::CGAL::EPIC_kernel_with_atom::FT>>
class SBL::CSB::T_Polypeptide_chain_representation< ParticleTraits, MolecularCovalentStructure, ConformationType >::Bond_iterator

Iterator through all the bonds in the polypeptide chain.

Member Typedef Documentation

◆ Base_iterator

typedef Molecular_covalent_structure::Bonds_iterator Base_iterator

◆ difference_type

typedef std::ptrdiff_t difference_type

◆ iterator_category

typedef std::forward_iterator_tag iterator_category

◆ pointer

typedef Bond* pointer

◆ reference

typedef Bond reference

◆ value_type

typedef Bond value_type

Constructor & Destructor Documentation

◆ Bond_iterator()

Bond_iterator ( const Bond_iterator it)

Member Function Documentation

◆ operator!=()

bool operator!= ( const Bond_iterator it) const

◆ operator*()

reference operator* ( ) const

◆ operator++()

Bond_iterator& operator++ ( )

◆ operator=()

Bond_iterator& operator= ( const Bond_iterator it)

◆ operator==()

bool operator== ( const Bond_iterator it) const