Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Class uiostringstream

boost::ui::uiostringstream — Output string stream that collects data for UI.

Synopsis

// In header: <boost/ui/stream.hpp>


class uiostringstream {
public:
  // construct/copy/destruct
  uiostringstream();
  uiostringstream(const uistring &);

  // public member functions
  uiostringstream & 
  operator<<(boost::ui::uiostringstream &(*)(boost::ui::uiostringstream &));
  void swap(uiostringstream &);
  uistring str() const;
  void str(const uistring &);
};

Description

uiostringstream public construct/copy/destruct

  1. uiostringstream();
    Creates empty stream.
  2. uiostringstream(const uistring & value);
    Creates stream and adds value to it.

uiostringstream public member functions

  1. uiostringstream & 
    operator<<(boost::ui::uiostringstream &(*)(boost::ui::uiostringstream &) func);
    Process stream manipulator.
  2. void swap(uiostringstream & other);
    Exchanges contents of the streams.
  3. uistring str() const;
    Returns collected data as a string.
  4. void str(const uistring & value);
    Resets built-in collected data with value.

PrevUpHomeNext