| Server IP : 20.75.53.88 / Your IP : 216.73.217.72 [ Web Server : Apache System : Linux VMRALP-3 4.4.0-256-generic #290~14.04.1-Ubuntu SMP Thu Jun 20 09:24:50 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29+esm15 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, Domains : 3 Domains MySQL : ON | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/include/x86_64-linux-gnu/unicode/ |
Upload File : |
/* ********************************************************************** * Copyright (C) 2001-2011 International Business Machines * Corporation and others. All Rights Reserved. ********************************************************************** * FILE NAME : ustream.h * * Modification History: * * Date Name Description * 06/25/2001 grhoten Move iostream from unistr.h ****************************************************************************** */ #ifndef USTREAM_H #define USTREAM_H #include "unicode/unistr.h" /** * \file * \brief C++ API: Unicode iostream like API * * At this time, this API is very limited. It contains * operator<< and operator>> for UnicodeString manipulation with the * C++ I/O stream API. */ #if U_IOSTREAM_SOURCE >= 199711 #if (__GNUC__ == 2) #include <iostream> #else #include <istream> #include <ostream> #endif U_NAMESPACE_BEGIN /** * Write the contents of a UnicodeString to a C++ ostream. This functions writes * the characters in a UnicodeString to an ostream. The UChars in the * UnicodeString are converted to the char based ostream with the default * converter. * @stable 3.0 */ U_IO_API std::ostream & U_EXPORT2 operator<<(std::ostream& stream, const UnicodeString& s); /** * Write the contents from a C++ istream to a UnicodeString. The UChars in the * UnicodeString are converted from the char based istream with the default * converter. * @stable 3.0 */ U_IO_API std::istream & U_EXPORT2 operator>>(std::istream& stream, UnicodeString& s); U_NAMESPACE_END #endif /* No operator for UChar because it can conflict with wchar_t */ #endif