Boost.UI
User Interface Boost library
|
Go to the documentation of this file.
8 #ifndef BOOST_UI_STREAM_HPP
9 #define BOOST_UI_STREAM_HPP
13 #ifdef BOOST_HAS_PRAGMA_ONCE
87 m_buffer +=
ascii(value ?
"1" :
"0");
120 #ifndef BOOST_NO_CXX11_CHAR16_T
137 #ifndef BOOST_NO_CXX11_CHAR32_T
157 std::wostringstream ss;
159 m_buffer += ss.
str();
195 #endif // BOOST_UI_STREAM_HPP
uiostringstream & operator<<(unsigned long long value)
Inserts data into stream.
Definition: stream.hpp:78
Helper class to convert string between UI and application logic only.
Definition: string.hpp:49
uiostringstream & operator<<(unsigned short value)
Inserts data into stream.
Definition: stream.hpp:48
uiostringstream & operator<<(long long value)
Inserts data into stream.
Definition: stream.hpp:73
Boost C++ libraries namespace.
Definition: window.hpp:19
std::basic_ostream< char, Traits > & operator<<(std::basic_ostream< char, Traits > &os, const uistring &str)
Writes string into the stream.
Definition: string_io.hpp:31
uiostringstream & operator<<(unsigned long value)
Inserts data into stream.
Definition: stream.hpp:68
uiostringstream & operator<<(const char16_t *value)
Inserts data into stream.
Definition: stream.hpp:126
uiostringstream & operator<<(const std::u16string &value)
Inserts data into stream.
Definition: stream.hpp:131
String class and operations.
boost::ui::uiostringstream & endl(boost::ui::uiostringstream &os)
Manipulator that inserts newline character into stream.
Definition: stream.hpp:188
uiostringstream & operator<<(const T &value)
Inserts data into stream.
Definition: stream.hpp:155
uiostringstream & operator<<(int value)
Inserts data into stream.
Definition: stream.hpp:53
void swap(uiostringstream &other)
Exchanges contents of the streams.
Definition: stream.hpp:165
uiostringstream & operator<<(const wchar_t *value)
Inserts data into stream.
Definition: stream.hpp:110
uiostringstream & operator<<(char32_t value)
Inserts data into stream.
Definition: stream.hpp:138
uiostringstream()
Creates empty stream.
Definition: stream.hpp:31
uistring ascii(const char *str)
Constructs uistring from 7-bit ASCII encoded string.
Definition: string.hpp:402
uiostringstream & operator<<(const std::wstring &value)
Inserts data into stream.
Definition: stream.hpp:115
uiostringstream & operator<<(char16_t value)
Inserts data into stream.
Definition: stream.hpp:121
uiostringstream(const uistring &value)
Creates stream and adds value to it.
Definition: stream.hpp:34
uistring str() const
Returns collected data as a string.
Definition: stream.hpp:168
uiostringstream & operator<<(char value)
Inserts data into stream.
Definition: stream.hpp:90
Output string stream that collects data for UI.
Definition: stream.hpp:27
uiostringstream & operator<<(long value)
Inserts data into stream.
Definition: stream.hpp:63
uistring to_uistring(int value)
Converts numeric value to uistring.
Standard C++ namespace.
Definition: string_io.hpp:117
uiostringstream & operator<<(const std::u32string &value)
Inserts data into stream.
Definition: stream.hpp:148
uiostringstream & operator<<(const std::string &value)
Inserts data into stream.
Definition: stream.hpp:100
void str(const uistring &value)
Resets built-in collected data with value.
Definition: stream.hpp:171
uiostringstream & operator<<(unsigned int value)
Inserts data into stream.
Definition: stream.hpp:58
void swap(boost::ui::uistring &a, boost::ui::uistring &b)
Specializes the std::swap algorithm.
Definition: string.hpp:612
uiostringstream & operator<<(const char *value)
Inserts data into stream.
Definition: stream.hpp:95
uiostringstream & operator<<(boost::ui::uiostringstream &(*func)(boost::ui::uiostringstream &))
Process stream manipulator.
Definition: stream.hpp:37
uiostringstream & operator<<(short value)
Inserts data into stream.
Definition: stream.hpp:43
uiostringstream & operator<<(bool value)
Inserts data into stream.
Definition: stream.hpp:85
uiostringstream & operator<<(const char32_t *value)
Inserts data into stream.
Definition: stream.hpp:143
uiostringstream & operator<<(wchar_t value)
Inserts data into stream.
Definition: stream.hpp:105