E-MailRelay
Public Member Functions | List of all members
GNet::LineBufferState Class Reference

Provides information about the state of a line buffer. More...

#include <glinebuffer.h>

Public Member Functions

 LineBufferState (const LineBuffer &)
 Constructor. More...
 
bool transparent () const
 Returns LineBuffer::transparent(). More...
 
std::string eol () const
 Returns LineBuffer::eol(). More...
 
std::size_t size () const
 Returns the number of bytes currently buffered up. More...
 
bool empty () const
 Returns true iff size() is zero. More...
 
std::string head () const
 Returns the first bytes of buffered data up to a limit of sixteen bytes. More...
 
bool peekmore () const
 Returns true if another complete line is available after the current line or current expect() block. More...
 

Detailed Description

Provides information about the state of a line buffer.

Definition at line 340 of file glinebuffer.h.

Constructor & Destructor Documentation

◆ LineBufferState()

GNet::LineBufferState::LineBufferState ( const LineBuffer line_buffer)
inlineexplicit

Constructor.

Definition at line 516 of file glinebuffer.h.

Member Function Documentation

◆ empty()

bool GNet::LineBufferState::empty ( ) const
inline

Returns true iff size() is zero.

Definition at line 544 of file glinebuffer.h.

◆ eol()

std::string GNet::LineBufferState::eol ( ) const
inline

Returns LineBuffer::eol().

Definition at line 526 of file glinebuffer.h.

◆ head()

std::string GNet::LineBufferState::head ( ) const
inline

Returns the first bytes of buffered data up to a limit of sixteen bytes.

Definition at line 550 of file glinebuffer.h.

◆ peekmore()

bool GNet::LineBufferState::peekmore ( ) const
inline

Returns true if another complete line is available after the current line or current expect() block.

Definition at line 556 of file glinebuffer.h.

◆ size()

std::size_t GNet::LineBufferState::size ( ) const
inline

Returns the number of bytes currently buffered up.

Definition at line 538 of file glinebuffer.h.

◆ transparent()

bool GNet::LineBufferState::transparent ( ) const
inline

Returns LineBuffer::transparent().

Definition at line 532 of file glinebuffer.h.


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