Lines Matching full:modifier
22 * The canonical implementation of {@link Modifier}, containing a prefix and suffix string.
25 class U_I18N_API ConstantAffixModifier : public Modifier, public UObject {
44 bool semanticallyEquivalent(const Modifier& other) const U_OVERRIDE;
54 …* The second primary implementation of {@link Modifier}, this one consuming a {@link SimpleFormatt…
57 class U_I18N_API SimpleModifier : public Modifier, public UMemory {
62 const Modifier::Parameters parameters);
80 bool semanticallyEquivalent(const Modifier& other) const U_OVERRIDE;
129 Modifier::Parameters fParameters;
133 …* An implementation of {@link Modifier} that allows for multiple types of fields in the same modif…
136 class U_I18N_API ConstantMultiFieldModifier : public Modifier, public UMemory {
143 const Modifier::Parameters parameters) in ConstantMultiFieldModifier()
173 bool semanticallyEquivalent(const Modifier& other) const U_OVERRIDE;
182 Modifier::Parameters fParameters;
232 /** A Modifier that does not do anything. */
233 class U_I18N_API EmptyModifier : public Modifier, public UMemory {
267 bool semanticallyEquivalent(const Modifier& other) const U_OVERRIDE { in semanticallyEquivalent()
290 * Sets the Modifier with the specified signum and plural form.
292 void adoptModifier(Signum signum, StandardPlural::Form plural, const Modifier *mod) { in adoptModifier()
298 * Sets the Modifier with the specified signum.
299 * The modifier will apply to all plural forms.
301 void adoptModifierWithoutPlural(Signum signum, const Modifier *mod) { in adoptModifierWithoutPlural()
306 /** Returns a reference to the modifier; no ownership change. */
307 const Modifier *getModifier(Signum signum, StandardPlural::Form plural) const U_OVERRIDE { in getModifier()
308 const Modifier* modifier = mods[getModIndex(signum, plural)]; in getModifier() local
309 if (modifier == nullptr && plural != DEFAULT_STANDARD_PLURAL) { in getModifier()
310 modifier = mods[getModIndex(signum, DEFAULT_STANDARD_PLURAL)]; in getModifier()
312 return modifier; in getModifier()
315 /** Returns a reference to the modifier; no ownership change. */
316 const Modifier *getModifierWithoutPlural(Signum signum) const { in getModifierWithoutPlural()
322 const Modifier *mods[4 * StandardPlural::COUNT] = {};