FACT++  1.0
int WindowLog::overflow ( int  i)
private

This function comes from streambuf and should output the buffer to the device (flush, endl) or handle a buffer overflow (too many chars) If a real overflow happens i contains the next chars which doesn't fit into the buffer anymore.If the buffer is not really filled, i is EOF(-1).

Definition at line 261 of file WindowLog.cc.

262 {
263  *fPPtr++ = (char)i;
264 
265  if (fPPtr == fEPtr)
266  WriteBuffer();
267 
268  return 0;
269 }
int i
Definition: db_dim_client.c:21
char * fPPtr
Buffer to store the data in.
Definition: WindowLog.h:60
const char * fEPtr
Pointer to present position in buffer.
Definition: WindowLog.h:61
void WriteBuffer()
Definition: WindowLog.cc:165