"Fossies" - the Fresh Open Source Software Archive

Member "ugender_8h_source.html" (3 Oct 2019, 13703 Bytes) of package /linux/misc/icu4c-65_1-docs.zip:


Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links. You can here alternatively try to browse the pure source code or just view or download the uninterpreted raw source code. If the rendering is insufficient you may try to find and view the page on the project site itself.

ICU 65.1  65.1
ugender.h
Go to the documentation of this file.
1 // © 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
3 /*
4 *****************************************************************************************
5 * Copyright (C) 2010-2013, International Business Machines
6 * Corporation and others. All Rights Reserved.
7 *****************************************************************************************
8 */
9 
10 #ifndef UGENDER_H
11 #define UGENDER_H
12 
13 #include "unicode/utypes.h"
14 
15 #if !UCONFIG_NO_FORMATTING
16 
17 #include "unicode/localpointer.h"
18 
30 enum UGender {
46 };
50 typedef enum UGender UGender;
51 
52 struct UGenderInfo;
57 typedef struct UGenderInfo UGenderInfo;
58 
66 U_STABLE const UGenderInfo* U_EXPORT2
67 ugender_getInstance(const char *locale, UErrorCode *status);
68 
69 
79 U_STABLE UGender U_EXPORT2
80 ugender_getListGender(const UGenderInfo* genderInfo, const UGender *genders, int32_t size, UErrorCode *status);
81 
82 #endif /* #if !UCONFIG_NO_FORMATTING */
83 
84 #endif
Neutral gender.
Definition: ugender.h:45
UGender
Genders.
Definition: ugender.h:30
struct UGenderInfo UGenderInfo
Opaque UGenderInfo object for use in C programs.
Definition: ugender.h:57
const UGenderInfo * ugender_getInstance(const char *locale, UErrorCode *status)
Opens a new UGenderInfo object given locale.
C++ API: "Smart pointers" for use with and in ICU4C C++ code.
UGender ugender_getListGender(const UGenderInfo *genderInfo, const UGender *genders, int32_t size, UErrorCode *status)
Given a list, returns the gender of the list as a whole.
Female gender.
Definition: ugender.h:40
UErrorCode
Standard ICU4C error code type, a substitute for exceptions.
Definition: utypes.h:415
Male gender.
Definition: ugender.h:35
Basic definitions for ICU, for both C and C++ APIs.
#define U_STABLE
This is used to declare a function as a stable public ICU C API.
Definition: umachine.h:111