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_source Class Reference

#include <file_descriptor.hpp>

Inheritance diagram for boost::iostreams::file_descriptor_source:
Collaboration diagram for boost::iostreams::file_descriptor_source:

Classes

struct  category
 

Public Types

typedef int handle_type
 
typedef char char_type
 

Public Member Functions

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

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_source::file_descriptor_source ( )
inline
boost::iostreams::file_descriptor_source::file_descriptor_source ( handle_type  fd,
file_descriptor_flags   
)
explicit
boost::iostreams::file_descriptor_source::file_descriptor_source ( const std::string &  path,
BOOST_IOS::openmode  mode = BOOST_IOS::in 
)
explicit
boost::iostreams::file_descriptor_source::file_descriptor_source ( const char *  path,
BOOST_IOS::openmode  mode = BOOST_IOS::in 
)
explicit
template<typename Path >
boost::iostreams::file_descriptor_source::file_descriptor_source ( const Path &  path,
BOOST_IOS::openmode  mode = BOOST_IOS::in 
)
inlineexplicit
boost::iostreams::file_descriptor_source::file_descriptor_source ( const file_descriptor_source other)

Member Function Documentation

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

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