Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Struct template basic_pipebuf

boost::process::basic_pipebuf

Synopsis

// In header: <boost/process/pipe.hpp>

template<typename CharT, typename Traits> 
struct basic_pipebuf : public  {
  // types
  typedef basic_pipe<  ;  
  typedef                        ;  
  typedef                       ;
  typedef             ;   
  typedef             ;   
  typedef             ;   

  // construct/copy/destruct
  ();
  (basic_pipebuf &) = ;
  (basic_pipebuf &&) = ;
  (pipe_type &&);
  (pipe_type &);
  basic_pipebuf & (basic_pipebuf &) = ;
  basic_pipebuf & (basic_pipebuf &&) = ;
  basic_pipebuf & (pipe_type &&);
  basic_pipebuf & (pipe_type &);
  ~();

  // public member functions
   ( = );
   ();
   ();
   (pipe_type &&);
   (pipe_type &);
  pipe_type & ();
  pipe_type & () ;
  pipe_type && ();
   () ;
  basic_pipebuf<  ();
  basic_pipebuf<  ();
  basic_pipebuf<  ();

  // private member functions
   ();

  // public data members
  static  default_buffer_size;
};

Description

Implementation of the stream buffer for a pipe.

basic_pipebuf public construct/copy/destruct

  1. ();
    Default constructor, will also construct the pipe.
  2. (basic_pipebuf &) = ;
    Copy Constructor.
  3. (basic_pipebuf &&) = ;
    Move Constructor.
  4. (pipe_type && p);
    Move construct from a pipe.
  5. (pipe_type & p);
    Construct from a pipe.
  6. basic_pipebuf & (basic_pipebuf &) = ;
    Copy assign.
  7. basic_pipebuf & (basic_pipebuf &&) = ;
    Move assign.
  8. basic_pipebuf & (pipe_type && p);
    Move assign a pipe.
  9. basic_pipebuf & (pipe_type & p);
    Copy assign a pipe.
  10. ~();
    Destructor -> writes the frest of the data.

basic_pipebuf public member functions

  1.  ( ch = );
    Writes characters to the associated output sequence from the put area.
  2.  ();
    Synchronizes the buffers with the associated character sequence.
  3.  ();
    Reads characters from the associated input sequence to the get area.
  4.  (pipe_type && p);
    Set the pipe of the streambuf.
  5.  (pipe_type & p);
    Set the pipe of the streambuf.
  6. pipe_type & ();
    Get a reference to the pipe.
  7. pipe_type & () ;
    Get a const reference to the pipe.
  8. pipe_type && ();
    Get a rvalue reference to the pipe. Qualified as rvalue.
  9.  () ;
    Check if the pipe is open.
  10. basic_pipebuf<  ();
    Open a new pipe.
  11. basic_pipebuf<  ( name);
    Open a new named pipe.
  12. basic_pipebuf<  ();
    Flush the buffer & close the pipe.

basic_pipebuf private member functions

  1.  ();

PrevUpHomeNext