Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::iostreams::basic_file_source< Ch > Struct Template Reference

#include <file.hpp>

Inheritance diagram for boost::iostreams::basic_file_source< Ch >:
Collaboration diagram for boost::iostreams::basic_file_source< Ch >:

Classes

struct  category
 

Public Types

typedef Ch char_type
 

Public Member Functions

 basic_file_source (const std::string &path, BOOST_IOS::openmode mode=BOOST_IOS::in)
 
void open (const std::string &path, BOOST_IOS::openmode mode=BOOST_IOS::in)
 

Private Member Functions

std::streamsize read (char_type *s, std::streamsize n)
 
bool putback (char_type c)
 
std::streamsize write (const char_type *s, std::streamsize n)
 
std::streampos seek (stream_offset off, BOOST_IOS::seekdir way, BOOST_IOS::openmode which=BOOST_IOS::in|BOOST_IOS::out)
 
void open (const std::string &path, BOOST_IOS::openmode mode=BOOST_IOS::in|BOOST_IOS::out, BOOST_IOS::openmode base_mode=BOOST_IOS::in|BOOST_IOS::out)
 
bool is_open () const
 
void close ()
 
bool flush ()
 
void imbue (const std::locale &loc)
 

Member Typedef Documentation

template<typename Ch >
typedef Ch boost::iostreams::basic_file_source< Ch >::char_type

Constructor & Destructor Documentation

template<typename Ch >
boost::iostreams::basic_file_source< Ch >::basic_file_source ( const std::string &  path,
BOOST_IOS::openmode  mode = BOOST_IOS::in 
)
inline

Member Function Documentation

template<typename Ch >
void boost::iostreams::basic_file_source< Ch >::open ( const std::string &  path,
BOOST_IOS::openmode  mode = BOOST_IOS::in 
)
inline

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