summaryrefslogtreecommitdiffstats
path: root/intl/icu_capi/cpp/include/ICU4XCollatorOptionsV1.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'intl/icu_capi/cpp/include/ICU4XCollatorOptionsV1.hpp')
-rw-r--r--intl/icu_capi/cpp/include/ICU4XCollatorOptionsV1.hpp38
1 files changed, 38 insertions, 0 deletions
diff --git a/intl/icu_capi/cpp/include/ICU4XCollatorOptionsV1.hpp b/intl/icu_capi/cpp/include/ICU4XCollatorOptionsV1.hpp
new file mode 100644
index 0000000000..cc646c2154
--- /dev/null
+++ b/intl/icu_capi/cpp/include/ICU4XCollatorOptionsV1.hpp
@@ -0,0 +1,38 @@
+#ifndef ICU4XCollatorOptionsV1_HPP
+#define ICU4XCollatorOptionsV1_HPP
+#include <stdint.h>
+#include <stddef.h>
+#include <stdbool.h>
+#include <algorithm>
+#include <memory>
+#include <variant>
+#include <optional>
+#include "diplomat_runtime.hpp"
+
+#include "ICU4XCollatorOptionsV1.h"
+
+#include "ICU4XCollatorStrength.hpp"
+#include "ICU4XCollatorAlternateHandling.hpp"
+#include "ICU4XCollatorCaseFirst.hpp"
+#include "ICU4XCollatorMaxVariable.hpp"
+#include "ICU4XCollatorCaseLevel.hpp"
+#include "ICU4XCollatorNumeric.hpp"
+#include "ICU4XCollatorBackwardSecondLevel.hpp"
+
+
+/**
+ * See the [Rust documentation for `CollatorOptions`](https://docs.rs/icu/latest/icu/collator/struct.CollatorOptions.html) for more information.
+ */
+struct ICU4XCollatorOptionsV1 {
+ public:
+ ICU4XCollatorStrength strength;
+ ICU4XCollatorAlternateHandling alternate_handling;
+ ICU4XCollatorCaseFirst case_first;
+ ICU4XCollatorMaxVariable max_variable;
+ ICU4XCollatorCaseLevel case_level;
+ ICU4XCollatorNumeric numeric;
+ ICU4XCollatorBackwardSecondLevel backward_second_level;
+};
+
+
+#endif