Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

ustream.h

Go to the documentation of this file.
00001 /*
00002 **********************************************************************
00003 *   Copyright (C) 2001, 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 U_NAMESPACE_USE
00021 
00022 // for unistrm.h
00029 #if U_IOSTREAM_SOURCE >= 199711
00030 #include <iostream>
00031 U_USTDIO_API std::ostream &operator<<(std::ostream& stream, const UnicodeString& s);
00032 
00033 U_USTDIO_API std::istream &operator>>(std::istream& stream, UnicodeString& s);
00034 #elif U_IOSTREAM_SOURCE >= 198506
00035 #include <iostream.h>
00036 U_USTDIO_API ostream &operator<<(ostream& stream, const UnicodeString& s);
00037 
00038 U_USTDIO_API istream &operator>>(istream& stream, UnicodeString& s);
00039 #endif
00040 
00041 /* TODO: We should add the operator<< and the operator>> for UDate. */
00042 /* No operator for UChar because it can conflict with wchar_t  */
00043 
00044 #endif

Generated on Mon Nov 24 14:35:45 2003 for ICU 2.8 by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001