Iterate over the legs of a chain.
More...
#include <ChainNameParser.h>
Iterate over the legs of a chain.
Definition at line 34 of file ChainNameParser.h.
◆ difference_type
◆ iterator_category
◆ pointer
◆ reference
◆ value_type
◆ LegInfoIterator() [1/2]
ChainNameParser::LegInfoIterator::LegInfoIterator |
( |
| ) |
|
|
default |
Default constructor creates a past-the-end iterator.
◆ LegInfoIterator() [2/2]
ChainNameParser::LegInfoIterator::LegInfoIterator |
( |
const std::string & |
chain | ) |
|
Create an iterator from the beginning of a chain name.
- Parameters
-
Definition at line 76 of file ChainNameParser.cxx.
◆ advance()
bool ChainNameParser::LegInfoIterator::advance |
( |
| ) |
|
|
private |
◆ exhausted()
bool ChainNameParser::LegInfoIterator::exhausted |
( |
| ) |
const |
Whether the iterator is exhausted.
Definition at line 138 of file ChainNameParser.cxx.
140 return m_itr == std::string::const_iterator();
◆ operator!=()
◆ operator*()
Dereference the iterator.
Dereferencing a past-the-end iterator returns an invalid LegInfo object
Definition at line 96 of file ChainNameParser.cxx.
◆ operator++() [1/2]
pre-increment operator
Definition at line 106 of file ChainNameParser.cxx.
112 m_itr = std::string::const_iterator();
113 m_end = std::string::const_iterator();
◆ operator++() [2/2]
◆ operator->()
◆ operator==()
◆ m_current
LegInfo ChainNameParser::LegInfoIterator::m_current |
|
private |
◆ m_end
std::string::const_iterator ChainNameParser::LegInfoIterator::m_end |
|
private |
◆ m_itr
std::string::const_iterator ChainNameParser::LegInfoIterator::m_itr |
|
private |
◆ m_peekMultiplicity
std::size_t ChainNameParser::LegInfoIterator::m_peekMultiplicity {0} |
|
private |
◆ m_peekSignature
std::string ChainNameParser::LegInfoIterator::m_peekSignature {""} |
|
private |
◆ m_peekThreshold
int ChainNameParser::LegInfoIterator::m_peekThreshold {-1} |
|
private |
The documentation for this class was generated from the following files: