class LocaleId
Defined at line 116 of file fidling/gen/sdk/fidl/fuchsia.intl/fuchsia.intl/cpp/fidl/fuchsia.intl/cpp/natural_types.h
Typed identifier for a single Locale, which is a set of internationalization-related properties.
Most APIs that consume locales will probably want to accept a vector of locales to account for
priority.
Public Methods
void LocaleId (Storage_ storage)
void LocaleId (::std::string id)
void LocaleId ()
Default constructs a |LocaleId| only if all of its members are default constructible.
Defined at line 127 of file fidling/gen/sdk/fidl/fuchsia.intl/fuchsia.intl/cpp/fidl/fuchsia.intl/cpp/natural_types.h
void LocaleId (LocaleId && )
Defined at line 130 of file fidling/gen/sdk/fidl/fuchsia.intl/fuchsia.intl/cpp/fidl/fuchsia.intl/cpp/natural_types.h
void LocaleId (const LocaleId & other)
LocaleId & operator= (LocaleId && )
Defined at line 131 of file fidling/gen/sdk/fidl/fuchsia.intl/fuchsia.intl/cpp/fidl/fuchsia.intl/cpp/natural_types.h
LocaleId & operator= (const LocaleId & other)
bool operator== (const LocaleId & other)
bool operator!= (const LocaleId & other)
const ::std::string & id ()
Unicode BCP-47 Locale Identifier
(http://www.unicode.org/reports/tr35/#BCP_47_Conformance).
Must be canonicalized and well-formed. This field should not be populated from arbitrary
user- or third-party input, but instead generated programmatically.
Includes language, region, script, and variant, plus Unicode extensions (under the "u"
singleton). Other extensions are allowed but ignored.
Examples:
"en-US"
American English
"fr-u-hc-h12"
French, with 12-hour clock
"ar-EG-u-fw-mon-nu-latn"
Egyptian Arabic with "Latin" numerals and first day of week on Monday
::std::string & id ()
Unicode BCP-47 Locale Identifier
(http://www.unicode.org/reports/tr35/#BCP_47_Conformance).
Must be canonicalized and well-formed. This field should not be populated from arbitrary
user- or third-party input, but instead generated programmatically.
Includes language, region, script, and variant, plus Unicode extensions (under the "u"
singleton). Other extensions are allowed but ignored.
Examples:
"en-US"
American English
"fr-u-hc-h12"
French, with 12-hour clock
"ar-EG-u-fw-mon-nu-latn"
Egyptian Arabic with "Latin" numerals and first day of week on Monday
LocaleId & id (::std::string value)
Unicode BCP-47 Locale Identifier
(http://www.unicode.org/reports/tr35/#BCP_47_Conformance).
Must be canonicalized and well-formed. This field should not be populated from arbitrary
user- or third-party input, but instead generated programmatically.
Includes language, region, script, and variant, plus Unicode extensions (under the "u"
singleton). Other extensions are allowed but ignored.
Examples:
"en-US"
American English
"fr-u-hc-h12"
French, with 12-hour clock
"ar-EG-u-fw-mon-nu-latn"
Egyptian Arabic with "Latin" numerals and first day of week on Monday
void LocaleId (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalStructCodingTraits