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