| Fail2abuseipdb
    A simple application for converting fail2ban's jail output to an abuseipdb-compatible CSV | 
Simple implementation of an iterator usable in a iterative for-loop. More...
#include <string_splitter.hpp>

| Public Member Functions | |
| Iterator () | |
| Constructs an empty iterator which indicates the end of an iterator.  More... | |
| Iterator (const string &input, const string &delimiter) | |
| Constructs a new instance of this iterator.  More... | |
| string_view | operator* () | 
| Dereference operator overload.  More... | |
| Iterator & | operator++ () | 
| Increments the iterator's position by 1.  More... | |
| bool | operator!= (const Iterator &other) | 
| Not-equal operator overload. Determines whether two.  More... | |
| Private Attributes | |
| size_t | m_tokenStart = 0 | 
| size_t | m_tokenEnd = 0 | 
| string | m_input | 
| string_view | m_inputView | 
| string | m_delimiter | 
| bool | m_done = false | 
Simple implementation of an iterator usable in a iterative for-loop.
Definition at line 27 of file string_splitter.hpp.
| 
 | inline | 
Constructs an empty iterator which indicates the end of an iterator.
Definition at line 40 of file string_splitter.hpp.
References m_done.
Referenced by StringSplit::end().
| 
 | inline | 
Constructs a new instance of this iterator.
| input | The input string. | 
| delimiter | The delimiter to split the string by. | 
Definition at line 48 of file string_splitter.hpp.
References Iterator(), m_delimiter, and m_input.
Referenced by Iterator().
| 
 | inline | 
Not-equal operator overload. Determines whether two.
| other | A const reference to a different | 
Definition at line 86 of file string_splitter.hpp.
References m_done.
| 
 | inline | 
Dereference operator overload.
Definition at line 58 of file string_splitter.hpp.
| 
 | inline | 
Increments the iterator's position by 1.
Definition at line 65 of file string_splitter.hpp.
References m_delimiter, m_done, m_tokenEnd, and m_tokenStart.
| 
 | private | 
Definition at line 33 of file string_splitter.hpp.
Referenced by Iterator(), and operator++().
| 
 | private | 
Definition at line 34 of file string_splitter.hpp.
Referenced by Iterator(), operator!=(), and operator++().
| 
 | private | 
Definition at line 31 of file string_splitter.hpp.
Referenced by Iterator().
| 
 | private | 
Definition at line 32 of file string_splitter.hpp.
| 
 | private | 
Definition at line 30 of file string_splitter.hpp.
Referenced by operator++().
| 
 | private | 
Definition at line 29 of file string_splitter.hpp.
Referenced by operator++().