Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::iostreams::file_descriptor_sink Class Reference

#include <file_descriptor.hpp>

Inheritance diagram for boost::iostreams::file_descriptor_sink:
Collaboration diagram for boost::iostreams::file_descriptor_sink:

Classes

struct  category
 

Public Types

typedef int handle_type
 
typedef char char_type
 

Public Member Functions

 file_descriptor_sink ()
 
 file_descriptor_sink (handle_type fd, file_descriptor_flags)
 
 file_descriptor_sink (const std::string &path, BOOST_IOS::openmode mode=BOOST_IOS::out)
 
 file_descriptor_sink (const char *path, BOOST_IOS::openmode mode=BOOST_IOS::out)
 
template<typename Path >
 file_descriptor_sink (const Path &path, BOOST_IOS::openmode mode=BOOST_IOS::out)
 
 file_descriptor_sink (const file_descriptor_sink &other)
 
void open (handle_type fd, file_descriptor_flags)
 
void open (const std::string &path, BOOST_IOS::openmode mode=BOOST_IOS::out)
 
void open (const char *path, BOOST_IOS::openmode mode=BOOST_IOS::out)
 
template<typename Path >
void open (const Path &path, BOOST_IOS::openmode mode=BOOST_IOS::out)
 

Private Member Functions

bool is_open () const
 
void close ()
 
std::streamsize read (char_type *s, std::streamsize n)
 
std::streamsize write (const char_type *s, std::streamsize n)
 
std::streampos seek (stream_offset off, BOOST_IOS::seekdir way)
 
handle_type handle () const
 

Member Typedef Documentation

Constructor & Destructor Documentation

boost::iostreams::file_descriptor_sink::file_descriptor_sink ( )
inline
boost::iostreams::file_descriptor_sink::file_descriptor_sink ( handle_type  fd,
file_descriptor_flags   
)
boost::iostreams::file_descriptor_sink::file_descriptor_sink ( const std::string &  path,
BOOST_IOS::openmode  mode = BOOST_IOS::out 
)
explicit
boost::iostreams::file_descriptor_sink::file_descriptor_sink ( const char *  path,
BOOST_IOS::openmode  mode = BOOST_IOS::out 
)
explicit
template<typename Path >
boost::iostreams::file_descriptor_sink::file_descriptor_sink ( const Path &  path,
BOOST_IOS::openmode  mode = BOOST_IOS::out 
)
inlineexplicit
boost::iostreams::file_descriptor_sink::file_descriptor_sink ( const file_descriptor_sink other)

Member Function Documentation

void boost::iostreams::file_descriptor_sink::open ( handle_type  fd,
file_descriptor_flags   
)
void boost::iostreams::file_descriptor_sink::open ( const std::string &  path,
BOOST_IOS::openmode  mode = BOOST_IOS::out 
)
void boost::iostreams::file_descriptor_sink::open ( const char *  path,
BOOST_IOS::openmode  mode = BOOST_IOS::out 
)
template<typename Path >
void boost::iostreams::file_descriptor_sink::open ( const Path &  path,
BOOST_IOS::openmode  mode = BOOST_IOS::out 
)
inline

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