class Profile
Defined at line 368 of file fidling/gen/sdk/fidl/fuchsia.intl/fuchsia.intl/cpp/fidl/fuchsia.intl/cpp/natural_types.h
A collection of ranked internationalization properties.
There is no implied origin for this information; it might come from a user account, device
settings, a synthesis of user settings and app-specific overrides, or anywhere else.
Language-independent properties that are supported by Unicode BCP-47 Locale IDs (e.g.
first-day-of-week, time zone) are denormalized into the locale IDs in `locales`.
Public Methods
void Profile (Storage_ storage)
void Profile ()
Defined at line 374 of file fidling/gen/sdk/fidl/fuchsia.intl/fuchsia.intl/cpp/fidl/fuchsia.intl/cpp/natural_types.h
void Profile (Profile && )
Defined at line 375 of file fidling/gen/sdk/fidl/fuchsia.intl/fuchsia.intl/cpp/fidl/fuchsia.intl/cpp/natural_types.h
void Profile (const Profile & other)
Profile & operator= (Profile && )
Defined at line 376 of file fidling/gen/sdk/fidl/fuchsia.intl/fuchsia.intl/cpp/fidl/fuchsia.intl/cpp/natural_types.h
Profile & operator= (const Profile & other)
bool operator== (const Profile & other)
bool operator!= (const Profile & other)
bool IsEmpty ()
const std::optional< ::std::vector< ::fuchsia_intl::LocaleId>> & locales ()
Ranked list of locales (in descending order of preference). The vector will always
be set, and always contain at least one element. For example,
locales = [ LocaleId("en-US") ] is valid, but locales = [], or locales =
<unset
> is not.
::std::optional< ::std::vector< ::fuchsia_intl::LocaleId>> & locales ()
Ranked list of locales (in descending order of preference). The vector will always
be set, and always contain at least one element. For example,
locales = [ LocaleId("en-US") ] is valid, but locales = [], or locales =
<unset
> is not.
Profile & locales (std::optional< ::std::vector< ::fuchsia_intl::LocaleId>> value)
Ranked list of locales (in descending order of preference). The vector will always
be set, and always contain at least one element. For example,
locales = [ LocaleId("en-US") ] is valid, but locales = [], or locales =
<unset
> is not.
const std::optional< ::std::vector< ::fuchsia_intl::CalendarId>> & calendars ()
Ranked list of calendars (in descending order of preference).
The first entry is the primary calendar, and will be equal to the calendar indicated
in `locales`.
The vector will always be set, and always contain at least one element.
The list allows multiple ranked preferences, and is intended for use
by applications that can display multiple calendar systems.
::std::optional< ::std::vector< ::fuchsia_intl::CalendarId>> & calendars ()
Ranked list of calendars (in descending order of preference).
The first entry is the primary calendar, and will be equal to the calendar indicated
in `locales`.
The vector will always be set, and always contain at least one element.
The list allows multiple ranked preferences, and is intended for use
by applications that can display multiple calendar systems.
Profile & calendars (std::optional< ::std::vector< ::fuchsia_intl::CalendarId>> value)
Ranked list of calendars (in descending order of preference).
The first entry is the primary calendar, and will be equal to the calendar indicated
in `locales`.
The vector will always be set, and always contain at least one element.
The list allows multiple ranked preferences, and is intended for use
by applications that can display multiple calendar systems.
const std::optional< ::std::vector< ::fuchsia_intl::TimeZoneId>> & time_zones ()
Ranked list of time zones (in descending order). The first entry is the primary time zone,
which should be used by default for formatting dates and times; it will be equal to the
calendar indicated in `locales`.
The list is intended for use by applications that can display multiple time zones, e.g.
a world clock.
The vector will always be set, and always contain at least one element.
On Fuchsia, the default time zone is always `DEFAULT_TIME_ZONE_ID` when
no more specific time zones have been defined or selected.
::std::optional< ::std::vector< ::fuchsia_intl::TimeZoneId>> & time_zones ()
Ranked list of time zones (in descending order). The first entry is the primary time zone,
which should be used by default for formatting dates and times; it will be equal to the
calendar indicated in `locales`.
The list is intended for use by applications that can display multiple time zones, e.g.
a world clock.
The vector will always be set, and always contain at least one element.
On Fuchsia, the default time zone is always `DEFAULT_TIME_ZONE_ID` when
no more specific time zones have been defined or selected.
Profile & time_zones (std::optional< ::std::vector< ::fuchsia_intl::TimeZoneId>> value)
Ranked list of time zones (in descending order). The first entry is the primary time zone,
which should be used by default for formatting dates and times; it will be equal to the
calendar indicated in `locales`.
The list is intended for use by applications that can display multiple time zones, e.g.
a world clock.
The vector will always be set, and always contain at least one element.
On Fuchsia, the default time zone is always `DEFAULT_TIME_ZONE_ID` when
no more specific time zones have been defined or selected.
const std::optional< ::fuchsia_intl::TemperatureUnit> & temperature_unit ()
Selected temperature unit. The unit is always reported: if there is no
setting in the current environment, the default value of CELSIUS is
used.
::std::optional< ::fuchsia_intl::TemperatureUnit> & temperature_unit ()
Selected temperature unit. The unit is always reported: if there is no
setting in the current environment, the default value of CELSIUS is
used.
Profile & temperature_unit (std::optional< ::fuchsia_intl::TemperatureUnit> value)
Selected temperature unit. The unit is always reported: if there is no
setting in the current environment, the default value of CELSIUS is
used.
void Profile (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalTableCodingTraits