ustream.h

Go to the documentation of this file.
00001 /*
00002 **********************************************************************
00003 *   Copyright (C) 2001-2011 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 
00029 #if U_IOSTREAM_SOURCE >= 199711
00030 #if (__GNUC__ == 2)
00031 #include <iostream>
00032 #else
00033 #include <istream>
00034 #include <ostream>
00035 #endif
00036 
00037 U_NAMESPACE_BEGIN
00038 
00046 U_IO_API std::ostream & U_EXPORT2 operator<<(std::ostream& stream, const UnicodeString& s);
00047 
00054 U_IO_API std::istream & U_EXPORT2 operator>>(std::istream& stream, UnicodeString& s);
00055 U_NAMESPACE_END
00056 
00057 #endif
00058 
00059 /* No operator for UChar because it can conflict with wchar_t  */
00060 
00061 #endif

Generated on 27 Oct 2013 for ICU 50.1.2 by  doxygen 1.4.7