Logo Search packages:      
Sourcecode: icu version File versions  Download package

UnicodeString & MessageFormat::format ( const Formattable obj,
UnicodeString appendTo,
UErrorCode status 
) const [inline]

Formats the given array of arguments into a user-readable string. The array must be stored within a single Formattable object of type kArray. If the Formattable object type is not of type kArray, then returns a failing UErrorCode.

Parameters:
obj The object to format
appendTo Output parameter to receive result. Result is appended to existing contents.
status Input/output error code. If the pattern cannot be parsed, set to failure code.
Returns:
Reference to 'appendTo' parameter. ICU 2.0

Reimplemented from Format.

Definition at line 976 of file msgfmt.h.

References Format::format().

                                                {
    return Format::format(obj, appendTo, status);
}


Generated by  Doxygen 1.6.0   Back to index