1#ifndef icu4x_VerticalOrientation_D_HPP
2#define icu4x_VerticalOrientation_D_HPP
21 enum VerticalOrientation {
22 VerticalOrientation_Rotated = 0,
23 VerticalOrientation_TransformedRotated = 1,
24 VerticalOrientation_TransformedUpright = 2,
25 VerticalOrientation_Upright = 3,
28 typedef struct VerticalOrientation_option {
union { VerticalOrientation ok; };
bool is_ok; } VerticalOrientation_option;
48 constexpr operator Value()
const {
return value; }
50 explicit operator bool()
const =
delete;
62 inline std::optional<std::string_view>
long_name()
const;
69 inline std::optional<std::string_view>
short_name()
const;
83 inline static std::optional<icu4x::VerticalOrientation>
from_integer_value(uint8_t other);
85 inline icu4x::capi::VerticalOrientation AsFFI()
const;
Definition VerticalOrientation.d.hpp:36
VerticalOrientation()=default
std::optional< std::string_view > long_name() const
Definition VerticalOrientation.hpp:59
uint8_t to_integer_value() const
Definition VerticalOrientation.hpp:69
Value
Definition VerticalOrientation.d.hpp:38
@ Upright
Definition VerticalOrientation.d.hpp:42
@ Rotated
Definition VerticalOrientation.d.hpp:39
@ TransformedRotated
Definition VerticalOrientation.d.hpp:40
@ TransformedUpright
Definition VerticalOrientation.d.hpp:41
std::optional< std::string_view > short_name() const
Definition VerticalOrientation.hpp:64
static std::optional< icu4x::VerticalOrientation > from_integer_value(uint8_t other)
Definition VerticalOrientation.hpp:74
static icu4x::VerticalOrientation for_char(char32_t ch)
Definition VerticalOrientation.hpp:54
constexpr VerticalOrientation(Value v)
Definition VerticalOrientation.d.hpp:47