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

Iterator through all the atoms of an input residue. 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
 
typedef Residue::Atoms_iterator Base_iterator
 

Public Member Functions

 Residue_atoms_iterator (const Residue_atoms_iterator &it)
 
Residue_atoms_iteratoroperator= (const Residue_atoms_iterator &it)
 
bool operator== (const Residue_atoms_iterator &it) const
 
bool operator!= (const Residue_atoms_iterator &it) const
 
Residue_atoms_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 >::Residue_atoms_iterator

Iterator through all the atoms of an input residue.

Member Typedef Documentation

◆ Base_iterator

typedef Residue::Atoms_iterator Base_iterator

◆ 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

◆ Residue_atoms_iterator()

Member Function Documentation

◆ operator!=()

bool operator!= ( const Residue_atoms_iterator it) const
inline

◆ operator*()

reference operator* ( ) const
inline

◆ operator++()

Residue_atoms_iterator& operator++ ( )
inline

◆ operator=()

Residue_atoms_iterator& operator= ( const Residue_atoms_iterator it)
inline

◆ operator==()

bool operator== ( const Residue_atoms_iterator it) const
inline