using namespace icu::number;
using namespace icu::number::impl;
+SymbolProvider::~SymbolProvider() = default;
+
int32_t AffixUtils::estimateLength(const UnicodeString &patternString, UErrorCode &status) {
AffixPatternState state = STATE_BASE;
int32_t offset = 0;
// Exported as U_I18N_API because it is a base class for other exported types
class U_I18N_API SymbolProvider {
public:
- virtual ~SymbolProvider() = default;
+ virtual ~SymbolProvider();
// TODO: Could this be more efficient if it returned by reference?
virtual UnicodeString getSymbol(AffixPatternType type) const = 0;
} // namespace
+
+MicroPropsGenerator::~MicroPropsGenerator() = default;
+
+
NumberFormatterImpl* NumberFormatterImpl::fromMacros(const MacroProps& macros, UErrorCode& status) {
return new NumberFormatterImpl(macros, true, status);
}
} // namespace
+Modifier::~Modifier() = default;
+
+
int32_t ConstantAffixModifier::apply(NumberStringBuilder &output, int leftIndex, int rightIndex,
UErrorCode &status) const {
// Insert the suffix first since inserting the prefix will change the rightIndex
using namespace icu::number;
using namespace icu::number::impl;
+
+AffixPatternProvider::~AffixPatternProvider() = default;
+
+
MutablePatternModifier::MutablePatternModifier(bool isStrong)
: fStrong(isStrong) {}
}
+MultiplierProducer::~MultiplierProducer() = default;
+
+
digits_t roundingutils::doubleFractionLength(double input) {
char buffer[DoubleToStringConverter::kBase10MaximalLength + 1];
bool sign; // unused; always positive
static const int32_t AFFIX_NEG_PREFIX = AFFIX_PREFIX | AFFIX_NEGATIVE_SUBPATTERN;
static const int32_t AFFIX_NEG_SUFFIX = AFFIX_NEGATIVE_SUBPATTERN;
- virtual ~AffixPatternProvider() = default;
+ virtual ~AffixPatternProvider();
virtual char16_t charAt(int flags, int i) const = 0;
*/
class U_I18N_API Modifier {
public:
- virtual ~Modifier() = default;
+ virtual ~Modifier();
/**
* Apply this Modifier to the string builder.
*/
class U_I18N_API MicroPropsGenerator {
public:
- virtual ~MicroPropsGenerator() = default;
+ virtual ~MicroPropsGenerator();
/**
* Considers the given {@link DecimalQuantity}, optionally mutates it, and returns a {@link MicroProps}.
*/
class MultiplierProducer {
public:
- virtual ~MultiplierProducer() = default;
+ virtual ~MultiplierProducer();
/**
* Maps a magnitude to a multiplier in powers of ten. For example, in compact notation in English, a magnitude of 5
using namespace icu::numparse::impl;
+NumberParseMatcher::~NumberParseMatcher() = default;
+
+
NumberParserImpl*
NumberParserImpl::createSimpleParser(const Locale& locale, const UnicodeString& patternString,
parse_flags_t parseFlags, UErrorCode& status) {
// Exported as U_I18N_API for tests
class U_I18N_API NumberParseMatcher {
public:
+ virtual ~NumberParseMatcher();
+
/**
* Matchers can override this method to return true to indicate that they are optional and can be run
* repeatedly. Used by SeriesMatcher, primarily in the context of IgnorablesMatcher.