Rosetta  2020.46
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
core::scoring::disulfides::DisulfResNeighbConstIterator Class Reference

#include <FullatomDisulfideEnergyContainer.hh>

Inheritance diagram for core::scoring::disulfides::DisulfResNeighbConstIterator:
Inheritance graph
[legend]

Public Member Functions

 DisulfResNeighbConstIterator (FullatomDisulfideEnergyContainer const *owner, Size focused_node, Size disulfide_index)
 
 DisulfResNeighbConstIterator (FullatomDisulfideEnergyContainer const *owner)
 
 ~DisulfResNeighbConstIterator () override
 
ResidueNeighborConstIteratoroperator= (ResidueNeighborConstIterator const &) override
 
ResidueNeighborConstIterator
const & 
operator++ () override
 
bool operator== (ResidueNeighborConstIterator const &) const override
 returns true if the two edge-list iterators are equal More...
 
bool operator!= (ResidueNeighborConstIterator const &) const override
 returns true if the two edge-list iterators are not equal More...
 
Size upper_neighbor_id () const override
 
Size lower_neighbor_id () const override
 
Size residue_iterated_on () const override
 
Size neighbor_id () const override
 
void retrieve_energy (EnergyMap &) const override
 overwrites the three constraint-energy positions in the emap with the three contraint energies stored on the edge pointed to by the edge iter. Does not zero out the other positions in the emap. More...
 
void accumulate_energy (EnergyMap &) const override
 accumulates the three constraint-energy positions in the emap with the three contraint energies stored on the edge pointed to by the edge iter. Does not touch the other positions in the emap. More...
 
bool energy_computed () const override
 
- Public Member Functions inherited from core::scoring::ResidueNeighborConstIterator
 ~ResidueNeighborConstIterator () override
 

Private Member Functions

DisulfResNeighbConstIteratoroperator= (DisulfResNeighbConstIterator const &)
 

Private Attributes

FullatomDisulfideEnergyContainer
const * 
owner_
 
Size focused_residue_
 
Size disulfide_index_
 

Constructor & Destructor Documentation

core::scoring::disulfides::DisulfResNeighbConstIterator::DisulfResNeighbConstIterator ( FullatomDisulfideEnergyContainer const *  owner,
Size  focused_node,
Size  disulfide_index 
)
core::scoring::disulfides::DisulfResNeighbConstIterator::DisulfResNeighbConstIterator ( FullatomDisulfideEnergyContainer const *  owner)
core::scoring::disulfides::DisulfResNeighbConstIterator::~DisulfResNeighbConstIterator ( )
overridedefault

Member Function Documentation

void core::scoring::disulfides::DisulfResNeighbConstIterator::accumulate_energy ( EnergyMap emap) const
overridevirtual

accumulates the three constraint-energy positions in the emap with the three contraint energies stored on the edge pointed to by the edge iter. Does not touch the other positions in the emap.

Implements core::scoring::ResidueNeighborConstIterator.

References core::scoring::disulfides::FullatomDisulfideEnergyContainer::accumulate_energy(), disulfide_index_, core::scoring::disulfides::FullatomDisulfideEnergyContainer::NO_DISULFIDE, and owner_.

bool core::scoring::disulfides::DisulfResNeighbConstIterator::energy_computed ( ) const
overridevirtual
Size core::scoring::disulfides::DisulfResNeighbConstIterator::lower_neighbor_id ( ) const
overridevirtual
Size core::scoring::disulfides::DisulfResNeighbConstIterator::neighbor_id ( ) const
overridevirtual
bool core::scoring::disulfides::DisulfResNeighbConstIterator::operator!= ( ResidueNeighborConstIterator const &  rhs) const
overridevirtual

returns true if the two edge-list iterators are not equal

Implements core::scoring::ResidueNeighborConstIterator.

References disulfide_index_, focused_residue_, and owner_.

ResidueNeighborConstIterator const & core::scoring::disulfides::DisulfResNeighbConstIterator::operator++ ( )
overridevirtual
DisulfResNeighbConstIterator& core::scoring::disulfides::DisulfResNeighbConstIterator::operator= ( DisulfResNeighbConstIterator const &  )
private
ResidueNeighborConstIterator & core::scoring::disulfides::DisulfResNeighbConstIterator::operator= ( ResidueNeighborConstIterator const &  rhs)
overridevirtual
bool core::scoring::disulfides::DisulfResNeighbConstIterator::operator== ( ResidueNeighborConstIterator const &  rhs) const
overridevirtual

returns true if the two edge-list iterators are equal

Implements core::scoring::ResidueNeighborConstIterator.

References disulfide_index_, focused_residue_, and owner_.

Size core::scoring::disulfides::DisulfResNeighbConstIterator::residue_iterated_on ( ) const
overridevirtual
void core::scoring::disulfides::DisulfResNeighbConstIterator::retrieve_energy ( EnergyMap emap) const
overridevirtual

overwrites the three constraint-energy positions in the emap with the three contraint energies stored on the edge pointed to by the edge iter. Does not zero out the other positions in the emap.

Implements core::scoring::ResidueNeighborConstIterator.

References disulfide_index_, core::scoring::disulfides::FullatomDisulfideEnergyContainer::NO_DISULFIDE, owner_, and core::scoring::disulfides::FullatomDisulfideEnergyContainer::retrieve_energy().

Size core::scoring::disulfides::DisulfResNeighbConstIterator::upper_neighbor_id ( ) const
overridevirtual

Member Data Documentation

Size core::scoring::disulfides::DisulfResNeighbConstIterator::disulfide_index_
private
Size core::scoring::disulfides::DisulfResNeighbConstIterator::focused_residue_
private
FullatomDisulfideEnergyContainer const* core::scoring::disulfides::DisulfResNeighbConstIterator::owner_
private

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