Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

LineStreamBuf Class Reference

#include <lineStreamBuf.h>

List of all members.

Public Member Functions

 LineStreamBuf ()
virtual ~LineStreamBuf ()
INLINE bool is_text_available () const
string get_line ()
INLINE bool has_newline () const

Protected Member Functions

virtual int overflow (int c)
virtual int sync ()

Private Member Functions

INLINE void write_chars (const char *start, int length)

Private Attributes

string _data
bool _has_newline


Constructor & Destructor Documentation

LineStreamBuf::LineStreamBuf  ) 
 

Definition at line 32 of file lineStreamBuf.cxx.

References _has_newline.

LineStreamBuf::~LineStreamBuf  )  [virtual]
 

Definition at line 49 of file lineStreamBuf.cxx.

References sync().


Member Function Documentation

string LineStreamBuf::get_line  ) 
 

Definition at line 62 of file lineStreamBuf.cxx.

References _data, and _has_newline.

INLINE bool LineStreamBuf::has_newline  )  const
 

INLINE bool LineStreamBuf::is_text_available  )  const
 

int LineStreamBuf::overflow int  c  )  [protected, virtual]
 

Definition at line 102 of file lineStreamBuf.cxx.

References c, n, streamsize, sync(), and write_chars().

int LineStreamBuf::sync  )  [protected, virtual]
 

Definition at line 88 of file lineStreamBuf.cxx.

References n, streamsize, and write_chars().

Referenced by overflow(), and ~LineStreamBuf().

INLINE void LineStreamBuf::write_chars const char *  start,
int  length
[private]
 

Referenced by overflow(), and sync().


Member Data Documentation

string LineStreamBuf::_data [private]
 

Definition at line 49 of file lineStreamBuf.h.

Referenced by get_line().

bool LineStreamBuf::_has_newline [private]
 

Definition at line 50 of file lineStreamBuf.h.

Referenced by get_line(), and LineStreamBuf().


The documentation for this class was generated from the following files:
Generated on Fri Apr 18 00:12:41 2003 for Panda by doxygen1.3