#include "unicode/utypes.h"
#if !UCONFIG_NO_FORMATTING
#include "unicode/scientificnumberformatter.h"
#include "unicode/dcfmtsym.h"
#include "unicode/fpositer.h"
#include "unicode/utf16.h"
#include "unicode/uniset.h"
#include "unicode/decimfmt.h"
#include "static_unicode_sets.h"
U_NAMESPACE_BEGIN
static const char16_t kSuperscriptDigits[] = …;
static const char16_t kSuperscriptPlusSign = …;
static const char16_t kSuperscriptMinusSign = …;
static UBool copyAsSuperscript(
const UnicodeString &s,
int32_t beginIndex,
int32_t endIndex,
UnicodeString &result,
UErrorCode &status) { … }
ScientificNumberFormatter *ScientificNumberFormatter::createSuperscriptInstance(
DecimalFormat *fmtToAdopt, UErrorCode &status) { … }
ScientificNumberFormatter *ScientificNumberFormatter::createSuperscriptInstance(
const Locale &locale, UErrorCode &status) { … }
ScientificNumberFormatter *ScientificNumberFormatter::createMarkupInstance(
DecimalFormat *fmtToAdopt,
const UnicodeString &beginMarkup,
const UnicodeString &endMarkup,
UErrorCode &status) { … }
ScientificNumberFormatter *ScientificNumberFormatter::createMarkupInstance(
const Locale &locale,
const UnicodeString &beginMarkup,
const UnicodeString &endMarkup,
UErrorCode &status) { … }
ScientificNumberFormatter *ScientificNumberFormatter::createInstance(
DecimalFormat *fmtToAdopt,
Style *styleToAdopt,
UErrorCode &status) { … }
ScientificNumberFormatter::SuperscriptStyle *ScientificNumberFormatter::SuperscriptStyle::clone() const { … }
UnicodeString &ScientificNumberFormatter::SuperscriptStyle::format(
const UnicodeString &original,
FieldPositionIterator &fpi,
const UnicodeString &preExponent,
UnicodeString &appendTo,
UErrorCode &status) const { … }
ScientificNumberFormatter::MarkupStyle *ScientificNumberFormatter::MarkupStyle::clone() const { … }
UnicodeString &ScientificNumberFormatter::MarkupStyle::format(
const UnicodeString &original,
FieldPositionIterator &fpi,
const UnicodeString &preExponent,
UnicodeString &appendTo,
UErrorCode &status) const { … }
ScientificNumberFormatter::ScientificNumberFormatter(
DecimalFormat *fmtToAdopt, Style *styleToAdopt, UErrorCode &status)
: … { … }
ScientificNumberFormatter::ScientificNumberFormatter(
const ScientificNumberFormatter &other)
: … { … }
ScientificNumberFormatter::~ScientificNumberFormatter() { … }
UnicodeString &ScientificNumberFormatter::format(
const Formattable &number,
UnicodeString &appendTo,
UErrorCode &status) const { … }
void ScientificNumberFormatter::getPreExponent(
const DecimalFormatSymbols &dfs, UnicodeString &preExponent) { … }
U_NAMESPACE_END
#endif