1#ifndef PSCF_EDGE_ITERATOR_H
2#define PSCF_EDGE_ITERATOR_H
11#include <pscf/chem/PolymerSpecies.h>
61 void begin(
int sourceId,
int targetId);
107 int currentDirectionId_;
110 int currentVertexId_;
int currentVertexId() const
Get index of the current vertex.
int currentEdgeId() const
Get index of the current edge.
~EdgeIterator()
Destructor.
EdgeIterator(PolymerSpecies const &polymer)
Constructor.
int currentDirectionId() const
Get direction index for the path within the current edge.
bool notEnd() const
Return true iff currentId != targetId.
void begin(int sourceId, int targetId)
Initialize iterator.
EdgeIterator & operator++()
Increment operator - move to next vertex.
bool isEnd() const
Return true iff currentId == targetId.
Descriptor for a linear or acyclic branched block polymer.
PSCF package top-level namespace.