Lines Matching refs:Format

13 *   07/22/98    stephen     Removed operator!= (defined in Format)
57 * <p><code>MessageFormat</code> differs from the other <code>Format</code>
75 * Format object is created, cached and used.
81 * <p>After construction, a custom Format object can be set for
97 * (or using a custom Format object if one was set).
148 * a <code>Format</code> instance for the format element. The following
149 * table shows how the values map to Format instances. Combinations not
151 * be a valid pattern string for the Format subclass used.
157 * <th>resulting Format object
318 class U_I18N_API MessageFormat : public Format {
390 * Clones this Format object polymorphically. The caller owns the
394 virtual Format* clone(void) const;
397 * Returns true if the given Format objects are semantically equal.
400 * @return true if the given Format objects are semantically equal.
403 virtual UBool operator==(const Format& other) const;
406 * Sets the locale to be used for creating argument Format objects.
413 * Gets the locale used for creating argument Format objects.
446 * Parses the pattern and caches Format objects for simple argument types.
488 * The caller should not delete the Format objects after this call.
501 virtual void adoptFormats(Format** formatsToAdopt, int32_t count);
517 virtual void setFormats(const Format** newFormats, int32_t cnt);
523 * The caller should not delete the Format object after this call.
534 virtual void adoptFormat(int32_t formatNumber, Format* formatToAdopt);
545 virtual void setFormat(int32_t formatNumber, const Format& format);
562 * The returned Format object should not be deleted by the caller,
570 virtual Format* getFormat(const UnicodeString& formatName, UErrorCode& status);
585 virtual void setFormat(const UnicodeString& formatName, const Format& format, UErrorCode& status);
595 * The caller should not delete the Format object after this call.
597 * @param formatToAdopt Format to be adopted.
601 virtual void adoptFormat(const UnicodeString& formatName, Format* formatToAdopt, UErrorCode& status);
611 * @return an array of count Format* objects, or NULL if out of
615 virtual const Format** getFormats(int32_t& count) const;
618 using Format::format;
857 * Compares two Format objects. This is used for constructing the hash
860 * @param left pointer to a Format object. Must not be NULL.
861 * @param right pointer to a Format object. Must not be NULL.
872 Format** formatAliases; // see getFormats
918 * Default Format objects used when no format is specified and a
988 void setArgStartFormat(int32_t argStart, Format* formatter, UErrorCode& status);
990 void setCustomArgStartFormat(int32_t argStart, Format* formatter, UErrorCode& status);
998 Format* createAppropriateFormat(UnicodeString& type,
1017 Format* getCachedFormatter(int32_t argumentNumber) const;
1059 class U_I18N_API DummyFormat : public Format {
1061 virtual UBool operator==(const Format&) const;
1062 virtual Format* clone() const;
1080 return Format::format(obj, appendTo, status);