24 #ifndef PPL_c_streambuf_defs_hh
25 #define PPL_c_streambuf_defs_hh 1
32 :
public std::basic_streambuf<char, std::char_traits<char> > {
127 #endif // !defined(PPL_c_streambuf_defs_hh)
c_streambuf()
Constructor.
virtual int_type uflow()
In case of underflow, gets a character and advances the next pointer.
int_type next_char_buf
Buffer for next character.
virtual int sync()
Synchronizes the stream buffer.
traits_type::int_type int_type
Integer type of the streambuf.
virtual size_t cb_read(char *, size_t)
virtual ~c_streambuf()
Destructor.
virtual int_type pbackfail(int_type c=traits_type::eof())
Puts character back in case of backup underflow.
int_type unget_char_buf
Buffer for the last character read.
char char_type
Character type of the streambuf.
virtual int_type overflow(int_type c)
Writes a character in case of overflow.
virtual int_type underflow()
Gets a character in case of underflow.
virtual std::streamsize xsputn(const char_type *s, std::streamsize n)
Writes a sequence of characters.
virtual size_t cb_write(const char *, size_t)
std::char_traits< char_type > traits_type
Traits type of the streambuf.
virtual std::streamsize xsgetn(char_type *s, std::streamsize n)
Gets a sequence of characters.