From 11e955554bb82f0ad27fc742a694d1839ae16eae Mon Sep 17 00:00:00 2001 From: Alan Liu Date: Thu, 21 Oct 1999 22:59:11 +0000 Subject: [PATCH] Redeclarations of format/parse needed in Format hierarchy X-Trac-URL: https://ssl.icu-project.org/trac/ticket/25 git-svn-id: http://source.icu-project.org/repos/icu/icu/trunk@87 0a8b766c-62c9-45f9-954d-7f2943c9ead0 --- source/i18n/msgfmt.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/source/i18n/msgfmt.h b/source/i18n/msgfmt.h index 5a86b615ec4..562aa97a89d 100644 --- a/source/i18n/msgfmt.h +++ b/source/i18n/msgfmt.h @@ -4,6 +4,7 @@ * COPYRIGHT: * * (C) Copyright Taligent, Inc., 1997 * * (C) Copyright International Business Machines Corporation, 1997-1999 * +* Copyright (C) 1999 Alan Liu and others. All rights reserved. * * Licensed Material - Program-Property of IBM - All Rights Reserved. * * US Government Users Restricted Rights - Use, duplication, or disclosure * * restricted by GSA ADP Schedule Contract with IBM Corp. * @@ -338,6 +339,13 @@ public: FieldPosition& pos, UErrorCode& status) const; + /** + * Redeclared Format method. + */ + UnicodeString& format(const Formattable& obj, + UnicodeString& result, + UErrorCode& status) const; + /** * Parses the string. *

@@ -554,5 +562,12 @@ MessageFormat::getDynamicClassID() const return MessageFormat::getStaticClassID(); } +inline UnicodeString& +MessageFormat::format(const Formattable& obj, + UnicodeString& result, + UErrorCode& status) const { + return Format::format(obj, result, status); +} + #endif // _MSGFMT //eof