chromium/third_party/icu/source/i18n/number_multiplier.cpp

// © 2018 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html

#include "unicode/utypes.h"

#if !UCONFIG_NO_FORMATTING

// Allow implicit conversion from char16_t* to UnicodeString for this file:
// Helpful in toString methods and elsewhere.
#define UNISTR_FROM_STRING_EXPLICIT

#include "number_decnum.h"
#include "number_types.h"
#include "number_multiplier.h"
#include "numparse_validators.h"
#include "number_utils.h"
#include "decNumber.h"

usingnamespaceicu;
usingnamespaceicu::number;
usingnamespaceicu::number::impl;
usingnamespaceicu::numparse::impl;


Scale::Scale(int32_t magnitude, DecNum* arbitraryToAdopt)
        :{}

Scale::Scale(const Scale& other)
        :{}

Scale& Scale::operator=(const Scale& other) {}

Scale::Scale(Scale&& src) noexcept
        :{}

Scale& Scale::operator=(Scale&& src) noexcept {}

Scale::~Scale() {}


Scale Scale::none() {}

Scale Scale::powerOfTen(int32_t power) {}

Scale Scale::byDecimal(StringPiece multiplicand) {}

Scale Scale::byDouble(double multiplicand) {}

Scale Scale::byDoubleAndPowerOfTen(double multiplicand, int32_t power) {}

void Scale::applyTo(impl::DecimalQuantity& quantity) const {}

void Scale::applyReciprocalTo(impl::DecimalQuantity& quantity) const {}


void
MultiplierFormatHandler::setAndChain(const Scale& multiplier, const MicroPropsGenerator* parent) {}

void MultiplierFormatHandler::processQuantity(DecimalQuantity& quantity, MicroProps& micros,
                                              UErrorCode& status) const {}

#endif /* #if !UCONFIG_NO_FORMATTING */