Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Class template basic_bufferbuf

boost::interprocess::basic_bufferbuf

Synopsis

// In header: <boost/interprocess/streams/bufferstream.hpp>

template<typename CharT, typename CharTraits> 
class basic_bufferbuf : public  {
public:
  // types
  typedef                                           ;        
  typedef                            ;         
  typedef                            ;         
  typedef                            ;         
  typedef                                      ;      
  typedef  ;

  // construct/copy/destruct
  ( = );
  (, ,  = );
  ~();

  // public member functions
   () ;
   (, );
};

Description

A streambuf class that controls the transmission of elements to and from a basic_xbufferstream. The elements are transmitted from a to a fixed size buffer

basic_bufferbuf public construct/copy/destruct

  1. ( mode = );

    Constructor. Does not throw.

  2. ( buf,  length, 
                              mode = );

    Constructor. Assigns formatting buffer. Does not throw.

  3. ~();

basic_bufferbuf public member functions

  1.  () ;

    Returns the pointer and size of the internal buffer. Does not throw.

  2.  ( buf,  length);

    Sets the underlying buffer to a new value Does not throw.


PrevUpHomeNext