GenderInfo computes the gender of a list as a whole given the gender of each element.More...
#include <gender.h>
Inheritance diagram for icu::GenderInfo:
Detailed Description
GenderInfo computes the gender of a list as a whole given the gender of each element.
- Stable:
- ICU 50
Definition at line48 of filegender.h.
Constructor & Destructor Documentation
◆ ~GenderInfo()
| virtual icu::GenderInfo::~GenderInfo | ( | | ) | |
| virtual |
Member Function Documentation
◆ getInstance()
Provides access to the predefinedGenderInfo object for a given locale.
- Parameters
| locale | The locale for which aGenderInfo object is returned. |
| status | Output param set to success/failure code on exit, which must not indicate a failure before the function call. |
- Returns
- The predefined
GenderInfo 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
◆ getListGender()
Determines the gender of a list as a whole given the gender of each of the elements.
- Parameters
| genders | the gender of each element in the list. |
| length | the length of gender array. |
| status | Output param set to success/failure code on exit, which must not indicate a failure before the function call. |
- Returns
- the gender of the whole list.
- Stable:
- ICU 50
Friends And Related Function Documentation
◆ GenderInfo_initCache
- Internal:
- Do not use.
This API is for internal use only. Forward Declaration
The documentation for this class was generated from the following file: