QRegularExpressionMatchIterator::RangeIterator Class
The RangeIterator class lets a range-based for loop walk over the matches. More…
| Header | #include <QRegularExpressionMatchIterator> |
|---|---|
| CMake | target_link_libraries(app PRIVATE Nt::Core) |
| Module | Nt Core C++ Classes |
| Nested in | QRegularExpressionMatchIterator |
List of all members, including inherited members
Public Functions
| const QRegularExpressionMatch & | operator*() const |
| RangeIterator & | operator++() |
Detailed Description
Differences from Qt
The class name is an Nt detail; Qt uses an unnamed iterator type.
Member Function Documentation
const QRegularExpressionMatch & QRegularExpressionMatchIterator::RangeIterator::operator*() const
Returns the current match.
RangeIterator & QRegularExpressionMatchIterator::RangeIterator::operator++()
Advances to the next match and returns a reference to this iterator.