<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>ICU 3.6: ustream.h Source File</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.4.7 --> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="classes.html"><span>Data Structures</span></a></li> <li id="current"><a href="files.html"><span>Files</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li> <form action="search.php" method="get"> <table cellspacing="0" cellpadding="0" border="0"> <tr> <td><label> <u>S</u>earch for </label></td> <td><input type="text" name="query" value="" size="20" accesskey="s"/></td> </tr> </table> </form> </li> </ul></div> <div class="tabs"> <ul> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul></div> <h1>ustream.h</h1><a href="ustream_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span> <a name="l00002"></a>00002 <span class="comment">**********************************************************************</span> <a name="l00003"></a>00003 <span class="comment">* Copyright (C) 2001-2006 International Business Machines</span> <a name="l00004"></a>00004 <span class="comment">* Corporation and others. All Rights Reserved.</span> <a name="l00005"></a>00005 <span class="comment">**********************************************************************</span> <a name="l00006"></a>00006 <span class="comment">* FILE NAME : ustream.h</span> <a name="l00007"></a>00007 <span class="comment">*</span> <a name="l00008"></a>00008 <span class="comment">* Modification History:</span> <a name="l00009"></a>00009 <span class="comment">*</span> <a name="l00010"></a>00010 <span class="comment">* Date Name Description</span> <a name="l00011"></a>00011 <span class="comment">* 06/25/2001 grhoten Move iostream from unistr.h</span> <a name="l00012"></a>00012 <span class="comment">******************************************************************************</span> <a name="l00013"></a>00013 <span class="comment">*/</span> <a name="l00014"></a>00014 <a name="l00015"></a>00015 <span class="preprocessor">#ifndef USTREAM_H</span> <a name="l00016"></a>00016 <span class="preprocessor"></span><span class="preprocessor">#define USTREAM_H</span> <a name="l00017"></a>00017 <span class="preprocessor"></span> <a name="l00018"></a>00018 <span class="preprocessor">#include "<a class="code" href="unistr_8h.html">unicode/unistr.h</a>"</span> <a name="l00019"></a>00019 <a name="l00029"></a>00029 <span class="preprocessor">#if U_IOSTREAM_SOURCE >= 199711</span> <a name="l00030"></a>00030 <span class="preprocessor"></span><span class="preprocessor">#include <iostream></span> <a name="l00031"></a>00031 <a name="l00032"></a>00032 <a class="code" href="umachine_8h.html#ec4a51c37f4e3f3d7e5c42e6e3eafa63">U_NAMESPACE_BEGIN</a> <a name="l00033"></a>00033 <a name="l00041"></a>00041 <a class="code" href="utypes_8h.html#f99ad1b5605ad920cdf4e0e366bf5a2d">U_IO_API</a> std::ostream & <a class="code" href="platform_8h.html#d665df105e679e1428e48dc5cb90a756">U_EXPORT2</a> operator<<(std::ostream& stream, <span class="keyword">const</span> <a class="code" href="classUnicodeString.html">UnicodeString</a>& s); <a name="l00042"></a>00042 <a name="l00049"></a>00049 <a class="code" href="utypes_8h.html#f99ad1b5605ad920cdf4e0e366bf5a2d">U_IO_API</a> std::istream & <a class="code" href="platform_8h.html#d665df105e679e1428e48dc5cb90a756">U_EXPORT2</a> operator>>(std::istream& stream, <a class="code" href="classUnicodeString.html">UnicodeString</a>& s); <a name="l00050"></a>00050 <a class="code" href="umachine_8h.html#951037cc9951ac3c70b527f8137f9f74">U_NAMESPACE_END</a> <a name="l00051"></a>00051 <a name="l00052"></a>00052 <span class="preprocessor">#elif U_IOSTREAM_SOURCE >= 198506</span> <a name="l00053"></a>00053 <span class="preprocessor"></span><span class="preprocessor">#include <iostream.h></span> <a name="l00054"></a>00054 <a name="l00055"></a>00055 <a class="code" href="umachine_8h.html#ec4a51c37f4e3f3d7e5c42e6e3eafa63">U_NAMESPACE_BEGIN</a> <a name="l00056"></a>00056 <a class="code" href="utypes_8h.html#f99ad1b5605ad920cdf4e0e366bf5a2d">U_IO_API</a> ostream & <a class="code" href="platform_8h.html#d665df105e679e1428e48dc5cb90a756">U_EXPORT2</a> operator<<(ostream& stream, <span class="keyword">const</span> <a class="code" href="classUnicodeString.html">UnicodeString</a>& s); <a name="l00057"></a>00057 <a name="l00058"></a>00058 <a class="code" href="utypes_8h.html#f99ad1b5605ad920cdf4e0e366bf5a2d">U_IO_API</a> istream & <a class="code" href="platform_8h.html#d665df105e679e1428e48dc5cb90a756">U_EXPORT2</a> operator>>(istream& stream, <a class="code" href="classUnicodeString.html">UnicodeString</a>& s); <a name="l00059"></a>00059 <a class="code" href="umachine_8h.html#951037cc9951ac3c70b527f8137f9f74">U_NAMESPACE_END</a> <a name="l00060"></a>00060 <a name="l00061"></a>00061 <span class="preprocessor">#endif</span> <a name="l00062"></a>00062 <span class="preprocessor"></span> <a name="l00063"></a>00063 <span class="comment">/* No operator for UChar because it can conflict with wchar_t */</span> <a name="l00064"></a>00064 <a name="l00065"></a>00065 <span class="preprocessor">#endif</span> </pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue Dec 13 17:29:51 2011 for ICU 3.6 by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address> </body> </html>