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

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

#include <boost/nowide/fstream.hpp>

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

Public Types

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

Public Member Functions

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

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


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