• Home
  • History
  • Annotate
  • Raw
  • Download

Lines Matching +full:argument +full:- +full:count

4 * Copyright (C) 2007-2013, International Business Machines Corporation and
28 * \brief C++ API: Formats messages in a language-neutral way.
65 * itself doesn't implement locale-specific behavior. Any locale-specific
69 * <p>Arguments can be named (using identifiers) or numbered (using small ASCII-digit integers).
70 * Some of the API methods work only with argument numbers and throw an exception
73 * <p>An argument might not specify any format type. In this case,
77 * <p>An argument might specify a "simple" type for which the specified
80 * <p>An argument might have a "complex" type with nested MessageFormat sub-patterns.
81 * During formatting, one of these sub-messages is selected according to the argument value
85 * a top-level argument, overriding the default formatting and parsing behavior
86 * for that argument.
88 * a typeless argument in the pattern string
91 * <p>When formatting, MessageFormat takes a collection of argument values
93 * The argument values may be passed as an array
98 * <p>Each argument is matched with one of the input values by array index or argument name
101 * A numbered pattern argument is matched with an argument name that contains that number
102 * as an ASCII-decimal-digit string (without leading zero).
108 * message = messageText (argument messageText)*
109 * argument = noneArg | simpleArg | complexArg
147 * human-readable text, and use the ASCII apostrophe ' (U+0027)
151 * <p>The <code>choice</code> argument type is deprecated.
247 * <h4>Argument formatting</h4>
258 …* <a href="https://unicode-org.github.io/icu/userguide/format_parse/messages">ICU User Guide</a>.<…
311 * <p>For messages that include plural forms, you can use a plural argument:
350 * @obsolete ICU 3.0. The 10-argument limit was removed as of ICU 2.6,
356 * @obsolete ICU 3.0. The 10-argument limit was removed as of ICU 2.6,
435 * Sets the locale to be used for creating argument Format objects.
442 * Gets the locale used for creating argument Format objects.
475 * Parses the pattern and caches Format objects for simple argument types.
528 * @param count the size of the array.
530 virtual void adoptFormats(Format** formatsToAdopt, int32_t count);
605 * arguments-- if numbered, the formatName is the
620 * arguments-- if numbered, the formatName is the
639 * @param count output parameter to receive the size of the array
640 * @return an array of count Format* objects, or NULL if out of
644 virtual const Format** getFormats(int32_t& count) const;
650 * Formats the given array of arguments into a user-readable string.
657 * @param count The number of elements of 'source'.
667 int32_t count,
673 * Formats the given array of arguments into a user-readable string
681 * @param count The number of elements of 'source'.
691 int32_t count,
696 * Formats the given array of arguments into a user-readable
721 * Formats the given array of arguments into a user-defined argument name
723 * arguments-- if numbered, the formatName is the
726 * @param argumentNames argument name array
728 * @param count The number of elements of 'argumentNames' and
740 int32_t count,
750 * @param count Output parameter to receive the number of arguments
758 int32_t& count) const;
767 * @param count Output param to receive size of returned array.
776 int32_t& count,
796 * Convert an 'apostrophe-friendly' pattern into a standard
808 * @param pattern the 'apostrophe-friendly' patttern to convert
833 * Returns argument types count in the parsed pattern.
860 * . if (polymorphic_pointer->getDynamicClassID() ==
894 * For example, if the number matches an explicit-value selector like "=1"
911 * A MessageFormat formats an array of arguments. Each argument
914 * we expect argument 3 to have type Formattable::kLong. This
923 * true if there are different argTypes for the same argument.
929 // Variable-size array management
934 * numeric or date argument is formatted. These are volatile
981 * @param plNumber NULL except when formatting a plural argument sub-message
986 * corresponding argument in "arguments".
1029 int32_t& count,
1036 * Finds the "other" sub-message.
1037 * @param partIndex the index of the first PluralFormat argument style part.
1038 * @return the "other" sub-message start part index.
1043 * Returns the ARG_START index of the first occurrence of the plural number in a sub-message.
1044 * Returns -1 if it is a REPLACE_NUMBER.
1069 * Returns array of argument types in the parsed pattern