Lines Matching refs:Formattable
64 class U_I18N_API Formattable : public UObject {
81 Formattable(); // Type kLong, value 0
89 Formattable(UDate d, ISDATE flag);
96 Formattable(double d);
103 Formattable(int32_t l);
110 Formattable(int64_t ll);
119 Formattable(const char* strToCopy);
135 Formattable(StringPiece number, UErrorCode &status);
142 Formattable(const UnicodeString& strToCopy);
149 Formattable(UnicodeString* strToAdopt);
157 Formattable(const Formattable* arrayToCopy, int32_t count);
164 Formattable(UObject* objectToAdopt);
170 Formattable(const Formattable&);
177 Formattable& operator=(const Formattable &rhs);
185 UBool operator==(const Formattable &other) const;
193 UBool operator!=(const Formattable& other) const
200 virtual ~Formattable();
213 Formattable *clone() const;
443 const Formattable* getArray(int32_t& count) const in getArray()
455 const Formattable* getArray(int32_t& count, UErrorCode& status) const;
465 Formattable& operator[](int32_t index) { return fValue.fArrayAndCount.fArray[index]; }
542 void setArray(const Formattable* array, int32_t count);
557 void adoptArray(Formattable* array, int32_t count);
606 static inline Formattable *fromUFormattable(UFormattable *fmt);
615 static inline const Formattable *fromUFormattable(const UFormattable *fmt);
699 Formattable* fArray;
712 inline UDate Formattable::getDate(UErrorCode& status) const { in getDate()
722 inline const UnicodeString& Formattable::getString(void) const { in getString()
726 inline UnicodeString& Formattable::getString(void) { in getString()
731 inline int32_t Formattable::getLong(UErrorCode* status) const { in getLong()
736 inline UFormattable* Formattable::toUFormattable() { in toUFormattable()
740 inline const UFormattable* Formattable::toUFormattable() const { in toUFormattable()
744 inline Formattable* Formattable::fromUFormattable(UFormattable *fmt) { in fromUFormattable()
745 return reinterpret_cast<Formattable *>(fmt); in fromUFormattable()
748 inline const Formattable* Formattable::fromUFormattable(const UFormattable *fmt) { in fromUFormattable()
749 return reinterpret_cast<const Formattable *>(fmt); in fromUFormattable()