#include <Buffer.h>
|
| CBuffer (unsigned int uLineCount=100) |
|
| ~CBuffer () |
|
size_type | AddLine (const CString &sFormat, const CString &sText="", const timeval *ts=0) |
|
size_type | UpdateLine (const CString &sMatch, const CString &sFormat, const CString &sText="") |
| Same as AddLine, but replaces a line whose format string starts with sMatch if there is one. More...
|
|
size_type | UpdateExactLine (const CString &sFormat, const CString &sText="") |
| Same as UpdateLine, but does nothing if this exact line already exists. More...
|
|
const CBufLine & | GetBufLine (unsigned int uIdx) const |
|
CString | GetLine (size_type uIdx, const CClient &Client, const MCString &msParams=MCString::EmptyMap) const |
|
size_type | Size () const |
|
bool | IsEmpty () const |
|
void | Clear () |
|
bool | SetLineCount (unsigned int u, bool bForce=false) |
|
unsigned int | GetLineCount () const |
|
CBuffer::CBuffer |
( |
unsigned int |
uLineCount = 100 | ) |
|
size_type CBuffer::AddLine |
( |
const CString & |
sFormat, |
|
|
const CString & |
sText = "" , |
|
|
const timeval * |
ts = 0 |
|
) |
| |
const CBufLine& CBuffer::GetBufLine |
( |
unsigned int |
uIdx | ) |
const |
unsigned int CBuffer::GetLineCount |
( |
| ) |
const |
|
inline |
bool CBuffer::IsEmpty |
( |
| ) |
const |
|
inline |
bool CBuffer::SetLineCount |
( |
unsigned int |
u, |
|
|
bool |
bForce = false |
|
) |
| |
size_type CBuffer::Size |
( |
| ) |
const |
|
inline |
size_type CBuffer::UpdateExactLine |
( |
const CString & |
sFormat, |
|
|
const CString & |
sText = "" |
|
) |
| |
Same as UpdateLine, but does nothing if this exact line already exists.
We need this because "/version" sends us the 005 raws again
Referenced by CIRCNetwork::UpdateExactRawBuffer().
size_type CBuffer::UpdateLine |
( |
const CString & |
sMatch, |
|
|
const CString & |
sFormat, |
|
|
const CString & |
sText = "" |
|
) |
| |
unsigned int CBuffer::m_uLineCount |
|
protected |
The documentation for this class was generated from the following file: