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

UnicodeString & ChoiceFormat::format ( const Formattable obj,
UnicodeString appendTo,
FieldPosition pos,
UErrorCode status 
) const [virtual]

Format an object using this object's choices.

obj The object to be formatted.
appendTo Output parameter to receive result. Result is appended to existing contents.
pos On input: an alignment field, if desired. On output: the offsets of the alignment field.
status Output param set to success/failure code on exit.
Reference to 'appendTo' parameter. ICU 2.0

Reimplemented from NumberFormat.

Definition at line 701 of file choicfmt.cpp.

References NumberFormat::format().

    return NumberFormat::format(obj, appendTo, pos, status);

Generated by  Doxygen 1.6.0   Back to index