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

// © 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

#include "formatted_string_builder.h"
#include "putilimp.h"
#include "unicode/ustring.h"
#include "unicode/utf16.h"
#include "unicode/unum.h" // for UNumberFormatFields literals

namespace {

// A version of uprv_memcpy that checks for length 0.
// By default, uprv_memcpy requires a length of at least 1.
inline void uprv_memcpy2(void* dest, const void* src, size_t len) {}

// A version of uprv_memmove that checks for length 0.
// By default, uprv_memmove requires a length of at least 1.
inline void uprv_memmove2(void* dest, const void* src, size_t len) {}

} // namespace


U_NAMESPACE_BEGIN

FormattedStringBuilder::FormattedStringBuilder() {}

FormattedStringBuilder::~FormattedStringBuilder() {}

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

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

int32_t FormattedStringBuilder::length() const {}

int32_t FormattedStringBuilder::codePointCount() const {}

UChar32 FormattedStringBuilder::getFirstCodePoint() const {}

UChar32 FormattedStringBuilder::getLastCodePoint() const {}

UChar32 FormattedStringBuilder::codePointAt(int32_t index) const {}

UChar32 FormattedStringBuilder::codePointBefore(int32_t index) const {}

FormattedStringBuilder &FormattedStringBuilder::clear() {}

int32_t
FormattedStringBuilder::insertCodePoint(int32_t index, UChar32 codePoint, Field field, UErrorCode &status) {}

int32_t FormattedStringBuilder::insert(int32_t index, const UnicodeString &unistr, Field field,
                                    UErrorCode &status) {}

int32_t
FormattedStringBuilder::insert(int32_t index, const UnicodeString &unistr, int32_t start, int32_t end,
                            Field field, UErrorCode &status) {}

int32_t
FormattedStringBuilder::splice(int32_t startThis, int32_t endThis,  const UnicodeString &unistr,
                            int32_t startOther, int32_t endOther, Field field, UErrorCode& status) {}

int32_t FormattedStringBuilder::append(const FormattedStringBuilder &other, UErrorCode &status) {}

int32_t
FormattedStringBuilder::insert(int32_t index, const FormattedStringBuilder &other, UErrorCode &status) {}

void FormattedStringBuilder::writeTerminator(UErrorCode& status) {}

int32_t FormattedStringBuilder::prepareForInsert(int32_t index, int32_t count, UErrorCode &status) {}

int32_t FormattedStringBuilder::prepareForInsertHelper(int32_t index, int32_t count, UErrorCode &status) {}

int32_t FormattedStringBuilder::remove(int32_t index, int32_t count) {}

UnicodeString FormattedStringBuilder::toUnicodeString() const {}

const UnicodeString FormattedStringBuilder::toTempUnicodeString() const {}

UnicodeString FormattedStringBuilder::toDebugString() const {}

const char16_t *FormattedStringBuilder::chars() const {}

bool FormattedStringBuilder::contentEquals(const FormattedStringBuilder &other) const {}

bool FormattedStringBuilder::containsField(Field field) const {}

U_NAMESPACE_END

#endif /* #if !UCONFIG_NO_FORMATTING */