#include <file_descriptor.hpp>
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 |
typedef char boost::iostreams::file_descriptor_sink::char_type |
|
inline |
boost::iostreams::file_descriptor_sink::file_descriptor_sink | ( | handle_type | fd, |
file_descriptor_flags | |||
) |
|
explicit |
|
explicit |
|
inlineexplicit |
References boost::math::concepts::mode(), and boost::geometry::open.
boost::iostreams::file_descriptor_sink::file_descriptor_sink | ( | const file_descriptor_sink & | other | ) |
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 |
||
) |
|
inline |
References boost::math::concepts::mode(), and boost::geometry::open.