<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.11"/> <title>ICU 58.2: ugender.h Source File</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">ICU 58.2  <span id="projectnumber">58.2</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.11 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="dir_b2f33c71d4aa5e7af42a1ca61ff5af1b.html">source</a></li><li class="navelem"><a class="el" href="dir_3c42bef9a3e7804b3d74ebb2809ebf86.html">i18n</a></li><li class="navelem"><a class="el" href="dir_fa4147b4d9cbc9ae7619e21b25239322.html">unicode</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">ugender.h</div> </div> </div><!--header--> <div class="contents"> <a href="ugender_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">// Copyright (C) 2016 and later: Unicode, Inc. and others.</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// License & terms of use: http://www.unicode.org/copyright.html</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">/*</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">*****************************************************************************************</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">* Copyright (C) 2010-2013, International Business Machines</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">* Corporation and others. All Rights Reserved.</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">*****************************************************************************************</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">*/</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> </div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#ifndef UGENDER_H</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#define UGENDER_H</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> </div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#include "<a class="code" href="utypes_8h.html">unicode/utypes.h</a>"</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> </div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#if !UCONFIG_NO_FORMATTING</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include "<a class="code" href="localpointer_8h.html">unicode/localpointer.h</a>"</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="ugender_8h.html#a9506d61caf22a74908fc8fcbea31c748"> 30</a></span> <span class="keyword">enum</span> <a class="code" href="ugender_8h.html#a9506d61caf22a74908fc8fcbea31c748">UGender</a> {</div><div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="ugender_8h.html#a9506d61caf22a74908fc8fcbea31c748aac64e9bd4823d6e06ebd61802b64c946"> 35</a></span>  <a class="code" href="ugender_8h.html#a9506d61caf22a74908fc8fcbea31c748aac64e9bd4823d6e06ebd61802b64c946">UGENDER_MALE</a>,</div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="ugender_8h.html#a9506d61caf22a74908fc8fcbea31c748a413473fae84c2d060c5ef5e712284006"> 40</a></span>  <a class="code" href="ugender_8h.html#a9506d61caf22a74908fc8fcbea31c748a413473fae84c2d060c5ef5e712284006">UGENDER_FEMALE</a>,</div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="ugender_8h.html#a9506d61caf22a74908fc8fcbea31c748abeef9bd190d99481ba8a6a15e80614ba"> 45</a></span>  <a class="code" href="ugender_8h.html#a9506d61caf22a74908fc8fcbea31c748abeef9bd190d99481ba8a6a15e80614ba">UGENDER_OTHER</a></div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> };</div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="ugender_8h.html#a0f8a690953a44132afdfdf0105432afe"> 50</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="ugender_8h.html#a9506d61caf22a74908fc8fcbea31c748">UGender</a> <a class="code" href="ugender_8h.html#a9506d61caf22a74908fc8fcbea31c748">UGender</a>;</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span> </div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="keyword">struct </span>UGenderInfo;</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="keyword">typedef</span> <span class="keyword">struct </span>UGenderInfo UGenderInfo;</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span> </div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98">U_STABLE</a> <span class="keyword">const</span> UGenderInfo* U_EXPORT2</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span> <a class="code" href="ugender_8h.html#ae8dcaa5a7bcfe59fcf243cbaed56ff5a">ugender_getInstance</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *locale, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status);</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span> </div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span> </div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98">U_STABLE</a> <a class="code" href="ugender_8h.html#a9506d61caf22a74908fc8fcbea31c748">UGender</a> U_EXPORT2</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span> <a class="code" href="ugender_8h.html#aa2f721416a386c9ebad044f5e7789fe7">ugender_getListGender</a>(<span class="keyword">const</span> UGenderInfo* genderinfo, <span class="keyword">const</span> <a class="code" href="ugender_8h.html#a9506d61caf22a74908fc8fcbea31c748">UGender</a> *genders, int32_t size, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status);</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span> </div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span> <span class="preprocessor">#endif </span><span class="comment">/* #if !UCONFIG_NO_FORMATTING */</span><span class="preprocessor"></span></div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span> </div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span> <span class="preprocessor">#endif</span></div><div class="ttc" id="ugender_8h_html_a9506d61caf22a74908fc8fcbea31c748abeef9bd190d99481ba8a6a15e80614ba"><div class="ttname"><a href="ugender_8h.html#a9506d61caf22a74908fc8fcbea31c748abeef9bd190d99481ba8a6a15e80614ba">UGENDER_OTHER</a></div><div class="ttdoc">Neutral gender. </div><div class="ttdef"><b>Definition:</b> <a href="ugender_8h_source.html#l00045">ugender.h:45</a></div></div> <div class="ttc" id="ugender_8h_html_a9506d61caf22a74908fc8fcbea31c748"><div class="ttname"><a href="ugender_8h.html#a9506d61caf22a74908fc8fcbea31c748">UGender</a></div><div class="ttdeci">UGender</div><div class="ttdoc">Genders. </div><div class="ttdef"><b>Definition:</b> <a href="ugender_8h_source.html#l00030">ugender.h:30</a></div></div> <div class="ttc" id="ugender_8h_html_ae8dcaa5a7bcfe59fcf243cbaed56ff5a"><div class="ttname"><a href="ugender_8h.html#ae8dcaa5a7bcfe59fcf243cbaed56ff5a">ugender_getInstance</a></div><div class="ttdeci">const UGenderInfo * ugender_getInstance(const char *locale, UErrorCode *status)</div><div class="ttdoc">Opens a new UGenderInfo object given locale. </div></div> <div class="ttc" id="localpointer_8h_html"><div class="ttname"><a href="localpointer_8h.html">localpointer.h</a></div><div class="ttdoc">C++ API: "Smart pointers" for use with and in ICU4C C++ code. </div></div> <div class="ttc" id="ugender_8h_html_a9506d61caf22a74908fc8fcbea31c748a413473fae84c2d060c5ef5e712284006"><div class="ttname"><a href="ugender_8h.html#a9506d61caf22a74908fc8fcbea31c748a413473fae84c2d060c5ef5e712284006">UGENDER_FEMALE</a></div><div class="ttdoc">Female gender. </div><div class="ttdef"><b>Definition:</b> <a href="ugender_8h_source.html#l00040">ugender.h:40</a></div></div> <div class="ttc" id="utypes_8h_html_a3343c1c8a8377277046774691c98d78c"><div class="ttname"><a href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a></div><div class="ttdeci">UErrorCode</div><div class="ttdoc">Error code to replace exception handling, so that the code is compatible with all C++ compilers...</div><div class="ttdef"><b>Definition:</b> <a href="utypes_8h_source.html#l00396">utypes.h:396</a></div></div> <div class="ttc" id="ugender_8h_html_a9506d61caf22a74908fc8fcbea31c748aac64e9bd4823d6e06ebd61802b64c946"><div class="ttname"><a href="ugender_8h.html#a9506d61caf22a74908fc8fcbea31c748aac64e9bd4823d6e06ebd61802b64c946">UGENDER_MALE</a></div><div class="ttdoc">Male gender. </div><div class="ttdef"><b>Definition:</b> <a href="ugender_8h_source.html#l00035">ugender.h:35</a></div></div> <div class="ttc" id="utypes_8h_html"><div class="ttname"><a href="utypes_8h.html">utypes.h</a></div><div class="ttdoc">Basic definitions for ICU, for both C and C++ APIs. </div></div> <div class="ttc" id="ugender_8h_html_aa2f721416a386c9ebad044f5e7789fe7"><div class="ttname"><a href="ugender_8h.html#aa2f721416a386c9ebad044f5e7789fe7">ugender_getListGender</a></div><div class="ttdeci">UGender ugender_getListGender(const UGenderInfo *genderinfo, const UGender *genders, int32_t size, UErrorCode *status)</div><div class="ttdoc">Given a list, returns the gender of the list as a whole. </div></div> <div class="ttc" id="umachine_8h_html_af3e3799716eaa41e3f49c7bf18c62b98"><div class="ttname"><a href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98">U_STABLE</a></div><div class="ttdeci">#define U_STABLE</div><div class="ttdoc">This is used to declare a function as a stable public ICU C API. </div><div class="ttdef"><b>Definition:</b> <a href="umachine_8h_source.html#l00134">umachine.h:134</a></div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.11 </small></address> </body> </html>