Boost.Nowide
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 >:
boost::nowide::detail::fstream_impl< CharType, Traits, detail::StreamTypeInOut > boost::nowide::detail::buf_holder< basic_filebuf< CharType, Traits > >

Public Member Functions

 basic_fstream (const char *file_name, std::ios_base::openmode mode=std::ios_base::in|std::ios_base::out)
 
 basic_fstream (const std::string &file_name, std::ios_base::openmode mode=std::ios_base::in|std::ios_base::out)
 
template<typename Path >
 basic_fstream (const Path &file_name, typename detail::enable_if_path< Path, std::ios_base::openmode >::type mode=std::ios_base::in|std::ios_base::out)
 

Additional Inherited Members

- Protected Member Functions inherited from boost::nowide::detail::fstream_impl< CharType, Traits, detail::StreamTypeInOut >
void open (const std::string &file_name, std::ios_base::openmode mode=detail::StreamTypeInOut ::mode())
 
detail::enable_if_path< Path, void >::type open (const Path &file_name, std::ios_base::openmode mode=detail::StreamTypeInOut ::mode())
 
void open (const char *file_name, std::ios_base::openmode mode=detail::StreamTypeInOut ::mode())
 
bool is_open ()
 
bool is_open () const
 
void close ()
 
internal_buffer_typerdbuf () const
 
- Protected Attributes inherited from boost::nowide::detail::fstream_impl< CharType, Traits, detail::StreamTypeInOut >
buf_
 

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: