Main Page | Class Hierarchy | Alphabetical List | Data Structures | File List | Data Fields | Globals

ustream.h

00001 /*
00002 **********************************************************************
00003 *   Copyright (C) 2001-2004, International Business Machines
00004 *   Corporation and others.  All Rights Reserved.
00005 **********************************************************************
00006 *  FILE NAME : ustream.h
00007 *
00008 *   Modification History:
00009 *
00010 *   Date        Name        Description
00011 *   06/25/2001  grhoten     Move iostream from unistr.h
00012 ******************************************************************************
00013 */
00014    
00015 #ifndef USTREAM_H
00016 #define USTREAM_H
00017 
00018 #include "unicode/unistr.h"
00019 
00020 
00027 #if U_IOSTREAM_SOURCE >= 199711
00028 #include <iostream>
00029 
00030 U_NAMESPACE_BEGIN
00031 U_IO_API std::ostream & U_EXPORT2 operator<<(std::ostream& stream, const UnicodeString& s);
00032 
00033 U_IO_API std::istream & U_EXPORT2 operator>>(std::istream& stream, UnicodeString& s);
00034 U_NAMESPACE_END
00035 
00036 #elif U_IOSTREAM_SOURCE >= 198506
00037 #include <iostream.h>
00038 
00039 U_NAMESPACE_BEGIN
00040 U_IO_API ostream & U_EXPORT2 operator<<(ostream& stream, const UnicodeString& s);
00041 
00042 U_IO_API istream & U_EXPORT2 operator>>(istream& stream, UnicodeString& s);
00043 U_NAMESPACE_END
00044 
00045 #endif
00046 
00047 /* No operator for UChar because it can conflict with wchar_t  */
00048 
00049 #endif

Generated on Tue Jul 26 00:40:02 2005 for ICU 3.2 by  doxygen 1.3.9.1