VideoTools
|
An iterator class for GNet::LineBuffer that extracts complete lines. More...
#include <glinebuffer.h>
Public Member Functions | |
LineBufferIterator (LineBuffer &) | |
Constructor. | |
~LineBufferIterator () | |
Destructor. | |
bool | more () |
Returns true if there is a line() to be had. | |
const std::string & | line () const |
Returns the current line. More... | |
std::string::const_iterator | begin () const |
Returns a begin iterator for the current line. More... | |
std::string::const_iterator | end () const |
Returns an end iterator for the current line. More... | |
Friends | |
class | LineBuffer |
An iterator class for GNet::LineBuffer that extracts complete lines.
Iteration and add()ing should not be mixed.
Definition at line 102 of file glinebuffer.h.
std::string::const_iterator GNet::LineBufferIterator::begin | ( | ) | const |
Returns a begin iterator for the current line.
Precondition: more()
Definition at line 211 of file glinebuffer.cpp.
std::string::const_iterator GNet::LineBufferIterator::end | ( | ) | const |
Returns an end iterator for the current line.
Precondition: more()
Definition at line 216 of file glinebuffer.cpp.
const std::string & GNet::LineBufferIterator::line | ( | ) | const |