ICU-1018 Move iostream usage from unistr.[h,cpp] to ustream.[h,cpp]

X-SVN-Rev: 5089
This commit is contained in:
George Rhoten 2001-06-26 17:59:14 +00:00
parent 420b851ba4
commit 2278d96ad1
3 changed files with 3 additions and 39 deletions

View file

@ -74,7 +74,8 @@ mutex.o umutex.o putil.o udata.o uresbund.o uresdata.o rbdata.o resbund.o \
uchar.o ucmp8.o ucmp16.o ucmp32.o uvector.o uhash.o uhash_us.o \
unames.o unicode.o unistr.o ustring.o cstring.o utf_impl.o \
scsu.o ucnv.o ucnv_bld.o ucnv_cb.o ucnv_cnv.o ucnv_err.o ucnv_io.o convert.o \
ucnvlat1.o ucnvmbcs.o ucnv_utf.o ucnv2022.o ucnvhz.o ucnv_lmb.o ucnvscsu.o
ucnvlat1.o ucnvmbcs.o ucnv_utf.o ucnv2022.o ucnvhz.o ucnv_lmb.o ucnvscsu.o \
ustream.o
STATIC_OBJECTS = $(OBJECTS:.o=.$(STATIC_O))

View file

@ -1,38 +0,0 @@
/*
**********************************************************************
* Copyright (C) 1997-2001, International Business Machines
* Corporation and others. All Rights Reserved.
**********************************************************************
* FILE NAME : unistrm.h
*
* Modification History:
*
* Date Name Description
* 02/05/97 aliu Added UnicodeString streamIn and streamOut methods.
* 03/26/97 aliu Added indexOf(UChar,).
* 04/24/97 aliu Numerous changes per code review.
* 05/06/97 helena Added isBogus().
******************************************************************************
*/
#ifndef UNISTRM_H
#define UNISTRM_H
#include "filestrm.h"
#include "umemstrm.h"
#include "unicode/unistr.h"
class U_COMMON_API UnicodeStringStreamer
{
public:
static void streamIn(UnicodeString* string, FileStream* is);
static void streamOut(const UnicodeString* string, FileStream* os);
static void streamIn(UnicodeString* string, UMemoryStream* is);
static void streamOut(const UnicodeString* string, UMemoryStream* os);
};
#endif

View file

@ -8,6 +8,7 @@
#include "unicode/unistr.h"
#include "unicode/unicode.h"
#include "unicode/locid.h"
#include "unicode/ustream.h"
#if U_IOSTREAM_SOURCE >= 199711
#include <iostream>