1999-08-16 21:50:52 +00:00
|
|
|
/*
|
1999-12-09 23:27:55 +00:00
|
|
|
**********************************************************************
|
2001-03-21 20:44:20 +00:00
|
|
|
* Copyright (C) 1997-2001, International Business Machines
|
1999-12-09 23:27:55 +00:00
|
|
|
* Corporation and others. All Rights Reserved.
|
|
|
|
**********************************************************************
|
1999-08-16 21:50:52 +00:00
|
|
|
* 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().
|
2001-03-21 20:44:20 +00:00
|
|
|
******************************************************************************
|
1999-08-16 21:50:52 +00:00
|
|
|
*/
|
|
|
|
#ifndef UNISTRM_H
|
|
|
|
#define UNISTRM_H
|
|
|
|
|
|
|
|
#include "filestrm.h"
|
2000-05-22 19:50:23 +00:00
|
|
|
#include "umemstrm.h"
|
1999-12-28 23:39:02 +00:00
|
|
|
#include "unicode/unistr.h"
|
1999-08-16 21:50:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
class U_COMMON_API UnicodeStringStreamer
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
static void streamIn(UnicodeString* string, FileStream* is);
|
|
|
|
static void streamOut(const UnicodeString* string, FileStream* os);
|
2000-05-22 19:50:23 +00:00
|
|
|
static void streamIn(UnicodeString* string, UMemoryStream* is);
|
|
|
|
static void streamOut(const UnicodeString* string, UMemoryStream* os);
|
1999-08-16 21:50:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|