diff options
author | mcheshkov <mcheshkov@yandex-team.ru> | 2022-02-10 16:46:15 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:15 +0300 |
commit | e9d19cec64684c9c1e6b0c98297e5b895cf904fe (patch) | |
tree | 2768b1223e96a8a0610a93d18425d9647c1123c8 /contrib/libs/icu/include/unicode/numsys.h | |
parent | 60040c91ffe701a84689b2c6310ff845e65cff42 (diff) | |
download | ydb-e9d19cec64684c9c1e6b0c98297e5b895cf904fe.tar.gz |
Restoring authorship annotation for <mcheshkov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/icu/include/unicode/numsys.h')
-rw-r--r-- | contrib/libs/icu/include/unicode/numsys.h | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/contrib/libs/icu/include/unicode/numsys.h b/contrib/libs/icu/include/unicode/numsys.h index 7def7032e1..1eaf7a1429 100644 --- a/contrib/libs/icu/include/unicode/numsys.h +++ b/contrib/libs/icu/include/unicode/numsys.h @@ -1,4 +1,4 @@ -// © 2016 and later: Unicode, Inc. and others. +// © 2016 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html /* ******************************************************************************* @@ -20,7 +20,7 @@ #include "unicode/utypes.h" -#if U_SHOW_CPLUSPLUS_API +#if U_SHOW_CPLUSPLUS_API /** * \file @@ -34,14 +34,14 @@ U_NAMESPACE_BEGIN -// can't be #ifndef U_HIDE_INTERNAL_API; needed for char[] field size -/** - * Size of a numbering system name. - * @internal - */ -constexpr const size_t kInternalNumSysNameCapacity = 8; - +// can't be #ifndef U_HIDE_INTERNAL_API; needed for char[] field size /** + * Size of a numbering system name. + * @internal + */ +constexpr const size_t kInternalNumSysNameCapacity = 8; + +/** * Defines numbering systems. A numbering system describes the scheme by which * numbers are to be presented to the end user. In its simplest form, a numbering * system describes the set of digit characters that are to be used to display @@ -74,12 +74,12 @@ public: NumberingSystem(const NumberingSystem& other); /** - * Copy assignment. - * @stable ICU 4.2 - */ - NumberingSystem& operator=(const NumberingSystem& other) = default; - - /** + * Copy assignment. + * @stable ICU 4.2 + */ + NumberingSystem& operator=(const NumberingSystem& other) = default; + + /** * Destructor. * @stable ICU 4.2 */ @@ -112,11 +112,11 @@ public: /** * Return a StringEnumeration over all the names of numbering systems known to ICU. - * The numbering system names will be in alphabetical (invariant) order. - * - * The returned StringEnumeration is owned by the caller, who must delete it when - * finished with it. - * + * The numbering system names will be in alphabetical (invariant) order. + * + * The returned StringEnumeration is owned by the caller, who must delete it when + * finished with it. + * * @stable ICU 4.2 */ static StringEnumeration * U_EXPORT2 getAvailableNames(UErrorCode& status); @@ -129,10 +129,10 @@ public: * default, native, traditional, finance - do not identify specific numbering systems, * but rather key values that may only be used as part of a locale, which in turn * defines how they are mapped to a specific numbering system such as "latn" or "hant". - * + * * @param name The name of the numbering system. - * @param status ICU status; set to U_UNSUPPORTED_ERROR if numbering system not found. - * @return The NumberingSystem instance, or nullptr if not found. + * @param status ICU status; set to U_UNSUPPORTED_ERROR if numbering system not found. + * @return The NumberingSystem instance, or nullptr if not found. * @stable ICU 4.2 */ static NumberingSystem* U_EXPORT2 createInstanceByName(const char* name, UErrorCode& status); @@ -199,13 +199,13 @@ private: UnicodeString desc; int32_t radix; UBool algorithmic; - char name[kInternalNumSysNameCapacity+1]; + char name[kInternalNumSysNameCapacity+1]; void setRadix(int32_t radix); void setAlgorithmic(UBool algorithmic); - void setDesc(const UnicodeString &desc); + void setDesc(const UnicodeString &desc); void setName(const char* name); @@ -218,7 +218,7 @@ U_NAMESPACE_END #endif /* #if !UCONFIG_NO_FORMATTING */ -#endif /* U_SHOW_CPLUSPLUS_API */ - +#endif /* U_SHOW_CPLUSPLUS_API */ + #endif // _NUMSYS //eof |