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

Iterator through the atoms of the polypeptide chain backbone. More...

#include <Polypeptide_chain_representation.hpp>

Public Types

typedef std::ptrdiff_t difference_type
 
typedef Atom value_type
 
typedef Atom reference
 
typedef Atompointer
 
typedef std::forward_iterator_tag iterator_category
 

Public Member Functions

 Backbone_iterator (const Backbone_iterator &it)
 
Backbone_iteratoroperator= (const Backbone_iterator &it)
 
bool operator== (const Backbone_iterator &it) const
 
bool operator!= (const Backbone_iterator &it) const
 
Backbone_iteratoroperator++ ()
 
reference operator* () const
 

Static Public Member Functions

static Backbone_iterator make_begin (Self *P, int cc=-1)
 
static Backbone_iterator make_end (Self *P, int cc=-1)
 

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 >::Backbone_iterator

Iterator through the atoms of the polypeptide chain backbone.

Member Typedef Documentation

◆ difference_type

typedef std::ptrdiff_t difference_type

◆ iterator_category

typedef std::forward_iterator_tag iterator_category

◆ pointer

typedef Atom* pointer

◆ reference

typedef Atom reference

◆ value_type

typedef Atom value_type

Constructor & Destructor Documentation

◆ Backbone_iterator()

Backbone_iterator ( const Backbone_iterator it)
inline

Member Function Documentation

◆ make_begin()

static Backbone_iterator make_begin ( Self P,
int  cc = -1 
)
inlinestatic

◆ make_end()

static Backbone_iterator make_end ( Self P,
int  cc = -1 
)
inlinestatic

◆ operator!=()

bool operator!= ( const Backbone_iterator it) const
inline

◆ operator*()

reference operator* ( ) const
inline

◆ operator++()

Backbone_iterator& operator++ ( )
inline

◆ operator=()

Backbone_iterator& operator= ( const Backbone_iterator it)
inline

◆ operator==()

bool operator== ( const Backbone_iterator it) const
inline