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

#include <mapped_file.hpp>

Inheritance diagram for boost::iostreams::mapped_file_sink:
Collaboration diagram for boost::iostreams::mapped_file_sink:

Classes

struct  category
 

Public Types

typedef char char_type
 
typedef
mapped_file_source::size_type 
size_type
 
typedef char * iterator
 

Public Member Functions

 mapped_file_sink ()
 
template<typename Path >
 mapped_file_sink (const basic_mapped_file_params< Path > &p)
 
template<typename Path >
 mapped_file_sink (const Path &path, size_type length=max_length, boost::intmax_t offset=0, mapmode flags=readwrite)
 
 mapped_file_sink (const mapped_file_sink &other)
 
template<typename Path >
void open (const basic_mapped_file_params< Path > &p)
 
template<typename Path >
void open (const Path &path, size_type length=max_length, boost::intmax_t offset=0, mapmode flags=readwrite)
 

Private Types

typedef const char * const_iterator
 
enum  mapmode {
  readonly = 1,
  readwrite = 2,
  priv = 4
}
 

Private Member Functions

 BOOST_STATIC_CONSTANT (size_type, max_length=delegate_type::max_length)
 
 operator mapped_file_source & ()
 
 operator const mapped_file_source & () const
 
template<typename Path >
void open (const Path &path, mapmode mode, size_type length=max_length, stream_offset offset=0)
 
template<typename Path >
void open (const Path &path, BOOST_IOS::openmode mode=BOOST_IOS::in|BOOST_IOS::out, size_type length=max_length, stream_offset offset=0)
 
bool is_open () const
 
void close ()
 
 operator safe_bool () const
 
bool operator! () const
 
mapmode flags () const
 
size_type size () const
 
char * data () const
 
const char * const_data () const
 
iterator begin () const
 
const_iterator const_begin () const
 
iterator end () const
 
const_iterator const_end () const
 
void resize (stream_offset new_size)
 

Static Private Member Functions

static int alignment ()
 

Friends

struct boost::iostreams::operations< mapped_file_sink >
 

Member Typedef Documentation

Constructor & Destructor Documentation

boost::iostreams::mapped_file_sink::mapped_file_sink ( )
inline
template<typename Path >
boost::iostreams::mapped_file_sink::mapped_file_sink ( const basic_mapped_file_params< Path > &  p)
explicit

References open().

template<typename Path >
boost::iostreams::mapped_file_sink::mapped_file_sink ( const Path &  path,
size_type  length = max_length,
boost::intmax_t  offset = 0,
mapmode  flags = readwrite 
)
explicit

References open().

boost::iostreams::mapped_file_sink::mapped_file_sink ( const mapped_file_sink other)

Member Function Documentation

Friends And Related Function Documentation


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