/** * GenderInfo computes the gender of a list as a whole given the gender of * each element. * @stable ICU 50
*/ class U_I18N_API GenderInfo : public UObject { public:
/** * Provides access to the predefined GenderInfo object for a given * locale. * * @param locale The locale for which a <code>GenderInfo</code> object is * returned. * @param status Output param set to success/failure code on exit, which * must not indicate a failure before the function call. * @return The predefined <code>GenderInfo</code> object pointer for * this locale. The returned object is immutable, so it is * declared as const. Caller does not own the returned * pointer, so it must not attempt to free it. * @stable ICU 50
*/ staticconst GenderInfo* U_EXPORT2 getInstance(const Locale& locale, UErrorCode& status);
/** * Determines the gender of a list as a whole given the gender of each * of the elements. * * @param genders the gender of each element in the list. * @param length the length of gender array. * @param status Output param set to success/failure code on exit, which * must not indicate a failure before the function call. * @return the gender of the whole list. * @stable ICU 50
*/
UGender getListGender(const UGender* genders, int32_t length, UErrorCode& status) const;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.