ICU 73.2  73.2
ugender.h
Go to the documentation of this file.
00001 // © 2016 and later: Unicode, Inc. and others.
00002 // License & terms of use: http://www.unicode.org/copyright.html
00003 /*
00004 *****************************************************************************************
00005 * Copyright (C) 2010-2013, International Business Machines
00006 * Corporation and others. All Rights Reserved.
00007 *****************************************************************************************
00008 */
00009 
00010 #ifndef UGENDER_H
00011 #define UGENDER_H
00012 
00013 #include "unicode/utypes.h"
00014 
00015 #if !UCONFIG_NO_FORMATTING
00016 
00017 #if U_SHOW_CPLUSPLUS_API
00018 #include "unicode/localpointer.h"
00019 #endif   // U_SHOW_CPLUSPLUS_API
00020 
00032 enum UGender {
00037     UGENDER_MALE,
00042     UGENDER_FEMALE,
00047     UGENDER_OTHER
00048 };
00052 typedef enum UGender UGender;
00053 
00054 struct UGenderInfo;
00059 typedef struct UGenderInfo UGenderInfo;
00060 
00068 U_CAPI const UGenderInfo* U_EXPORT2
00069 ugender_getInstance(const char *locale, UErrorCode *status);
00070 
00071 
00081 U_CAPI UGender U_EXPORT2
00082 ugender_getListGender(const UGenderInfo* genderInfo, const UGender *genders, int32_t size, UErrorCode *status);
00083 
00084 #endif /* #if !UCONFIG_NO_FORMATTING */
00085 
00086 #endif