#include <split.h>
Public Types | |
typedef std::input_iterator_tag | iterator_category |
typedef const std::string * | pointer |
typedef const std::string & | reference |
typedef iterator | self_type |
typedef const std::string | value_type |
Public Member Functions | |
iterator () | |
iterator (istream &is, const char delim= '\n') | |
bool | operator!= (const iterator &it) const |
const std::string & | operator* () const |
iterator & | operator++ () |
const std::string * | operator-> () const |
bool | operator== (const iterator &it) const |
Private Member Functions | |
void | next () |
Private Attributes | |
char | _delim = '\0' |
istream * | _istream_ptr = nullptr |
std::string | _line |
typedef std::input_iterator_tag utl::split< istream >::iterator::iterator_category |
typedef const std::string* utl::split< istream >::iterator::pointer |
typedef const std::string& utl::split< istream >::iterator::reference |
typedef iterator utl::split< istream >::iterator::self_type |
typedef const std::string utl::split< istream >::iterator::value_type |
|
inline |
|
inline |
Definition at line 28 of file split.h.
References utl::split< istream >::iterator::next().
|
inlineprivate |
Definition at line 47 of file split.h.
References utl::split< istream >::iterator::_delim, utl::split< istream >::iterator::_istream_ptr, and utl::split< istream >::iterator::_line.
Referenced by utl::split< istream >::iterator::iterator(), and utl::split< istream >::iterator::operator++().
|
inline |
Definition at line 43 of file split.h.
References utl::split< istream >::iterator::operator==().
|
inline |
Definition at line 30 of file split.h.
References utl::split< istream >::iterator::_line.
Referenced by utl::split< istream >::iterator::operator->().
|
inline |
Definition at line 29 of file split.h.
References utl::split< istream >::iterator::next().
|
inline |
Definition at line 31 of file split.h.
References utl::split< istream >::iterator::operator*().
|
inline |
Definition at line 34 of file split.h.
References utl::split< istream >::iterator::_delim, utl::split< istream >::iterator::_istream_ptr, and utl::split< istream >::iterator::_line.
Referenced by utl::split< istream >::iterator::operator!=().
|
private |
Definition at line 59 of file split.h.
Referenced by utl::split< istream >::iterator::next(), and utl::split< istream >::iterator::operator==().
|
private |
Definition at line 58 of file split.h.
Referenced by utl::split< istream >::iterator::next(), and utl::split< istream >::iterator::operator==().
|
private |
Definition at line 60 of file split.h.
Referenced by utl::split< istream >::iterator::next(), utl::split< istream >::iterator::operator*(), and utl::split< istream >::iterator::operator==().