Boost.Nowide
Public Types | Public Member Functions | List of all members
boost::nowide::basic_fstream< CharType, Traits > Class Template Reference

Same as std::basic_fstream<char> but accepts UTF-8 strings under Windows. More...

#include <boost/nowide/fstream.hpp>

Inheritance diagram for boost::nowide::basic_fstream< CharType, Traits >:

Public Types

typedef basic_filebuf< CharType, Traits > internal_buffer_type
 
typedef std::basic_iostream< CharType, Traits > internal_stream_type
 

Public Member Functions

 basic_fstream (char const *file_name, std::ios_base::openmode mode=std::ios_base::out|std::ios_base::in)
 
 basic_fstream (std::string const &file_name, std::ios_base::openmode mode=std::ios_base::out|std::ios_base::in)
 
void open (std::string const &file_name, std::ios_base::openmode mode=std::ios_base::out|std::ios_base::out)
 
void open (char const *file_name, std::ios_base::openmode mode=std::ios_base::out|std::ios_base::out)
 
bool is_open ()
 
bool is_open () const
 
void close ()
 
internal_buffer_typerdbuf () const
 

Detailed Description

template<typename CharType, typename Traits = std::char_traits<CharType>>
class boost::nowide::basic_fstream< CharType, Traits >

Same as std::basic_fstream<char> but accepts UTF-8 strings under Windows.


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