|
Boost.Nowide
|
This is implementation of std::filebuf. More...
#include <boost/nowide/filebuf.hpp>
Public Member Functions | |
| basic_filebuf () | |
| basic_filebuf * | open (std::string const &s, std::ios_base::openmode mode) |
| basic_filebuf * | open (char const *s, std::ios_base::openmode mode) |
| basic_filebuf * | close () |
| bool | is_open () const |
Protected Member Functions | |
| virtual std::streambuf * | setbuf (char *s, std::streamsize n) |
| int | overflow (int c) |
| int | sync () |
| int | underflow () |
| int | pbackfail (int) |
| std::streampos | seekoff (std::streamoff off, std::ios_base::seekdir seekdir, std::ios_base::openmode) |
| std::streampos | seekpos (std::streampos off, std::ios_base::openmode m) |
This is implementation of std::filebuf.
it is implemented and specialized for CharType = char, it behaves implements std::filebuf over standard C I/O
| boost::nowide::basic_filebuf< char >::basic_filebuf | ( | ) | [inline] |
Creates new filebuf
| basic_filebuf* boost::nowide::basic_filebuf< char >::close | ( | ) | [inline] |
Same as std::filebuf::close()
| bool boost::nowide::basic_filebuf< char >::is_open | ( | ) | const [inline] |
Same as std::filebuf::is_open()
| basic_filebuf* boost::nowide::basic_filebuf< char >::open | ( | std::string const & | s, |
| std::ios_base::openmode | mode | ||
| ) | [inline] |
Same as std::filebuf::open but s is UTF-8 string
| basic_filebuf* boost::nowide::basic_filebuf< char >::open | ( | char const * | s, |
| std::ios_base::openmode | mode | ||
| ) | [inline] |
Same as std::filebuf::open but s is UTF-8 string
1.7.6.1