00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef USTREAM_H
00016 #define USTREAM_H
00017
00018 #include "unicode/unistr.h"
00019
00029 #if U_IOSTREAM_SOURCE >= 199711
00030 #include <iostream>
00031
00032 U_NAMESPACE_BEGIN
00033
00041 U_IO_API std::ostream & U_EXPORT2 operator<<(std::ostream& stream, const UnicodeString& s);
00042
00049 U_IO_API std::istream & U_EXPORT2 operator>>(std::istream& stream, UnicodeString& s);
00050 U_NAMESPACE_END
00051
00052 #elif U_IOSTREAM_SOURCE >= 198506
00053 #include <iostream.h>
00054
00055 U_NAMESPACE_BEGIN
00056 U_IO_API ostream & U_EXPORT2 operator<<(ostream& stream, const UnicodeString& s);
00057
00058 U_IO_API istream & U_EXPORT2 operator>>(istream& stream, UnicodeString& s);
00059 U_NAMESPACE_END
00060
00061 #endif
00062
00063
00064
00065 #endif