Lines Matching refs:UFormattable
31 #include "unicode/uformattable.h"
60 * <p>See UFormattable for a C wrapper.
598 * Convert the UFormattable to a Formattable. Internally, this is a reinterpret_cast.
599 * @param fmt a valid UFormattable
600 * @return the UFormattable as a Formattable object pointer. This is an alias to the original
601 * UFormattable, and so is only valid while the original argument remains in scope.
604 static inline Formattable *fromUFormattable(UFormattable *fmt);
607 * Convert the const UFormattable to a const Formattable. Internally, this is a reinterpret_cast.
608 * @param fmt a valid UFormattable
609 * @return the UFormattable as a Formattable object pointer. This is an alias to the original
610 * UFormattable, and so is only valid while the original argument remains in scope.
613 static inline const Formattable *fromUFormattable(const UFormattable *fmt);
616 * Convert this object pointer to a UFormattable.
617 * @return this object as a UFormattable pointer. This is an alias to this object,
621 inline UFormattable *toUFormattable();
624 * Convert this object pointer to a UFormattable.
625 * @return this object as a UFormattable pointer. This is an alias to this object,
629 inline const UFormattable *toUFormattable() const;
734 inline UFormattable* Formattable::toUFormattable() {
735 return reinterpret_cast<UFormattable*>(this);
738 inline const UFormattable* Formattable::toUFormattable() const {
739 return reinterpret_cast<const UFormattable*>(this);
742 inline Formattable* Formattable::fromUFormattable(UFormattable *fmt) {
746 inline const Formattable* Formattable::fromUFormattable(const UFormattable *fmt) {