// © 2017 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html #include "unicode/utypes.h" #if !UCONFIG_NO_FORMATTING #ifndef __NUMBER_DECIMALQUANTITY_H__ #define __NUMBER_DECIMALQUANTITY_H__ #include <cstdint> #include "unicode/umachine.h" #include "standardplural.h" #include "plurrule_impl.h" #include "number_types.h" U_NAMESPACE_BEGIN namespace number { namespace impl { // Forward-declare (maybe don't want number_utils.h included here): class DecNum; /** * A class for representing a number to be processed by the decimal formatting pipeline. Includes * methods for rounding, plural rules, and decimal digit extraction. * * <p>By design, this is NOT IMMUTABLE and NOT THREAD SAFE. It is intended to be an intermediate * object holding state during a pass through the decimal formatting pipeline. * * <p>Represents numbers and digit display properties using Binary Coded Decimal (BCD). * * <p>Java has multiple implementations for testing, but C++ has only one implementation. */ class U_I18N_API DecimalQuantity : public IFixedDecimal, public UMemory { … }; } // namespace impl } // namespace number U_NAMESPACE_END #endif //__NUMBER_DECIMALQUANTITY_H__ #endif /* #if !UCONFIG_NO_FORMATTING */