23#if !UCONFIG_NO_FORMATTING
98 static const GenderInfo* getMixedNeutralInstance();
100 static const GenderInfo* getMaleTaintsInstance();
104 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.
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.
"Smart pointer" base class; do not use directly: use LocalPointer etc.
A Locale object represents a specific geographical, political, or cultural region.
UObject is the common ICU "boilerplate" class.
C++ API: Locale ID object.
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
Error code to replace exception handling, so that the code is compatible with all C++ compilers,...
#define U_I18N_API
Set to export library symbols from inside the i18n library, and to import them from outside.
#define U_NAMESPACE_END
This is used to end a declaration of a public ICU C++ API.
#define U_NAMESPACE_BEGIN
This is used to begin a declaration of a public ICU C++ API.