Inflection
Morphology Inflection
Loading...
Searching...
No Matches
inflection_headers
inflection
message2
MF2Factory.hpp
1
/*
2
* Copyright 2025-2026 Unicode Incorporated and others. All rights reserved.
3
*/
4
#pragma once
5
6
#include <inflection/message2/fwd.hpp>
7
8
#include <unicode/uversion.h>
9
#include <unicode/messageformat2_function_registry.h>
10
57
class
INFLECTION_CLASS_API
inflection
::
message2::MF2Factory
{
58
public
:
66
enum class
OutputMode
{ PLAIN, SSML };
67
74
static
icu::message2::FormatterFactory*
createInflectFormatterFactory
(
OutputMode
mode = OutputMode::PLAIN);
75
82
static
icu::message2::SelectorFactory*
createInflectSelectorFactory
();
83
91
static
icu::message2::FormatterFactory*
createNumeralFormatterFactory
(
OutputMode
mode = OutputMode::PLAIN);
92
94
static
icu::message2::FormatterFactory*
createQuantifyFormatterFactory
(
OutputMode
mode = OutputMode::PLAIN);
95
97
static
icu::message2::FormatterFactory*
createListFormatterFactory
(
OutputMode
mode = OutputMode::PLAIN);
98
100
static
icu::message2::FormatterFactory*
createPronounFormatterFactory
(
OutputMode
mode = OutputMode::PLAIN);
101
103
static
icu::message2::SelectorFactory*
createPronounSelectorFactory
();
104
};
inflection::message2::MF2Factory
The MF2Factory provide factory method to create custom formatter and selector factory to work with ic...
Definition
MF2Factory.hpp:57
inflection::message2::MF2Factory::createInflectSelectorFactory
static icu::message2::SelectorFactory * createInflectSelectorFactory()
inflection::message2::MF2Factory::createPronounFormatterFactory
static icu::message2::FormatterFactory * createPronounFormatterFactory(OutputMode mode=OutputMode::PLAIN)
inflection::message2::MF2Factory::createListFormatterFactory
static icu::message2::FormatterFactory * createListFormatterFactory(OutputMode mode=OutputMode::PLAIN)
inflection::message2::MF2Factory::createPronounSelectorFactory
static icu::message2::SelectorFactory * createPronounSelectorFactory()
inflection::message2::MF2Factory::createQuantifyFormatterFactory
static icu::message2::FormatterFactory * createQuantifyFormatterFactory(OutputMode mode=OutputMode::PLAIN)
inflection::message2::MF2Factory::createInflectFormatterFactory
static icu::message2::FormatterFactory * createInflectFormatterFactory(OutputMode mode=OutputMode::PLAIN)
inflection::message2::MF2Factory::createNumeralFormatterFactory
static icu::message2::FormatterFactory * createNumeralFormatterFactory(OutputMode mode=OutputMode::PLAIN)
inflection::message2::MF2Factory::OutputMode
OutputMode
Definition
MF2Factory.hpp:66
inflection
The C++ namespace for Inflection.
Definition
fwd.hpp:11
Generated on Wed Jul 22 2026 15:42:41 for Inflection by
1.9.8