Fail2abuseipdb
A simple application for converting fail2ban's jail output to an abuseipdb-compatible CSV
|
Splits a string into tokens, usable in an iterator loop, based on a delimiter. More...
#include <string_splitter.hpp>
Data Structures | |
struct | Iterator |
Simple implementation of an iterator usable in a iterative for-loop. More... | |
Public Member Functions | |
StringSplit (const string &input, const string &delim) | |
Constructs a new instance of. More... | |
Iterator | begin () |
Gets the beginning of the iterator. More... | |
Iterator | end () |
Returns the end of the iterator. More... | |
Private Attributes | |
Iterator | m_iteratorBeginning |
The beginning iterator. More... | |
Splits a string into tokens, usable in an iterator loop, based on a delimiter.
Definition at line 22 of file string_splitter.hpp.
|
inline |
Constructs a new instance of.
input | The input string to be split into tokens. |
delim | The delimiter by which to split the strings. |
Definition at line 99 of file string_splitter.hpp.
|
inline |
Gets the beginning of the iterator.
Definition at line 106 of file string_splitter.hpp.
|
inline |
Returns the end of the iterator.
Definition at line 113 of file string_splitter.hpp.
References StringSplit::Iterator::Iterator().
|
private |
The beginning iterator.
Definition at line 90 of file string_splitter.hpp.