Go to the documentation of this file.
28 #if !UCONFIG_NO_FORMATTING
101 static const GenderInfo* getNeutralInstance();
103 static const GenderInfo* getMixedNeutralInstance();
105 static const GenderInfo* getMaleTaintsInstance();
109 friend class ::GenderInfoTest;
Basic definitions for ICU, for both C and C++ APIs.
#define U_I18N_API
Set to export library symbols from inside the i18n library, and to import them from outside.
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.
UObject is the common ICU "boilerplate" class.
virtual ~GenderInfo()
Destructor.
void GenderInfo_initCache(UErrorCode &status)
UErrorCode
Error code to replace exception handling, so that the code is compatible with all C++ compilers,...
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)
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: Locale ID object.
C++ API: Common ICU base class UObject.
GenderInfo computes the gender of a list as a whole given the gender of each element.
#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.
A Locale object represents a specific geographical, political, or cultural region.