cgatools::util::FileDescriptorDevice Class Reference
List of all members.
Classes |
struct | category |
struct | impl |
Public Types |
typedef int | handle_type |
typedef char | char_type |
Public Member Functions |
| FileDescriptorDevice (handle_type fd, bool close_on_exit=false) |
| FileDescriptorDevice (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) |
| FileDescriptorDevice (const char *path, BOOST_IOS::openmode mode=BOOST_IOS::in|BOOST_IOS::out, BOOST_IOS::openmode base_mode=BOOST_IOS::in|BOOST_IOS::out) |
void | open (const std::string &path, BOOST_IOS::openmode=BOOST_IOS::in|BOOST_IOS::out, BOOST_IOS::openmode base_mode=BOOST_IOS::in|BOOST_IOS::out) |
void | open (const char *path, BOOST_IOS::openmode=BOOST_IOS::in|BOOST_IOS::out, BOOST_IOS::openmode base_mode=BOOST_IOS::in|BOOST_IOS::out) |
bool | is_open () const |
std::streamsize | read (char_type *s, std::streamsize n) |
std::streamsize | write (const char_type *s, std::streamsize n) |
std::streampos | seek (boost::iostreams::stream_offset off, BOOST_IOS::seekdir way) |
bool | fsync () |
void | close () |
handle_type | handle () const |
const std::string & | fn () const |
Friends |
struct | impl |
The documentation for this class was generated from the following file: