libzeep

PrevUpHomeNext

Class char_streambuf

zeep::char_streambuf — A simple class to use const char buffers as streambuf.

Synopsis

// In header: <zeep/streambuf.hpp>


class char_streambuf : public  {
public:
  // construct/copy/destruct
  (, );
  ();
  (char_streambuf &) = ;
  char_streambuf & (char_streambuf &) = ;

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

Description

It is very often useful to have a streambuf class that can wrap wrap around a const char* pointer.

char_streambuf public construct/copy/destruct

  1. ( buffer,  length);
    constructor taking a buffer and a length
  2. ( buffer);
    constructor taking a buffer using the standard strlen to determine the length
  3. (char_streambuf &) = ;
  4. char_streambuf & (char_streambuf &) = ;

char_streambuf private member functions

  1.  ();
  2.  ();
  3.  ( ch);
  4.  ();
  5.  ( off,  dir, 
                     );
  6.  ( pos, );

PrevUpHomeNext