ICU 4.8.1.1
4.8.1.1
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
io
unicode
ustream.h
Go to the documentation of this file.
1
/*
2
**********************************************************************
3
* Copyright (C) 2001-2011 International Business Machines
4
* Corporation and others. All Rights Reserved.
5
**********************************************************************
6
* FILE NAME : ustream.h
7
*
8
* Modification History:
9
*
10
* Date Name Description
11
* 06/25/2001 grhoten Move iostream from unistr.h
12
******************************************************************************
13
*/
14
15
#ifndef USTREAM_H
16
#define USTREAM_H
17
18
#include "
unicode/unistr.h
"
19
29
#if U_IOSTREAM_SOURCE >= 199711
30
#if (__GNUC__ == 2)
31
#include <iostream>
32
#else
33
#include <istream>
34
#include <ostream>
35
#endif
36
37
U_NAMESPACE_BEGIN
38
46
U_IO_API
std::ostream &
U_EXPORT2
operator<<(std::ostream& stream,
const
UnicodeString
& s);
47
54
U_IO_API
std::istream &
U_EXPORT2
operator>>(std::istream& stream,
UnicodeString
& s);
55
U_NAMESPACE_END
56
57
#elif U_IOSTREAM_SOURCE >= 198506
58
/* <istream.h> and <ostream.h> don't exist. */
59
#include <iostream.h>
60
61
U_NAMESPACE_BEGIN
69
U_IO_API
ostream &
U_EXPORT2
operator<<(ostream& stream,
const
UnicodeString
& s);
70
77
U_IO_API
istream &
U_EXPORT2
operator>>(istream& stream,
UnicodeString
& s);
78
U_NAMESPACE_END
79
80
#endif
81
82
/* No operator for UChar because it can conflict with wchar_t */
83
84
#endif
Generated on Thu Oct 31 2013 16:32:47 for ICU 4.8.1.1 by
1.8.4