Home | History | Annotate | Download | only in i18n

Lines Matching defs:MessageFormat

46 // class MessageFormat
89 // MessageFormat Type List Number, Date, Time or Choice
159 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(MessageFormat)
199 * A structure representing one subformat of this MessageFormat.
205 class MessageFormat::Subformat : public UMemory {
262 // Creates a MessageFormat instance based on the pattern.
264 MessageFormat::MessageFormat(const UnicodeString& pattern,
290 MessageFormat::MessageFormat(const UnicodeString& pattern,
317 MessageFormat::MessageFormat(const UnicodeString& pattern,
345 MessageFormat::MessageFormat(const MessageFormat& that)
364 MessageFormat::~MessageFormat()
395 UBool MessageFormat::allocateSubformats(int32_t capacity) {
426 UBool MessageFormat::allocateArgTypes(int32_t capacity) {
459 const MessageFormat&
460 MessageFormat::operator=(const MessageFormat& that)
494 MessageFormat::operator==(const Format& rhs) const
498 MessageFormat& that = (MessageFormat&)rhs;
500 // Check class ID before checking MessageFormat members
519 // Creates a copy of this MessageFormat, the caller owns the copy.
522 MessageFormat::clone() const
524 return new MessageFormat(*this);
528 // Sets the locale of this MessageFormat object to theLocale.
531 MessageFormat::setLocale(const Locale& theLocale)
544 // Gets the locale of this MessageFormat object.
547 MessageFormat::getLocale() const
556 MessageFormat::applyPattern(const UnicodeString& newPattern,
568 MessageFormat::applyPattern(const UnicodeString& pattern,
706 // Converts this MessageFormat instance to a pattern.
709 MessageFormat::toPattern(UnicodeString& appendTo) const {
858 // This MessageFormat instance owns the new formats.
861 MessageFormat::adoptFormats(Format** newFormats,
889 // This MessageFormat instance maks a copy of the new formats.
892 MessageFormat::setFormats(const Format** newFormats,
919 MessageFormat::adoptFormat(int32_t n, Format *newFormat) {
932 MessageFormat::adoptFormat(const UnicodeString& formatName,
962 MessageFormat::setFormat(int32_t n, const Format& newFormat) {
978 MessageFormat::getFormat(const UnicodeString& formatName, UErrorCode& status) {
1009 MessageFormat::setFormat(const UnicodeString& formatName,
1035 MessageFormat::getFormats(int32_t& cnt) const
1042 MessageFormat* t = (MessageFormat*) this;
1070 MessageFormat::getFormatNames(UErrorCode& status) {
1095 MessageFormat::format(const Formattable* source,
1108 // Internally creates a MessageFormat instance based on the
1113 MessageFormat::format( const UnicodeString& pattern,
1119 MessageFormat temp(pattern, success);
1131 MessageFormat::format(const Formattable& source,
1151 MessageFormat::format(const UnicodeString* argumentNames,
1161 MessageFormat::format(const Formattable* arguments,
1176 MessageFormat::format(const Formattable* arguments,
1240 // MessageFormat pattern application.
1246 MessageFormat temp(argNum, fLocale, success);
1307 MessageFormat::parse(const UnicodeString& source,
1417 MessageFormat::parse(const UnicodeString& source,
1441 MessageFormat::parseObject( const UnicodeString& source,
1452 MessageFormat::autoQuoteApostrophe(const UnicodeString& pattern, UErrorCode& status) {
1497 MessageFormat::makeFormat(int32_t formatNumber,
1676 int32_t MessageFormat::findKeyword(const UnicodeString& s,
1699 MessageFormat::copyAndFixQuotes(const UnicodeString& source,
1740 MessageFormat::createIntegerFormat(const Locale& locale, UErrorCode& status) const {
1759 const NumberFormat* MessageFormat::getDefaultNumberFormat(UErrorCode& ec) const {
1761 MessageFormat* t = (MessageFormat*) this;
1780 const DateFormat* MessageFormat::getDefaultDateFormat(UErrorCode& ec) const {
1782 MessageFormat* t = (MessageFormat*) this;
1792 MessageFormat::usesNamedArguments() const {
1797 MessageFormat::isLegalArgName(const UnicodeString& argName) const {
1810 MessageFormat::getArgTypeCount() const {