LeechCraft 0.6.70-16373-g319c272718
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
LC::Util::Tokenize::Iterator Struct Reference

#include "tokenize.h"

+ Collaboration diagram for LC::Util::Tokenize::Iterator:

Public Types

using difference_type = qsizetype
 
using value_type = QStringView
 
using reference = QStringView
 
using pointer = void
 
using iterator_category = std::bidirectional_iterator_tag
 

Public Member Functions

QStringView operator* () const
 
Iteratoroperator++ ()
 
Iteratoroperator-- ()
 
bool operator== (const Iterator &other) const
 

Public Attributes

const TokenizeTok_
 
qsizetype CurStart_
 
qsizetype NextStart_
 

Detailed Description

Definition at line 20 of file tokenize.h.

Member Typedef Documentation

◆ difference_type

◆ iterator_category

using LC::Util::Tokenize::Iterator::iterator_category = std::bidirectional_iterator_tag

Definition at line 26 of file tokenize.h.

◆ pointer

◆ reference

◆ value_type

Member Function Documentation

◆ operator*()

QStringView LC::Util::Tokenize::Iterator::operator* ( ) const
inline

Definition at line 32 of file tokenize.h.

References CurStart_, NextStart_, LC::Util::Tokenize::Str_, and Tok_.

◆ operator++()

Iterator & LC::Util::Tokenize::Iterator::operator++ ( )
inline

Definition at line 39 of file tokenize.h.

References LC::Util::Tokenize::Ch_, CurStart_, NextStart_, LC::Util::Tokenize::Str_, and Tok_.

◆ operator--()

Iterator & LC::Util::Tokenize::Iterator::operator-- ( )
inline

Definition at line 52 of file tokenize.h.

References LC::Util::Tokenize::Ch_, CurStart_, NextStart_, LC::Util::Tokenize::Str_, and Tok_.

◆ operator==()

bool LC::Util::Tokenize::Iterator::operator== ( const Iterator & other) const
inline

Definition at line 69 of file tokenize.h.

References CurStart_, LC::Util::Filter(), and NextStart_.

+ Here is the call graph for this function:

Member Data Documentation

◆ CurStart_

qsizetype LC::Util::Tokenize::Iterator::CurStart_

Definition at line 29 of file tokenize.h.

Referenced by operator*(), operator++(), operator--(), and operator==().

◆ NextStart_

qsizetype LC::Util::Tokenize::Iterator::NextStart_

Definition at line 30 of file tokenize.h.

Referenced by operator*(), operator++(), operator--(), and operator==().

◆ Tok_

const Tokenize& LC::Util::Tokenize::Iterator::Tok_

Definition at line 28 of file tokenize.h.

Referenced by operator*(), operator++(), and operator--().


The documentation for this struct was generated from the following file: