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

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

#include <boost/nowide/fstream.hpp>

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

Public Types

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

Public Member Functions

 basic_ofstream (char const *file_name, std::ios_base::openmode mode=std::ios_base::out)
 
 basic_ofstream (std::string const &file_name, std::ios_base::openmode mode=std::ios_base::out)
 
void open (std::string const &file_name, std::ios_base::openmode mode=std::ios_base::out)
 
void open (char const *file_name, std::ios_base::openmode mode=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_ofstream< CharType, Traits >

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


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