template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 408 of file fidling/gen/sdk/fidl/fuchsia.intl/fuchsia.intl/cpp/fidl/fuchsia.intl/cpp/wire_types.h

Public Methods

::fuchsia_intl::wire::Profile Build ()

Build and return the table. The builder should not be used after this.

bool has_locales ()
void clear_locales ()

Clears the locales field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_intl::wire::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.

BuilderImpl & locales (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_intl::wire::LocaleId>>> elem)

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.

bool has_calendars ()
void clear_calendars ()

Clears the calendars field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_intl::wire::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.

BuilderImpl & calendars (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_intl::wire::CalendarId>>> elem)

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.

bool has_time_zones ()
void clear_time_zones ()

Clears the time_zones field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_intl::wire::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.

BuilderImpl & time_zones (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_intl::wire::TimeZoneId>>> elem)

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.

bool has_temperature_unit ()
void clear_temperature_unit ()

Clears the temperature_unit field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fuchsia_intl::wire::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.

BuilderImpl & temperature_unit (::fuchsia_intl::wire::TemperatureUnit elem)

Selected temperature unit. The unit is always reported: if there is no

setting in the current environment, the default value of CELSIUS is

used.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_intl::wire::Profile, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_intl::wire::Profile>> && frame)

Records