mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 14:31:31 +00:00
ICU-25 Redeclarations of format/parse needed in Format hierarchy
X-SVN-Rev: 87
This commit is contained in:
parent
84ea032aba
commit
795a3b9570
1 changed files with 15 additions and 0 deletions
|
@ -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.
|
||||
* <P>
|
||||
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue