28#if U_SHOW_CPLUSPLUS_API
30#if !UCONFIG_NO_FORMATTING
103 static const GenderInfo* getNeutralInstance();
105 static const GenderInfo* getMixedNeutralInstance();
107 static const GenderInfo* getMaleTaintsInstance();
111 friend class ::GenderInfoTest;
GenderInfo computes the gender of a list as a whole given the gender of each element.
static const GenderInfo * getInstance(const Locale &locale, UErrorCode &status)
Provides access to the predefined GenderInfo object for a given locale.
friend void GenderInfo_initCache(UErrorCode &status)
virtual ~GenderInfo()
Destructor.
UGender getListGender(const UGender *genders, int32_t length, UErrorCode &status) const
Determines the gender of a list as a whole given the gender of each of the elements.
A Locale object represents a specific geographical, political, or cultural region.
UObject is the common ICU "boilerplate" class.
C++ API: Locale ID object.
void GenderInfo_initCache(UErrorCode &status)
C API: The purpose of this API is to compute the gender of a list as a whole given the gender of each...
C++ API: Common ICU base class UObject.
Basic definitions for ICU, for both C and C++ APIs.
UErrorCode
Standard ICU4C error code type, a substitute for exceptions.
#define U_I18N_API
Set to export library symbols from inside the i18n library, and to import them from outside.