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< Ch > Class Template Reference

#include <file.hpp>

Inheritance diagram for boost::iostreams::basic_file< Ch >:

Classes

struct  category
 

Public Types

typedef Ch char_type
 

Public Member Functions

 basic_file (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)
 
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< Ch >::char_type

Constructor & Destructor Documentation

template<typename Ch >
boost::iostreams::basic_file< Ch >::basic_file ( 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 
)

Member Function Documentation

template<typename Ch >
void boost::iostreams::basic_file< Ch >::close ( )
template<typename Ch >
bool boost::iostreams::basic_file< Ch >::flush ( )
template<typename Ch >
void boost::iostreams::basic_file< Ch >::imbue ( const std::locale &  loc)
inline
template<typename Ch >
bool boost::iostreams::basic_file< Ch >::is_open ( ) const
template<typename Ch >
void boost::iostreams::basic_file< Ch >::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 
)
template<typename Ch >
bool boost::iostreams::basic_file< Ch >::putback ( char_type  c)
inline
template<typename Ch >
std::streamsize boost::iostreams::basic_file< Ch >::read ( char_type s,
std::streamsize  n 
)
inline
template<typename Ch >
std::streampos boost::iostreams::basic_file< Ch >::seek ( stream_offset  off,
BOOST_IOS::seekdir  way,
BOOST_IOS::openmode  which = BOOST_IOS::in | BOOST_IOS::out 
)
template<typename Ch >
std::streamsize boost::iostreams::basic_file< Ch >::write ( const char_type s,
std::streamsize  n 
)
inline

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