Lines Matching refs:Formattable
41 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(Formattable) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() argument
78 static Formattable* createArrayCopy(const Formattable* array, int32_t count) { in createArrayCopy()
79 Formattable *result = new Formattable[count]; in createArrayCopy()
102 void Formattable::init() { in init()
114 Formattable::Formattable() { in Formattable() function in Formattable
121 Formattable::Formattable(UDate date, ISDATE /*isDate*/) in Formattable() function in Formattable
131 Formattable::Formattable(double value) in Formattable() function in Formattable
141 Formattable::Formattable(int32_t value) in Formattable() function in Formattable
150 Formattable::Formattable(int64_t value) in Formattable() function in Formattable
160 Formattable::Formattable(StringPiece number, UErrorCode &status) { in Formattable() function in Formattable
169 Formattable::Formattable(const UnicodeString& stringToCopy) in Formattable() function in Formattable
180 Formattable::Formattable(UnicodeString* stringToAdopt) in Formattable() function in Formattable
187 Formattable::Formattable(UObject* objectToAdopt) in Formattable() function in Formattable
196 Formattable::Formattable(const Formattable* arrayToCopy, int32_t count) in Formattable() function in Formattable
209 Formattable::Formattable(const Formattable &source) in Formattable() function in Formattable
219 Formattable&
220 Formattable::operator=(const Formattable& source) in operator =()
277 Formattable::operator==(const Formattable& that) const in operator ==()
330 Formattable::~Formattable() in ~Formattable()
337 void Formattable::dispose() in dispose()
369 Formattable *
370 Formattable::clone() const { in clone()
371 return new Formattable(*this); in clone()
376 Formattable::Type
377 Formattable::getType() const in getType()
383 Formattable::isNumeric() const { in isNumeric()
397 Formattable::getLong(UErrorCode& status) const in getLong()
404 case Formattable::kLong: in getLong()
406 case Formattable::kInt64: in getLong()
416 case Formattable::kDouble: in getLong()
426 case Formattable::kObject: in getLong()
451 Formattable::getInt64(UErrorCode& status) const in getInt64()
458 case Formattable::kLong: in getInt64()
459 case Formattable::kInt64: in getInt64()
461 case Formattable::kDouble: in getInt64()
479 case Formattable::kObject: in getInt64()
497 Formattable::getDouble(UErrorCode& status) const in getDouble()
504 case Formattable::kLong: in getDouble()
505 case Formattable::kInt64: // loses precision in getDouble()
507 case Formattable::kDouble: in getDouble()
509 case Formattable::kObject: in getDouble()
527 Formattable::getObject() const { in getObject()
535 Formattable::setDouble(double d) in setDouble()
546 Formattable::setLong(int32_t l) in setLong()
557 Formattable::setInt64(int64_t ll) in setInt64()
568 Formattable::setDate(UDate d) in setDate()
579 Formattable::setString(const UnicodeString& stringToCopy) in setString()
590 Formattable::setArray(const Formattable* array, int32_t count) in setArray()
602 Formattable::adoptString(UnicodeString* stringToAdopt) in adoptString()
613 Formattable::adoptArray(Formattable* array, int32_t count) in adoptArray()
622 Formattable::adoptObject(UObject* objectToAdopt) { in adoptObject()
630 Formattable::getString(UnicodeString& result, UErrorCode& status) const in getString()
647 Formattable::getString(UErrorCode& status) const in getString()
662 Formattable::getString(UErrorCode& status) in getString()
676 const Formattable*
677 Formattable::getArray(int32_t& count, UErrorCode& status) const in getArray()
692 Formattable::getBogus() const in getBogus()
699 StringPiece Formattable::getDecimalNumber(UErrorCode &status) { in getDecimalNumber()
715 CharString *Formattable::internalGetCharString(UErrorCode &status) { in internalGetCharString()
758 Formattable::getInternalDigitList() { in getInternalDigitList()
771 Formattable::adoptDigitList(DigitList *dl) { in adoptDigitList()
801 Formattable::setDecimalNumber(StringPiece numberString, UErrorCode &status) { in setDecimalNumber()
841 static void streamOut(ostream& stream, const Formattable& obj);
851 FormattableStreamer::streamOut(ostream& stream, const Formattable& obj)
857 case Formattable::kDate :
866 case Formattable::kDouble :
870 case Formattable::kLong :
874 case Formattable::kString:
879 case Formattable::kArray:
881 const Formattable* array;
912 UFormattable *fmt = (new Formattable())->toUFormattable(); in ufmt_open()
922 Formattable *obj = Formattable::fromUFormattable(fmt); in ufmt_close()
932 const Formattable *obj = Formattable::fromUFormattable(fmt); in ufmt_getType()
939 const Formattable *obj = Formattable::fromUFormattable(fmt); in ufmt_isNumeric()
945 const Formattable *obj = Formattable::fromUFormattable(fmt); in ufmt_getDate()
952 Formattable *obj = Formattable::fromUFormattable(fmt); in ufmt_getDouble()
959 Formattable *obj = Formattable::fromUFormattable(fmt); in ufmt_getLong()
967 const Formattable *obj = Formattable::fromUFormattable(fmt); in ufmt_getObject()
971 (obj->getType() != Formattable::kObject) && in ufmt_getObject()
980 Formattable *obj = Formattable::fromUFormattable(fmt); in ufmt_getUChars()
983 if( obj->getType() != Formattable::kString ) { in ufmt_getUChars()
1000 const Formattable *obj = Formattable::fromUFormattable(fmt); in ufmt_getArrayLength()
1009 Formattable *obj = Formattable::fromUFormattable(fmt); in ufmt_getArrayItemByIndex()
1027 Formattable *obj = Formattable::fromUFormattable(fmt); in ufmt_getDecNumChars()
1045 Formattable *obj = Formattable::fromUFormattable(fmt); in ufmt_getInt64()