Debian Codegraph @

intl/icu_capi/bindings/cpp/ICU4XFixedDecimalSign.hpp

raw
1 #ifndef ICU4XFixedDecimalSign_HPP
2 #define ICU4XFixedDecimalSign_HPP
3 #include <stdint.h>
4 #include <stddef.h>
5 #include <stdbool.h>
6 #include <algorithm>
7 #include <memory>
8 #include <variant>
9 #include <optional>
10 #include "diplomat_runtime.hpp"
11
12 #include "ICU4XFixedDecimalSign.h"
13
14
15
16 /**
17 * The sign of a FixedDecimal, as shown in formatting.
18 *
19 * See the [Rust documentation for `Sign`](https://docs.rs/fixed_decimal/latest/fixed_decimal/enum.Sign.html) for more information.
20 */
21 enum struct ICU4XFixedDecimalSign {
22
23 /**
24 * No sign (implicitly positive, e.g., 1729).
25 */
26 None = 0,
27
28 /**
29 * A negative sign, e.g., -1729.
30 */
31 Negative = 1,
32
33 /**
34 * An explicit positive sign, e.g., +1729.
35 */
36 Positive = 2,
37 };
38
39 #endif