Boost.Nowide
Public Member Functions | Protected Member Functions | List of all members
boost::nowide::basic_filebuf< char > Class Template Reference

This is implementation of std::filebuf. More...

#include <boost/nowide/filebuf.hpp>

Inheritance diagram for boost::nowide::basic_filebuf< char >:

Public Member Functions

 basic_filebuf ()
 
basic_filebufopen (std::string const &s, std::ios_base::openmode mode)
 
basic_filebufopen (char const *s, std::ios_base::openmode mode)
 
basic_filebufclose ()
 
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)
 

Detailed Description

template<>
class boost::nowide::basic_filebuf< char >

This is implementation of std::filebuf.

it is implemented and specialized for CharType = char, it behaves implements std::filebuf over standard C I/O

Constructor & Destructor Documentation

Creates new filebuf

Member Function Documentation

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


The documentation for this class was generated from the following file: