Sophie

Sophie

distrib > Mageia > 6 > armv5tl > media > core-release > by-pkgid > 3a4e91bde08970529a0aa07935652fe8 > files > 1038

icu-doc-58.2-3.mga6.noarch.rpm

<!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: uset.h File Reference</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
   &#160;<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&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;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&#160;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&#160;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_30087b5439e04c85304dbcf15650710b.html">common</a></li><li class="navelem"><a class="el" href="dir_8bf9c54ed6ca2fd1e2117fb037e4ad06.html">unicode</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#namespaces">Namespaces</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">uset.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>C API: Unicode Set.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="utypes_8h_source.html">unicode/utypes.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="uchar_8h_source.html">unicode/uchar.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="localpointer_8h_source.html">unicode/localpointer.h</a>&quot;</code><br />
</div>
<p><a href="uset_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structUSerializedSet.html">USerializedSet</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">A serialized form of a Unicode set.  <a href="structUSerializedSet.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespaceicu"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceicu.html">icu</a></td></tr>
<tr class="memdesc:namespaceicu"><td class="mdescLeft">&#160;</td><td class="mdescRight">File <a class="el" href="coll_8h.html" title="C++ API: Collation Service. ">coll.h</a>. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:adce3fef7c15d7c78196bf977ac96ec9c"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a></td></tr>
<tr class="memdesc:adce3fef7c15d7c78196bf977ac96ec9c"><td class="mdescLeft">&#160;</td><td class="mdescRight">A UnicodeSet.  <a href="#adce3fef7c15d7c78196bf977ac96ec9c">More...</a><br /></td></tr>
<tr class="separator:adce3fef7c15d7c78196bf977ac96ec9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac3d7c617bb22a04adeb39320ebec2bd1"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="uset_8h.html#a5fc2e77dd6c8385e0e88fc6a7d72d9b4">USetSpanCondition</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#ac3d7c617bb22a04adeb39320ebec2bd1">USetSpanCondition</a></td></tr>
<tr class="memdesc:ac3d7c617bb22a04adeb39320ebec2bd1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Argument values for whether span() and similar functions continue while the current character is contained vs.  <a href="#ac3d7c617bb22a04adeb39320ebec2bd1">More...</a><br /></td></tr>
<tr class="separator:ac3d7c617bb22a04adeb39320ebec2bd1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6df273c631003b7ebc3a5b05c2ab9ab7"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structUSerializedSet.html">USerializedSet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#a6df273c631003b7ebc3a5b05c2ab9ab7">USerializedSet</a></td></tr>
<tr class="memdesc:a6df273c631003b7ebc3a5b05c2ab9ab7"><td class="mdescLeft">&#160;</td><td class="mdescRight">A serialized form of a Unicode set.  <a href="#a6df273c631003b7ebc3a5b05c2ab9ab7">More...</a><br /></td></tr>
<tr class="separator:a6df273c631003b7ebc3a5b05c2ab9ab7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:aba01db17f4a2bfbc3db60dc172972a25"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom">{ <a class="el" href="uset_8h.html#aba01db17f4a2bfbc3db60dc172972a25a0273be77d90674cbb82a37f9edb504ff">USET_IGNORE_SPACE</a> = 1, 
<a class="el" href="uset_8h.html#aba01db17f4a2bfbc3db60dc172972a25a740685a55f610ca84868b60aef83db7b">USET_CASE_INSENSITIVE</a> = 2, 
<a class="el" href="uset_8h.html#aba01db17f4a2bfbc3db60dc172972a25a68133c690985f92d95996e4cf9abd80d">USET_ADD_CASE_MAPPINGS</a> = 4
 }<tr class="memdesc:aba01db17f4a2bfbc3db60dc172972a25"><td class="mdescLeft">&#160;</td><td class="mdescRight">Bitmask values to be passed to <a class="el" href="uset_8h.html#a34a8914b62d0de444d7a2e7981eb343a" title="Creates a set from the given pattern. ">uset_openPatternOptions()</a> or <a class="el" href="uset_8h.html#ac934accbf4a12c2f8b13a86ffab4c22c" title="Modifies the set to represent the set specified by the given pattern. ">uset_applyPattern()</a> taking an option parameter.  <a href="uset_8h.html#aba01db17f4a2bfbc3db60dc172972a25">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:aba01db17f4a2bfbc3db60dc172972a25"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5fc2e77dd6c8385e0e88fc6a7d72d9b4"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#a5fc2e77dd6c8385e0e88fc6a7d72d9b4">USetSpanCondition</a> { <a class="el" href="uset_8h.html#a5fc2e77dd6c8385e0e88fc6a7d72d9b4a02c1d43f074e8153eddaa79eb74d80f4">USET_SPAN_NOT_CONTAINED</a> = 0, 
<a class="el" href="uset_8h.html#a5fc2e77dd6c8385e0e88fc6a7d72d9b4a0a731ae6bad64429eeb153b8704e4d40">USET_SPAN_CONTAINED</a> = 1, 
<a class="el" href="uset_8h.html#a5fc2e77dd6c8385e0e88fc6a7d72d9b4a79e5e08a799906f1de00a58f189a3f3a">USET_SPAN_SIMPLE</a> = 2, 
<a class="el" href="uset_8h.html#a5fc2e77dd6c8385e0e88fc6a7d72d9b4a6b1ad879b4752df1122a027e528a89d0">USET_SPAN_CONDITION_COUNT</a>
 }<tr class="memdesc:a5fc2e77dd6c8385e0e88fc6a7d72d9b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Argument values for whether span() and similar functions continue while the current character is contained vs.  <a href="uset_8h.html#a5fc2e77dd6c8385e0e88fc6a7d72d9b4">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:a5fc2e77dd6c8385e0e88fc6a7d72d9b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf105ae5beaca1dee30ae54530691fce"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom">{ <a class="el" href="uset_8h.html#aaf105ae5beaca1dee30ae54530691fcea755814d28a97e9ab24a450e008644d81">USET_SERIALIZED_STATIC_ARRAY_CAPACITY</a> =8
 }</td></tr>
<tr class="separator:aaf105ae5beaca1dee30ae54530691fce"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a1445e2108f5b4c26b4a03cb99b3e6e57"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#a1445e2108f5b4c26b4a03cb99b3e6e57">uset_openEmpty</a> (void)</td></tr>
<tr class="memdesc:a1445e2108f5b4c26b4a03cb99b3e6e57"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create an empty USet object.  <a href="#a1445e2108f5b4c26b4a03cb99b3e6e57">More...</a><br /></td></tr>
<tr class="separator:a1445e2108f5b4c26b4a03cb99b3e6e57"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a65a4e226273821916545e45dee27a144"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#a65a4e226273821916545e45dee27a144">uset_open</a> (<a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> start, <a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> end)</td></tr>
<tr class="memdesc:a65a4e226273821916545e45dee27a144"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a USet object that contains the range of characters start..end, inclusive.  <a href="#a65a4e226273821916545e45dee27a144">More...</a><br /></td></tr>
<tr class="separator:a65a4e226273821916545e45dee27a144"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8b79fbe81d1245c15ee17a64c4513b3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#ab8b79fbe81d1245c15ee17a64c4513b3">uset_openPattern</a> (const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *pattern, int32_t patternLength, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *ec)</td></tr>
<tr class="memdesc:ab8b79fbe81d1245c15ee17a64c4513b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a set from the given pattern.  <a href="#ab8b79fbe81d1245c15ee17a64c4513b3">More...</a><br /></td></tr>
<tr class="separator:ab8b79fbe81d1245c15ee17a64c4513b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34a8914b62d0de444d7a2e7981eb343a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#a34a8914b62d0de444d7a2e7981eb343a">uset_openPatternOptions</a> (const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *pattern, int32_t patternLength, uint32_t options, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *ec)</td></tr>
<tr class="memdesc:a34a8914b62d0de444d7a2e7981eb343a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a set from the given pattern.  <a href="#a34a8914b62d0de444d7a2e7981eb343a">More...</a><br /></td></tr>
<tr class="separator:a34a8914b62d0de444d7a2e7981eb343a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb0d0fb8d660204fd7fef7fe920bb70c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#abb0d0fb8d660204fd7fef7fe920bb70c">uset_close</a> (<a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *set)</td></tr>
<tr class="memdesc:abb0d0fb8d660204fd7fef7fe920bb70c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disposes of the storage used by a USet object.  <a href="#abb0d0fb8d660204fd7fef7fe920bb70c">More...</a><br /></td></tr>
<tr class="separator:abb0d0fb8d660204fd7fef7fe920bb70c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1965f27413bb1fee1cc03bdfb061148e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#a1965f27413bb1fee1cc03bdfb061148e">uset_clone</a> (const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *set)</td></tr>
<tr class="memdesc:a1965f27413bb1fee1cc03bdfb061148e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a copy of this object.  <a href="#a1965f27413bb1fee1cc03bdfb061148e">More...</a><br /></td></tr>
<tr class="separator:a1965f27413bb1fee1cc03bdfb061148e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac56a97260c2b1092381111b5004c9e40"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#ac56a97260c2b1092381111b5004c9e40">uset_isFrozen</a> (const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *set)</td></tr>
<tr class="memdesc:ac56a97260c2b1092381111b5004c9e40"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines whether the set has been frozen (made immutable) or not.  <a href="#ac56a97260c2b1092381111b5004c9e40">More...</a><br /></td></tr>
<tr class="separator:ac56a97260c2b1092381111b5004c9e40"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a851fc7d7e6920ff73fb9529d75aba387"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#a851fc7d7e6920ff73fb9529d75aba387">uset_freeze</a> (<a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *set)</td></tr>
<tr class="memdesc:a851fc7d7e6920ff73fb9529d75aba387"><td class="mdescLeft">&#160;</td><td class="mdescRight">Freeze the set (make it immutable).  <a href="#a851fc7d7e6920ff73fb9529d75aba387">More...</a><br /></td></tr>
<tr class="separator:a851fc7d7e6920ff73fb9529d75aba387"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b84cdeb472adde6bfa8b7ea7f33f0d4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#a6b84cdeb472adde6bfa8b7ea7f33f0d4">uset_cloneAsThawed</a> (const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *set)</td></tr>
<tr class="memdesc:a6b84cdeb472adde6bfa8b7ea7f33f0d4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clone the set and make the clone mutable.  <a href="#a6b84cdeb472adde6bfa8b7ea7f33f0d4">More...</a><br /></td></tr>
<tr class="separator:a6b84cdeb472adde6bfa8b7ea7f33f0d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a171f42b2a952b070101378748e72b9bb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#a171f42b2a952b070101378748e72b9bb">uset_set</a> (<a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *set, <a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> start, <a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> end)</td></tr>
<tr class="memdesc:a171f42b2a952b070101378748e72b9bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Causes the USet object to represent the range <code>start - end</code>.  <a href="#a171f42b2a952b070101378748e72b9bb">More...</a><br /></td></tr>
<tr class="separator:a171f42b2a952b070101378748e72b9bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac934accbf4a12c2f8b13a86ffab4c22c"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#ac934accbf4a12c2f8b13a86ffab4c22c">uset_applyPattern</a> (<a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *set, const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *pattern, int32_t patternLength, uint32_t options, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:ac934accbf4a12c2f8b13a86ffab4c22c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Modifies the set to represent the set specified by the given pattern.  <a href="#ac934accbf4a12c2f8b13a86ffab4c22c">More...</a><br /></td></tr>
<tr class="separator:ac934accbf4a12c2f8b13a86ffab4c22c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c3fb05328c5f3f1d5c9d230e3ff150e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#a3c3fb05328c5f3f1d5c9d230e3ff150e">uset_applyIntPropertyValue</a> (<a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *set, <a class="el" href="uchar_8h.html#ae40d616419e74ecc7c80a9febab03199">UProperty</a> prop, int32_t value, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *ec)</td></tr>
<tr class="memdesc:a3c3fb05328c5f3f1d5c9d230e3ff150e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Modifies the set to contain those code points which have the given value for the given binary or enumerated property, as returned by u_getIntPropertyValue.  <a href="#a3c3fb05328c5f3f1d5c9d230e3ff150e">More...</a><br /></td></tr>
<tr class="separator:a3c3fb05328c5f3f1d5c9d230e3ff150e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ea4197ee50887dde5eb6e9deb2f3442"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#a6ea4197ee50887dde5eb6e9deb2f3442">uset_applyPropertyAlias</a> (<a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *set, const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *prop, int32_t propLength, const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *value, int32_t valueLength, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *ec)</td></tr>
<tr class="memdesc:a6ea4197ee50887dde5eb6e9deb2f3442"><td class="mdescLeft">&#160;</td><td class="mdescRight">Modifies the set to contain those code points which have the given value for the given property.  <a href="#a6ea4197ee50887dde5eb6e9deb2f3442">More...</a><br /></td></tr>
<tr class="separator:a6ea4197ee50887dde5eb6e9deb2f3442"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a319e09dd5e7c7987e177da7d31239ed2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#a319e09dd5e7c7987e177da7d31239ed2">uset_resemblesPattern</a> (const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *pattern, int32_t patternLength, int32_t pos)</td></tr>
<tr class="memdesc:a319e09dd5e7c7987e177da7d31239ed2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return true if the given position, in the given pattern, appears to be the start of a UnicodeSet pattern.  <a href="#a319e09dd5e7c7987e177da7d31239ed2">More...</a><br /></td></tr>
<tr class="separator:a319e09dd5e7c7987e177da7d31239ed2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add59ca5626ba49504529174c7f47e4b3"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#add59ca5626ba49504529174c7f47e4b3">uset_toPattern</a> (const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *set, <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *result, int32_t resultCapacity, <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> escapeUnprintable, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *ec)</td></tr>
<tr class="memdesc:add59ca5626ba49504529174c7f47e4b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a string representation of this set.  <a href="#add59ca5626ba49504529174c7f47e4b3">More...</a><br /></td></tr>
<tr class="separator:add59ca5626ba49504529174c7f47e4b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aceae4c9143329a4ad6f742f7e74ad6ce"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#aceae4c9143329a4ad6f742f7e74ad6ce">uset_add</a> (<a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *set, <a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> c)</td></tr>
<tr class="memdesc:aceae4c9143329a4ad6f742f7e74ad6ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds the given character to the given USet.  <a href="#aceae4c9143329a4ad6f742f7e74ad6ce">More...</a><br /></td></tr>
<tr class="separator:aceae4c9143329a4ad6f742f7e74ad6ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb550f469f833d41c14536ea11bf54be"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#acb550f469f833d41c14536ea11bf54be">uset_addAll</a> (<a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *set, const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *additionalSet)</td></tr>
<tr class="memdesc:acb550f469f833d41c14536ea11bf54be"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds all of the elements in the specified set to this set if they're not already present.  <a href="#acb550f469f833d41c14536ea11bf54be">More...</a><br /></td></tr>
<tr class="separator:acb550f469f833d41c14536ea11bf54be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c1050ab4e1056abd819d4fa3b46948d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#a9c1050ab4e1056abd819d4fa3b46948d">uset_addRange</a> (<a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *set, <a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> start, <a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> end)</td></tr>
<tr class="memdesc:a9c1050ab4e1056abd819d4fa3b46948d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds the given range of characters to the given USet.  <a href="#a9c1050ab4e1056abd819d4fa3b46948d">More...</a><br /></td></tr>
<tr class="separator:a9c1050ab4e1056abd819d4fa3b46948d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af2917938713745c91c44b622c61ad01b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#af2917938713745c91c44b622c61ad01b">uset_addString</a> (<a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *set, const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *str, int32_t strLen)</td></tr>
<tr class="memdesc:af2917938713745c91c44b622c61ad01b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds the given string to the given USet.  <a href="#af2917938713745c91c44b622c61ad01b">More...</a><br /></td></tr>
<tr class="separator:af2917938713745c91c44b622c61ad01b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a8489c50fd74324a4dc000bdceea49c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#a7a8489c50fd74324a4dc000bdceea49c">uset_addAllCodePoints</a> (<a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *set, const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *str, int32_t strLen)</td></tr>
<tr class="memdesc:a7a8489c50fd74324a4dc000bdceea49c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds each of the characters in this string to the set.  <a href="#a7a8489c50fd74324a4dc000bdceea49c">More...</a><br /></td></tr>
<tr class="separator:a7a8489c50fd74324a4dc000bdceea49c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe44d95c8c0be1e4ce4399a4ee2f1f8f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#afe44d95c8c0be1e4ce4399a4ee2f1f8f">uset_remove</a> (<a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *set, <a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> c)</td></tr>
<tr class="memdesc:afe44d95c8c0be1e4ce4399a4ee2f1f8f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes the given character from the given USet.  <a href="#afe44d95c8c0be1e4ce4399a4ee2f1f8f">More...</a><br /></td></tr>
<tr class="separator:afe44d95c8c0be1e4ce4399a4ee2f1f8f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b0fc0ae495d8aa755e2f42769e49b62"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#a6b0fc0ae495d8aa755e2f42769e49b62">uset_removeRange</a> (<a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *set, <a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> start, <a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> end)</td></tr>
<tr class="memdesc:a6b0fc0ae495d8aa755e2f42769e49b62"><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes the given range of characters from the given USet.  <a href="#a6b0fc0ae495d8aa755e2f42769e49b62">More...</a><br /></td></tr>
<tr class="separator:a6b0fc0ae495d8aa755e2f42769e49b62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec1fe2c7d06a475d21fbf822fb42b825"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#aec1fe2c7d06a475d21fbf822fb42b825">uset_removeString</a> (<a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *set, const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *str, int32_t strLen)</td></tr>
<tr class="memdesc:aec1fe2c7d06a475d21fbf822fb42b825"><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes the given string to the given USet.  <a href="#aec1fe2c7d06a475d21fbf822fb42b825">More...</a><br /></td></tr>
<tr class="separator:aec1fe2c7d06a475d21fbf822fb42b825"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a762f9d6a016dd5a59a9a6701255e5e96"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#a762f9d6a016dd5a59a9a6701255e5e96">uset_removeAll</a> (<a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *set, const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *removeSet)</td></tr>
<tr class="memdesc:a762f9d6a016dd5a59a9a6701255e5e96"><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes from this set all of its elements that are contained in the specified set.  <a href="#a762f9d6a016dd5a59a9a6701255e5e96">More...</a><br /></td></tr>
<tr class="separator:a762f9d6a016dd5a59a9a6701255e5e96"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49d1074ef9aeca26567d9a35ee0e97b9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#a49d1074ef9aeca26567d9a35ee0e97b9">uset_retain</a> (<a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *set, <a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> start, <a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> end)</td></tr>
<tr class="memdesc:a49d1074ef9aeca26567d9a35ee0e97b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retain only the elements in this set that are contained in the specified range.  <a href="#a49d1074ef9aeca26567d9a35ee0e97b9">More...</a><br /></td></tr>
<tr class="separator:a49d1074ef9aeca26567d9a35ee0e97b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6878a72dcd2249c49924ec98c922ba2e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#a6878a72dcd2249c49924ec98c922ba2e">uset_retainAll</a> (<a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *set, const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *retain)</td></tr>
<tr class="memdesc:a6878a72dcd2249c49924ec98c922ba2e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retains only the elements in this set that are contained in the specified set.  <a href="#a6878a72dcd2249c49924ec98c922ba2e">More...</a><br /></td></tr>
<tr class="separator:a6878a72dcd2249c49924ec98c922ba2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acacac5438cd07fcfe5c4f52a561f36c2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#acacac5438cd07fcfe5c4f52a561f36c2">uset_compact</a> (<a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *set)</td></tr>
<tr class="memdesc:acacac5438cd07fcfe5c4f52a561f36c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reallocate this objects internal structures to take up the least possible space, without changing this object's value.  <a href="#acacac5438cd07fcfe5c4f52a561f36c2">More...</a><br /></td></tr>
<tr class="separator:acacac5438cd07fcfe5c4f52a561f36c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a648e93c5d2893cc65b0eb80f3162544e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#a648e93c5d2893cc65b0eb80f3162544e">uset_complement</a> (<a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *set)</td></tr>
<tr class="memdesc:a648e93c5d2893cc65b0eb80f3162544e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Inverts this set.  <a href="#a648e93c5d2893cc65b0eb80f3162544e">More...</a><br /></td></tr>
<tr class="separator:a648e93c5d2893cc65b0eb80f3162544e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae1d4b880a74aecc07039dfdfb40489c4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#ae1d4b880a74aecc07039dfdfb40489c4">uset_complementAll</a> (<a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *set, const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *complement)</td></tr>
<tr class="memdesc:ae1d4b880a74aecc07039dfdfb40489c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Complements in this set all elements contained in the specified set.  <a href="#ae1d4b880a74aecc07039dfdfb40489c4">More...</a><br /></td></tr>
<tr class="separator:ae1d4b880a74aecc07039dfdfb40489c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a19fe69e5c9597433b6e63ff9d8497e4b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#a19fe69e5c9597433b6e63ff9d8497e4b">uset_clear</a> (<a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *set)</td></tr>
<tr class="memdesc:a19fe69e5c9597433b6e63ff9d8497e4b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes all of the elements from this set.  <a href="#a19fe69e5c9597433b6e63ff9d8497e4b">More...</a><br /></td></tr>
<tr class="separator:a19fe69e5c9597433b6e63ff9d8497e4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf615979d702ddad23605dd75eae2b40"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#acf615979d702ddad23605dd75eae2b40">uset_closeOver</a> (<a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *set, int32_t attributes)</td></tr>
<tr class="memdesc:acf615979d702ddad23605dd75eae2b40"><td class="mdescLeft">&#160;</td><td class="mdescRight">Close this set over the given attribute.  <a href="#acf615979d702ddad23605dd75eae2b40">More...</a><br /></td></tr>
<tr class="separator:acf615979d702ddad23605dd75eae2b40"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53fe590b2c673bf54b433c146fe19cca"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#a53fe590b2c673bf54b433c146fe19cca">uset_removeAllStrings</a> (<a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *set)</td></tr>
<tr class="memdesc:a53fe590b2c673bf54b433c146fe19cca"><td class="mdescLeft">&#160;</td><td class="mdescRight">Remove all strings from this set.  <a href="#a53fe590b2c673bf54b433c146fe19cca">More...</a><br /></td></tr>
<tr class="separator:a53fe590b2c673bf54b433c146fe19cca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42e3efc0c34ebeb18df64b4c38158fd7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#a42e3efc0c34ebeb18df64b4c38158fd7">uset_isEmpty</a> (const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *set)</td></tr>
<tr class="memdesc:a42e3efc0c34ebeb18df64b4c38158fd7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns TRUE if the given USet contains no characters and no strings.  <a href="#a42e3efc0c34ebeb18df64b4c38158fd7">More...</a><br /></td></tr>
<tr class="separator:a42e3efc0c34ebeb18df64b4c38158fd7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8d9773ae28c70f253d1ba48ee4957f5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#af8d9773ae28c70f253d1ba48ee4957f5">uset_contains</a> (const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *set, <a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> c)</td></tr>
<tr class="memdesc:af8d9773ae28c70f253d1ba48ee4957f5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns TRUE if the given USet contains the given character.  <a href="#af8d9773ae28c70f253d1ba48ee4957f5">More...</a><br /></td></tr>
<tr class="separator:af8d9773ae28c70f253d1ba48ee4957f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adab26ac0159e09e748869290be18bf2e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#adab26ac0159e09e748869290be18bf2e">uset_containsRange</a> (const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *set, <a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> start, <a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> end)</td></tr>
<tr class="memdesc:adab26ac0159e09e748869290be18bf2e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns TRUE if the given USet contains all characters c where start &lt;= c &amp;&amp; c &lt;= end.  <a href="#adab26ac0159e09e748869290be18bf2e">More...</a><br /></td></tr>
<tr class="separator:adab26ac0159e09e748869290be18bf2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e23614c8863a4cf606f55d38aecbe5e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#a2e23614c8863a4cf606f55d38aecbe5e">uset_containsString</a> (const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *set, const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *str, int32_t strLen)</td></tr>
<tr class="memdesc:a2e23614c8863a4cf606f55d38aecbe5e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns TRUE if the given USet contains the given string.  <a href="#a2e23614c8863a4cf606f55d38aecbe5e">More...</a><br /></td></tr>
<tr class="separator:a2e23614c8863a4cf606f55d38aecbe5e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a902222c7bd584a91102b26c77842be50"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#a902222c7bd584a91102b26c77842be50">uset_indexOf</a> (const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *set, <a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> c)</td></tr>
<tr class="memdesc:a902222c7bd584a91102b26c77842be50"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the index of the given character within this set, where the set is ordered by ascending code point.  <a href="#a902222c7bd584a91102b26c77842be50">More...</a><br /></td></tr>
<tr class="separator:a902222c7bd584a91102b26c77842be50"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a391f062a8df24a271c2148b106880188"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#a391f062a8df24a271c2148b106880188">uset_charAt</a> (const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *set, int32_t charIndex)</td></tr>
<tr class="memdesc:a391f062a8df24a271c2148b106880188"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the character at the given index within this set, where the set is ordered by ascending code point.  <a href="#a391f062a8df24a271c2148b106880188">More...</a><br /></td></tr>
<tr class="separator:a391f062a8df24a271c2148b106880188"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a83f6b0b79bbfa0a65248fb39f40e88dd"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#a83f6b0b79bbfa0a65248fb39f40e88dd">uset_size</a> (const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *set)</td></tr>
<tr class="memdesc:a83f6b0b79bbfa0a65248fb39f40e88dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of characters and strings contained in the given USet.  <a href="#a83f6b0b79bbfa0a65248fb39f40e88dd">More...</a><br /></td></tr>
<tr class="separator:a83f6b0b79bbfa0a65248fb39f40e88dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d09ac37a8e0fbf5d38ef8281a3f4b3f"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#a3d09ac37a8e0fbf5d38ef8281a3f4b3f">uset_getItemCount</a> (const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *set)</td></tr>
<tr class="memdesc:a3d09ac37a8e0fbf5d38ef8281a3f4b3f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of items in this set.  <a href="#a3d09ac37a8e0fbf5d38ef8281a3f4b3f">More...</a><br /></td></tr>
<tr class="separator:a3d09ac37a8e0fbf5d38ef8281a3f4b3f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d9da52f345a1b4de5a933d8a3213070"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#a1d9da52f345a1b4de5a933d8a3213070">uset_getItem</a> (const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *set, int32_t itemIndex, <a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> *start, <a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> *end, <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *str, int32_t strCapacity, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *ec)</td></tr>
<tr class="memdesc:a1d9da52f345a1b4de5a933d8a3213070"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an item of this set.  <a href="#a1d9da52f345a1b4de5a933d8a3213070">More...</a><br /></td></tr>
<tr class="separator:a1d9da52f345a1b4de5a933d8a3213070"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af55a5a2133c850561c6bd6f53e32a91c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#af55a5a2133c850561c6bd6f53e32a91c">uset_containsAll</a> (const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *set1, const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *set2)</td></tr>
<tr class="memdesc:af55a5a2133c850561c6bd6f53e32a91c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if set1 contains all the characters and strings of set2.  <a href="#af55a5a2133c850561c6bd6f53e32a91c">More...</a><br /></td></tr>
<tr class="separator:af55a5a2133c850561c6bd6f53e32a91c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb76bbc067c2d78c697a55b01d170674"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#adb76bbc067c2d78c697a55b01d170674">uset_containsAllCodePoints</a> (const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *set, const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *str, int32_t strLen)</td></tr>
<tr class="memdesc:adb76bbc067c2d78c697a55b01d170674"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if this set contains all the characters of the given string.  <a href="#adb76bbc067c2d78c697a55b01d170674">More...</a><br /></td></tr>
<tr class="separator:adb76bbc067c2d78c697a55b01d170674"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab1fd51712466a660f821f1ae4948e009"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#ab1fd51712466a660f821f1ae4948e009">uset_containsNone</a> (const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *set1, const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *set2)</td></tr>
<tr class="memdesc:ab1fd51712466a660f821f1ae4948e009"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if set1 contains none of the characters and strings of set2.  <a href="#ab1fd51712466a660f821f1ae4948e009">More...</a><br /></td></tr>
<tr class="separator:ab1fd51712466a660f821f1ae4948e009"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae05a6aa4c5572219700ddb142a4e2a71"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#ae05a6aa4c5572219700ddb142a4e2a71">uset_containsSome</a> (const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *set1, const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *set2)</td></tr>
<tr class="memdesc:ae05a6aa4c5572219700ddb142a4e2a71"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if set1 contains some of the characters and strings of set2.  <a href="#ae05a6aa4c5572219700ddb142a4e2a71">More...</a><br /></td></tr>
<tr class="separator:ae05a6aa4c5572219700ddb142a4e2a71"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c2ae031cbb8557b0106a571dfbdf038"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#a1c2ae031cbb8557b0106a571dfbdf038">uset_span</a> (const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *set, const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *s, int32_t length, <a class="el" href="uset_8h.html#a5fc2e77dd6c8385e0e88fc6a7d72d9b4">USetSpanCondition</a> spanCondition)</td></tr>
<tr class="memdesc:a1c2ae031cbb8557b0106a571dfbdf038"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the length of the initial substring of the input string which consists only of characters and strings that are contained in this set (USET_SPAN_CONTAINED, USET_SPAN_SIMPLE), or only of characters and strings that are not contained in this set (USET_SPAN_NOT_CONTAINED).  <a href="#a1c2ae031cbb8557b0106a571dfbdf038">More...</a><br /></td></tr>
<tr class="separator:a1c2ae031cbb8557b0106a571dfbdf038"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f38fd1f93c2908ff3bd9290a849c2f7"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#a8f38fd1f93c2908ff3bd9290a849c2f7">uset_spanBack</a> (const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *set, const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *s, int32_t length, <a class="el" href="uset_8h.html#a5fc2e77dd6c8385e0e88fc6a7d72d9b4">USetSpanCondition</a> spanCondition)</td></tr>
<tr class="memdesc:a8f38fd1f93c2908ff3bd9290a849c2f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the start of the trailing substring of the input string which consists only of characters and strings that are contained in this set (USET_SPAN_CONTAINED, USET_SPAN_SIMPLE), or only of characters and strings that are not contained in this set (USET_SPAN_NOT_CONTAINED).  <a href="#a8f38fd1f93c2908ff3bd9290a849c2f7">More...</a><br /></td></tr>
<tr class="separator:a8f38fd1f93c2908ff3bd9290a849c2f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a544f014d315c49f98c39aac7d4fe6a9a"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#a544f014d315c49f98c39aac7d4fe6a9a">uset_spanUTF8</a> (const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *set, const char *s, int32_t length, <a class="el" href="uset_8h.html#a5fc2e77dd6c8385e0e88fc6a7d72d9b4">USetSpanCondition</a> spanCondition)</td></tr>
<tr class="memdesc:a544f014d315c49f98c39aac7d4fe6a9a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the length of the initial substring of the input string which consists only of characters and strings that are contained in this set (USET_SPAN_CONTAINED, USET_SPAN_SIMPLE), or only of characters and strings that are not contained in this set (USET_SPAN_NOT_CONTAINED).  <a href="#a544f014d315c49f98c39aac7d4fe6a9a">More...</a><br /></td></tr>
<tr class="separator:a544f014d315c49f98c39aac7d4fe6a9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af3533477f8a22a4988b625ecbb9df8cf"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#af3533477f8a22a4988b625ecbb9df8cf">uset_spanBackUTF8</a> (const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *set, const char *s, int32_t length, <a class="el" href="uset_8h.html#a5fc2e77dd6c8385e0e88fc6a7d72d9b4">USetSpanCondition</a> spanCondition)</td></tr>
<tr class="memdesc:af3533477f8a22a4988b625ecbb9df8cf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the start of the trailing substring of the input string which consists only of characters and strings that are contained in this set (USET_SPAN_CONTAINED, USET_SPAN_SIMPLE), or only of characters and strings that are not contained in this set (USET_SPAN_NOT_CONTAINED).  <a href="#af3533477f8a22a4988b625ecbb9df8cf">More...</a><br /></td></tr>
<tr class="separator:af3533477f8a22a4988b625ecbb9df8cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a027edbf3f81914abb7a703fb5b83bbcf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#a027edbf3f81914abb7a703fb5b83bbcf">uset_equals</a> (const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *set1, const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *set2)</td></tr>
<tr class="memdesc:a027edbf3f81914abb7a703fb5b83bbcf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if set1 contains all of the characters and strings of set2, and vis versa.  <a href="#a027edbf3f81914abb7a703fb5b83bbcf">More...</a><br /></td></tr>
<tr class="separator:a027edbf3f81914abb7a703fb5b83bbcf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b1d3c1676d23e1dce2b6532bdc00aed"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#a7b1d3c1676d23e1dce2b6532bdc00aed">uset_serialize</a> (const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *set, uint16_t *dest, int32_t destCapacity, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *pErrorCode)</td></tr>
<tr class="memdesc:a7b1d3c1676d23e1dce2b6532bdc00aed"><td class="mdescLeft">&#160;</td><td class="mdescRight">Serializes this set into an array of 16-bit integers.  <a href="#a7b1d3c1676d23e1dce2b6532bdc00aed">More...</a><br /></td></tr>
<tr class="separator:a7b1d3c1676d23e1dce2b6532bdc00aed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee4c3abbd48d9d899f6250d498a29168"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#aee4c3abbd48d9d899f6250d498a29168">uset_getSerializedSet</a> (<a class="el" href="structUSerializedSet.html">USerializedSet</a> *fillSet, const uint16_t *src, int32_t srcLength)</td></tr>
<tr class="memdesc:aee4c3abbd48d9d899f6250d498a29168"><td class="mdescLeft">&#160;</td><td class="mdescRight">Given a serialized array, fill in the given serialized set object.  <a href="#aee4c3abbd48d9d899f6250d498a29168">More...</a><br /></td></tr>
<tr class="separator:aee4c3abbd48d9d899f6250d498a29168"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a550b1efa4844dc9d745ca7c01836bb10"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#a550b1efa4844dc9d745ca7c01836bb10">uset_setSerializedToOne</a> (<a class="el" href="structUSerializedSet.html">USerializedSet</a> *fillSet, <a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> c)</td></tr>
<tr class="memdesc:a550b1efa4844dc9d745ca7c01836bb10"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the <a class="el" href="structUSerializedSet.html" title="A serialized form of a Unicode set. ">USerializedSet</a> to contain the given character (and nothing else).  <a href="#a550b1efa4844dc9d745ca7c01836bb10">More...</a><br /></td></tr>
<tr class="separator:a550b1efa4844dc9d745ca7c01836bb10"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a4f37a9684cfd16c1271ff6cbaf4ea6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#a4a4f37a9684cfd16c1271ff6cbaf4ea6">uset_serializedContains</a> (const <a class="el" href="structUSerializedSet.html">USerializedSet</a> *set, <a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> c)</td></tr>
<tr class="memdesc:a4a4f37a9684cfd16c1271ff6cbaf4ea6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns TRUE if the given <a class="el" href="structUSerializedSet.html" title="A serialized form of a Unicode set. ">USerializedSet</a> contains the given character.  <a href="#a4a4f37a9684cfd16c1271ff6cbaf4ea6">More...</a><br /></td></tr>
<tr class="separator:a4a4f37a9684cfd16c1271ff6cbaf4ea6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b09f3f07927c1fbae2b05cce3a22e4f"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#a4b09f3f07927c1fbae2b05cce3a22e4f">uset_getSerializedRangeCount</a> (const <a class="el" href="structUSerializedSet.html">USerializedSet</a> *set)</td></tr>
<tr class="memdesc:a4b09f3f07927c1fbae2b05cce3a22e4f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of disjoint ranges of characters contained in the given serialized set.  <a href="#a4b09f3f07927c1fbae2b05cce3a22e4f">More...</a><br /></td></tr>
<tr class="separator:a4b09f3f07927c1fbae2b05cce3a22e4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a197df6a2d0d9cafc8561d6fab55148"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uset_8h.html#a6a197df6a2d0d9cafc8561d6fab55148">uset_getSerializedRange</a> (const <a class="el" href="structUSerializedSet.html">USerializedSet</a> *set, int32_t rangeIndex, <a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> *pStart, <a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> *pEnd)</td></tr>
<tr class="memdesc:a6a197df6a2d0d9cafc8561d6fab55148"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a range of characters contained in the given serialized set.  <a href="#a6a197df6a2d0d9cafc8561d6fab55148">More...</a><br /></td></tr>
<tr class="separator:a6a197df6a2d0d9cafc8561d6fab55148"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>C API: Unicode Set. </p>
<p>This is a C wrapper around the C++ UnicodeSet class.</p>

<p>Definition in file <a class="el" href="uset_8h_source.html">uset.h</a>.</p>
</div><h2 class="groupheader">Typedef Documentation</h2>
<a class="anchor" id="a6df273c631003b7ebc3a5b05c2ab9ab7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="structUSerializedSet.html">USerializedSet</a>  <a class="el" href="structUSerializedSet.html">USerializedSet</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>A serialized form of a Unicode set. </p>
<p>Limited manipulations are possible directly on a serialized set. See below. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable002553">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a class="anchor" id="adce3fef7c15d7c78196bf977ac96ec9c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>A UnicodeSet. </p>
<p>Use the uset_* API to manipulate. Create with uset_open*, and destroy with uset_close. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable002550">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

<p>Definition at line <a class="el" href="uset_8h_source.html#l00043">43</a> of file <a class="el" href="uset_8h_source.html">uset.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac3d7c617bb22a04adeb39320ebec2bd1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef enum <a class="el" href="uset_8h.html#a5fc2e77dd6c8385e0e88fc6a7d72d9b4">USetSpanCondition</a>  <a class="el" href="uset_8h.html#a5fc2e77dd6c8385e0e88fc6a7d72d9b4">USetSpanCondition</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Argument values for whether span() and similar functions continue while the current character is contained vs. </p>
<p>not contained in the set.</p>
<p>The functionality is straightforward for sets with only single code points, without strings (which is the common case):</p><ul>
<li>USET_SPAN_CONTAINED and USET_SPAN_SIMPLE work the same.</li>
<li>USET_SPAN_CONTAINED and USET_SPAN_SIMPLE are inverses of USET_SPAN_NOT_CONTAINED.</li>
<li>span() and spanBack() partition any string the same way when alternating between span(USET_SPAN_NOT_CONTAINED) and span(either "contained" condition).</li>
<li>Using a complemented (inverted) set and the opposite span conditions yields the same results.</li>
</ul>
<p>When a set contains multi-code point strings, then these statements may not be true, depending on the strings in the set (for example, whether they overlap with each other) and the string that is processed. For a set with strings:</p><ul>
<li>The complement of the set contains the opposite set of code points, but the same set of strings. Therefore, complementing both the set and the span conditions may yield different results.</li>
<li>When starting spans at different positions in a string (span(s, ...) vs. span(s+1, ...)) the ends of the spans may be different because a set string may start before the later position.</li>
<li>span(USET_SPAN_SIMPLE) may be shorter than span(USET_SPAN_CONTAINED) because it will not recursively try all possible paths. For example, with a set which contains the three strings "xy", "xya" and "ax", span("xyax", USET_SPAN_CONTAINED) will return 4 but span("xyax", USET_SPAN_SIMPLE) will return 3. span(USET_SPAN_SIMPLE) will never be longer than span(USET_SPAN_CONTAINED).</li>
<li>With either "contained" condition, span() and spanBack() may partition a string in different ways. For example, with a set which contains the two strings "ab" and "ba", and when processing the string "aba", span() will yield contained/not-contained boundaries of { 0, 2, 3 } while spanBack() will yield boundaries of { 0, 1, 3 }.</li>
</ul>
<p>Note: If it is important to get the same boundaries whether iterating forward or backward through a string, then either only span() should be used and the boundaries cached for backward operation, or an ICU BreakIterator could be used.</p>
<p>Note: Unpaired surrogates are treated like surrogate code points. Similarly, set strings match only on code point boundaries, never in the middle of a surrogate pair. Illegal UTF-8 sequences are treated like U+FFFD. When processing UTF-8 strings, malformed set strings (strings with unpaired surrogates which cannot be converted to UTF-8) are ignored.</p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002552">Stable:</a></b></dt><dd>ICU 3.8 </dd></dl>

</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a class="anchor" id="aba01db17f4a2bfbc3db60dc172972a25"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">anonymous enum</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Bitmask values to be passed to <a class="el" href="uset_8h.html#a34a8914b62d0de444d7a2e7981eb343a" title="Creates a set from the given pattern. ">uset_openPatternOptions()</a> or <a class="el" href="uset_8h.html#ac934accbf4a12c2f8b13a86ffab4c22c" title="Modifies the set to represent the set specified by the given pattern. ">uset_applyPattern()</a> taking an option parameter. </p>
<dl class="stable"><dt><b>Stable:</b></dt><dd>ICU 2.4 </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="aba01db17f4a2bfbc3db60dc172972a25a0273be77d90674cbb82a37f9edb504ff"></a>USET_IGNORE_SPACE&#160;</td><td class="fielddoc">
<p>Ignore white space within patterns unless quoted or escaped. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002610">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="aba01db17f4a2bfbc3db60dc172972a25a740685a55f610ca84868b60aef83db7b"></a>USET_CASE_INSENSITIVE&#160;</td><td class="fielddoc">
<p>Enable case insensitive matching. </p>
<p>E.g., "[ab]" with this flag will match 'a', 'A', 'b', and 'B'. "[^ab]" with this flag will match all except 'a', 'A', 'b', and 'B'. This performs a full closure over case mappings, e.g. U+017F for s.</p>
<p>The resulting set is a superset of the input for the code points but not for the strings. It performs a case mapping closure of the code points and adds full case folding strings for the code points, and reduces strings of the original set to their full case folding equivalents.</p>
<p>This is designed for case-insensitive matches, for example in regular expressions. The full code point case closure allows checking of an input character directly against the closure set. Strings are matched by comparing the case-folded form from the closure set with an incremental case folding of the string in question.</p>
<p>The closure set will also contain single code points if the original set contained case-equivalent strings (like U+00DF for "ss" or "Ss" etc.). This is not necessary (that is, redundant) for the above matching method but results in the same closure sets regardless of whether the original set contained the code point or a string.</p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002611">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="aba01db17f4a2bfbc3db60dc172972a25a68133c690985f92d95996e4cf9abd80d"></a>USET_ADD_CASE_MAPPINGS&#160;</td><td class="fielddoc">
<p>Enable case insensitive matching. </p>
<p>E.g., "[ab]" with this flag will match 'a', 'A', 'b', and 'B'. "[^ab]" with this flag will match all except 'a', 'A', 'b', and 'B'. This adds the lower-, title-, and uppercase mappings as well as the case folding of each existing element in the set. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable002612">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>
</td></tr>
</table>

<p>Definition at line <a class="el" href="uset_8h_source.html#l00051">51</a> of file <a class="el" href="uset_8h_source.html">uset.h</a>.</p>

</div>
</div>
<a class="anchor" id="aaf105ae5beaca1dee30ae54530691fce"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">anonymous enum</td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="aaf105ae5beaca1dee30ae54530691fcea755814d28a97e9ab24a450e008644d81"></a>USET_SERIALIZED_STATIC_ARRAY_CAPACITY&#160;</td><td class="fielddoc">
<p>Capacity of <a class="el" href="structUSerializedSet.html#a081a169f02575428ad27411aa5451bfc" title="A small buffer for the array to reduce memory allocations. ">USerializedSet::staticArray</a>. </p>
<p>Enough for any single-code point set. Also provides padding for nice sizeof(USerializedSet). </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable002616">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>
</td></tr>
</table>

<p>Definition at line <a class="el" href="uset_8h_source.html#l00210">210</a> of file <a class="el" href="uset_8h_source.html">uset.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5fc2e77dd6c8385e0e88fc6a7d72d9b4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="uset_8h.html#a5fc2e77dd6c8385e0e88fc6a7d72d9b4">USetSpanCondition</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Argument values for whether span() and similar functions continue while the current character is contained vs. </p>
<p>not contained in the set.</p>
<p>The functionality is straightforward for sets with only single code points, without strings (which is the common case):</p><ul>
<li>USET_SPAN_CONTAINED and USET_SPAN_SIMPLE work the same.</li>
<li>USET_SPAN_CONTAINED and USET_SPAN_SIMPLE are inverses of USET_SPAN_NOT_CONTAINED.</li>
<li>span() and spanBack() partition any string the same way when alternating between span(USET_SPAN_NOT_CONTAINED) and span(either "contained" condition).</li>
<li>Using a complemented (inverted) set and the opposite span conditions yields the same results.</li>
</ul>
<p>When a set contains multi-code point strings, then these statements may not be true, depending on the strings in the set (for example, whether they overlap with each other) and the string that is processed. For a set with strings:</p><ul>
<li>The complement of the set contains the opposite set of code points, but the same set of strings. Therefore, complementing both the set and the span conditions may yield different results.</li>
<li>When starting spans at different positions in a string (span(s, ...) vs. span(s+1, ...)) the ends of the spans may be different because a set string may start before the later position.</li>
<li>span(USET_SPAN_SIMPLE) may be shorter than span(USET_SPAN_CONTAINED) because it will not recursively try all possible paths. For example, with a set which contains the three strings "xy", "xya" and "ax", span("xyax", USET_SPAN_CONTAINED) will return 4 but span("xyax", USET_SPAN_SIMPLE) will return 3. span(USET_SPAN_SIMPLE) will never be longer than span(USET_SPAN_CONTAINED).</li>
<li>With either "contained" condition, span() and spanBack() may partition a string in different ways. For example, with a set which contains the two strings "ab" and "ba", and when processing the string "aba", span() will yield contained/not-contained boundaries of { 0, 2, 3 } while spanBack() will yield boundaries of { 0, 1, 3 }.</li>
</ul>
<p>Note: If it is important to get the same boundaries whether iterating forward or backward through a string, then either only span() should be used and the boundaries cached for backward operation, or an ICU BreakIterator could be used.</p>
<p>Note: Unpaired surrogates are treated like surrogate code points. Similarly, set strings match only on code point boundaries, never in the middle of a surrogate pair. Illegal UTF-8 sequences are treated like U+FFFD. When processing UTF-8 strings, malformed set strings (strings with unpaired surrogates which cannot be converted to UTF-8) are ignored.</p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002552">Stable:</a></b></dt><dd>ICU 3.8 </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a5fc2e77dd6c8385e0e88fc6a7d72d9b4a02c1d43f074e8153eddaa79eb74d80f4"></a>USET_SPAN_NOT_CONTAINED&#160;</td><td class="fielddoc">
<p>Continues a span() while there is no set element at the current position. </p>
<p>Increments by one code point at a time. Stops before the first set element (character or string). (For code points only, this is like while contains(current)==FALSE).</p>
<p>When span() returns, the substring between where it started and the position it returned consists only of characters that are not in the set, and none of its strings overlap with the span.</p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002613">Stable:</a></b></dt><dd>ICU 3.8 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a5fc2e77dd6c8385e0e88fc6a7d72d9b4a0a731ae6bad64429eeb153b8704e4d40"></a>USET_SPAN_CONTAINED&#160;</td><td class="fielddoc">
<p>Spans the longest substring that is a concatenation of set elements (characters or strings). </p>
<p>(For characters only, this is like while contains(current)==TRUE).</p>
<p>When span() returns, the substring between where it started and the position it returned consists only of set elements (characters or strings) that are in the set.</p>
<p>If a set contains strings, then the span will be the longest substring for which there exists at least one non-overlapping concatenation of set elements (characters or strings). This is equivalent to a POSIX regular expression for <code>(OR of each set element)*</code>. (Java/ICU/Perl regex stops at the first match of an OR.)</p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002614">Stable:</a></b></dt><dd>ICU 3.8 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a5fc2e77dd6c8385e0e88fc6a7d72d9b4a79e5e08a799906f1de00a58f189a3f3a"></a>USET_SPAN_SIMPLE&#160;</td><td class="fielddoc">
<p>Continues a span() while there is a set element at the current position. </p>
<p>Increments by the longest matching element at each position. (For characters only, this is like while contains(current)==TRUE).</p>
<p>When span() returns, the substring between where it started and the position it returned consists only of set elements (characters or strings) that are in the set.</p>
<p>If a set only contains single characters, then this is the same as USET_SPAN_CONTAINED.</p>
<p>If a set contains strings, then the span will be the longest substring with a match at each position with the longest single set element (character or string).</p>
<p>Use this span condition together with other longest-match algorithms, such as ICU converters (<a class="el" href="ucnv_8h.html#aec7c273c8ce917ff75224e25914c53be" title="Returns the set of Unicode code points that can be converted by an ICU converter. ...">ucnv_getUnicodeSet()</a>).</p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002615">Stable:</a></b></dt><dd>ICU 3.8 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a5fc2e77dd6c8385e0e88fc6a7d72d9b4a6b1ad879b4752df1122a027e528a89d0"></a>USET_SPAN_CONDITION_COUNT&#160;</td><td class="fielddoc">
<p>One more than the last span condition. </p>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000128">Deprecated:</a></b></dt><dd>ICU 58 The numeric value may change over time, see ICU ticket #12420. </dd></dl>
</td></tr>
</table>

<p>Definition at line <a class="el" href="uset_8h_source.html#l00152">152</a> of file <a class="el" href="uset_8h_source.html">uset.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="aceae4c9143329a4ad6f742f7e74ad6ce"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void uset_add </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>set</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a>&#160;</td>
          <td class="paramname"><em>c</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adds the given character to the given USet. </p>
<p>After this call, uset_contains(set, c) will return TRUE. A frozen set will not be modified. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">set</td><td>the object to which to add the character </td></tr>
    <tr><td class="paramname">c</td><td>the character to add </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002569">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a class="anchor" id="acb550f469f833d41c14536ea11bf54be"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void uset_addAll </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>set</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>additionalSet</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adds all of the elements in the specified set to this set if they're not already present. </p>
<p>This operation effectively modifies this set so that its value is the <em>union</em> of the two sets. The behavior of this operation is unspecified if the specified collection is modified while the operation is in progress. A frozen set will not be modified.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">set</td><td>the object to which to add the set </td></tr>
    <tr><td class="paramname">additionalSet</td><td>the source set whose elements are to be added to this set. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002570">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>

</div>
</div>
<a class="anchor" id="a7a8489c50fd74324a4dc000bdceea49c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void uset_addAllCodePoints </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>set</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td>
          <td class="paramname"><em>str</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>strLen</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adds each of the characters in this string to the set. </p>
<p>Thus "ch" =&gt; {"c", "h"} If this set already any particular character, it has no effect on that character. A frozen set will not be modified. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">set</td><td>the object to which to add the character </td></tr>
    <tr><td class="paramname">str</td><td>the source string </td></tr>
    <tr><td class="paramname">strLen</td><td>the length of the string or -1 if null terminated. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002573">Stable:</a></b></dt><dd>ICU 3.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a9c1050ab4e1056abd819d4fa3b46948d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void uset_addRange </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>set</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a>&#160;</td>
          <td class="paramname"><em>start</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a>&#160;</td>
          <td class="paramname"><em>end</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adds the given range of characters to the given USet. </p>
<p>After this call, uset_contains(set, start, end) will return TRUE. A frozen set will not be modified. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">set</td><td>the object to which to add the character </td></tr>
    <tr><td class="paramname">start</td><td>the first character of the range to add, inclusive </td></tr>
    <tr><td class="paramname">end</td><td>the last character of the range to add, inclusive </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002571">Stable:</a></b></dt><dd>ICU 2.2 </dd></dl>

</div>
</div>
<a class="anchor" id="af2917938713745c91c44b622c61ad01b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void uset_addString </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>set</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td>
          <td class="paramname"><em>str</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>strLen</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adds the given string to the given USet. </p>
<p>After this call, uset_containsString(set, str, strLen) will return TRUE. A frozen set will not be modified. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">set</td><td>the object to which to add the character </td></tr>
    <tr><td class="paramname">str</td><td>the string to add </td></tr>
    <tr><td class="paramname">strLen</td><td>the length of the string or -1 if null terminated. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002572">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a3c3fb05328c5f3f1d5c9d230e3ff150e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void uset_applyIntPropertyValue </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>set</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="uchar_8h.html#ae40d616419e74ecc7c80a9febab03199">UProperty</a>&#160;</td>
          <td class="paramname"><em>prop</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>ec</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Modifies the set to contain those code points which have the given value for the given binary or enumerated property, as returned by u_getIntPropertyValue. </p>
<p>Prior contents of this set are lost. A frozen set will not be modified.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">set</td><td>the object to contain the code points defined by the property</td></tr>
    <tr><td class="paramname">prop</td><td>a property in the range UCHAR_BIN_START..UCHAR_BIN_LIMIT-1 or UCHAR_INT_START..UCHAR_INT_LIMIT-1 or UCHAR_MASK_START..UCHAR_MASK_LIMIT-1.</td></tr>
    <tr><td class="paramname">value</td><td>a value in the range u_getIntPropertyMinValue(prop).. u_getIntPropertyMaxValue(prop), with one exception. If prop is UCHAR_GENERAL_CATEGORY_MASK, then value should not be a UCharCategory, but rather a mask value produced by <a class="el" href="uchar_8h.html#a6def30b7d6d22c7de63c2a80596ee847" title="Get a single-bit bit set for the general category of a character. ">U_GET_GC_MASK()</a>. This allows grouped categories such as [:L:] to be represented.</td></tr>
    <tr><td class="paramname">ec</td><td>error code input/output parameter</td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002565">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

</div>
</div>
<a class="anchor" id="ac934accbf4a12c2f8b13a86ffab4c22c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t uset_applyPattern </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>set</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td>
          <td class="paramname"><em>pattern</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>patternLength</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>options</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Modifies the set to represent the set specified by the given pattern. </p>
<p>See the UnicodeSet class description for the syntax of the pattern language. See also the User Guide chapter about UnicodeSet. <em>Empties the set passed before applying the pattern.</em> A frozen set will not be modified. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">set</td><td>The set to which the pattern is to be applied. </td></tr>
    <tr><td class="paramname">pattern</td><td>A pointer to UChar string specifying what characters are in the set. The character at pattern[0] must be a '['. </td></tr>
    <tr><td class="paramname">patternLength</td><td>The length of the UChar string. -1 if NUL terminated. </td></tr>
    <tr><td class="paramname">options</td><td>A bitmask for options to apply to the pattern. Valid options are USET_IGNORE_SPACE and USET_CASE_INSENSITIVE. </td></tr>
    <tr><td class="paramname">status</td><td>Returns an error if the pattern cannot be parsed. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Upon successful parse, the value is either the index of the character after the closing ']' of the parsed pattern. If the status code indicates failure, then the return value is the index of the error in the source.</dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002564">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>

</div>
</div>
<a class="anchor" id="a6ea4197ee50887dde5eb6e9deb2f3442"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void uset_applyPropertyAlias </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>set</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td>
          <td class="paramname"><em>prop</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>propLength</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td>
          <td class="paramname"><em>value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>valueLength</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>ec</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Modifies the set to contain those code points which have the given value for the given property. </p>
<p>Prior contents of this set are lost. A frozen set will not be modified.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">set</td><td>the object to contain the code points defined by the given property and value alias</td></tr>
    <tr><td class="paramname">prop</td><td>a string specifying a property alias, either short or long. The name is matched loosely. See PropertyAliases.txt for names and a description of loose matching. If the value string is empty, then this string is interpreted as either a General_Category value alias, a Script value alias, a binary property alias, or a special ID. Special IDs are matched loosely and correspond to the following sets:</td></tr>
  </table>
  </dd>
</dl>
<p>"ANY" = [\u0000-\U0010FFFF], "ASCII" = [\u0000-\u007F], "Assigned" = [:^Cn:].</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">propLength</td><td>the length of the prop, or -1 if NULL</td></tr>
    <tr><td class="paramname">value</td><td>a string specifying a value alias, either short or long. The name is matched loosely. See PropertyValueAliases.txt for names and a description of loose matching. In addition to aliases listed, numeric values and canonical combining classes may be expressed numerically, e.g., ("nv", "0.5") or ("ccc", "220"). The value string may also be empty.</td></tr>
    <tr><td class="paramname">valueLength</td><td>the length of the value, or -1 if NULL</td></tr>
    <tr><td class="paramname">ec</td><td>error code input/output parameter</td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002566">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

</div>
</div>
<a class="anchor" id="a391f062a8df24a271c2148b106880188"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> uset_charAt </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>set</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>charIndex</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the character at the given index within this set, where the set is ordered by ascending code point. </p>
<p>If the index is out of range, return (UChar32)-1. The inverse of this method is <code>indexOf()</code>. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">set</td><td>the set </td></tr>
    <tr><td class="paramname">charIndex</td><td>an index from 0..size()-1 to obtain the char for </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the character at the given index, or (UChar32)-1. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002591">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

</div>
</div>
<a class="anchor" id="a19fe69e5c9597433b6e63ff9d8497e4b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void uset_clear </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>set</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Removes all of the elements from this set. </p>
<p>This set will be empty after this call returns. A frozen set will not be modified. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">set</td><td>the set </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002583">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a1965f27413bb1fee1cc03bdfb061148e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a>* uset_clone </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>set</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns a copy of this object. </p>
<p>If this set is frozen, then the clone will be frozen as well. Use <a class="el" href="uset_8h.html#a6b84cdeb472adde6bfa8b7ea7f33f0d4" title="Clone the set and make the clone mutable. ">uset_cloneAsThawed()</a> for a mutable clone of a frozen set. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">set</td><td>the original set </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the newly allocated copy of the set </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="uset_8h.html#a6b84cdeb472adde6bfa8b7ea7f33f0d4" title="Clone the set and make the clone mutable. ">uset_cloneAsThawed</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002559">Stable:</a></b></dt><dd>ICU 3.8 </dd></dl>

</div>
</div>
<a class="anchor" id="a6b84cdeb472adde6bfa8b7ea7f33f0d4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a>* uset_cloneAsThawed </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>set</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clone the set and make the clone mutable. </p>
<p>See the ICU4J Freezable interface for details. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">set</td><td>the set </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the mutable clone </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="uset_8h.html#a851fc7d7e6920ff73fb9529d75aba387" title="Freeze the set (make it immutable). ">uset_freeze</a> </dd>
<dd>
<a class="el" href="uset_8h.html#ac56a97260c2b1092381111b5004c9e40" title="Determines whether the set has been frozen (made immutable) or not. ">uset_isFrozen</a> </dd>
<dd>
<a class="el" href="uset_8h.html#a1965f27413bb1fee1cc03bdfb061148e" title="Returns a copy of this object. ">uset_clone</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002562">Stable:</a></b></dt><dd>ICU 3.8 </dd></dl>

</div>
</div>
<a class="anchor" id="abb0d0fb8d660204fd7fef7fe920bb70c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void uset_close </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>set</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Disposes of the storage used by a USet object. </p>
<p>This function should be called exactly once for objects returned by <a class="el" href="uset_8h.html#a65a4e226273821916545e45dee27a144" title="Creates a USet object that contains the range of characters start..end, inclusive. ">uset_open()</a>. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">set</td><td>the object to dispose of </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002558">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a class="anchor" id="acf615979d702ddad23605dd75eae2b40"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void uset_closeOver </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>set</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>attributes</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Close this set over the given attribute. </p>
<p>For the attribute USET_CASE, the result is to modify this set so that:</p>
<ol type="1">
<li>For each character or string 'a' in this set, all strings or characters 'b' such that foldCase(a) == foldCase(b) are added to this set.</li>
<li>For each string 'e' in the resulting set, if e != foldCase(e), 'e' will be removed.</li>
</ol>
<p>Example: [aq\u00DF{Bc}{bC}{Fi}] =&gt; [aAqQ\u00DF\uFB01{ss}{bc}{fi}]</p>
<p>(Here foldCase(x) refers to the operation u_strFoldCase, and a == b denotes that the contents are the same, not pointer comparison.)</p>
<p>A frozen set will not be modified.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">set</td><td>the set</td></tr>
    <tr><td class="paramname">attributes</td><td>bitmask for attributes to close over. Currently only the USET_CASE bit is supported. Any undefined bits are ignored. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002584">Stable:</a></b></dt><dd>ICU 4.2 </dd></dl>

</div>
</div>
<a class="anchor" id="acacac5438cd07fcfe5c4f52a561f36c2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void uset_compact </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>set</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reallocate this objects internal structures to take up the least possible space, without changing this object's value. </p>
<p>A frozen set will not be modified.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">set</td><td>the object on which to perfrom the compact </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002580">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

</div>
</div>
<a class="anchor" id="a648e93c5d2893cc65b0eb80f3162544e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void uset_complement </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>set</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Inverts this set. </p>
<p>This operation modifies this set so that its value is its complement. This operation does not affect the multicharacter strings, if any. A frozen set will not be modified. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">set</td><td>the set </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002581">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a class="anchor" id="ae1d4b880a74aecc07039dfdfb40489c4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void uset_complementAll </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>set</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>complement</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Complements in this set all elements contained in the specified set. </p>
<p>Any character in the other set will be removed if it is in this set, or will be added if it is not in this set. A frozen set will not be modified.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">set</td><td>the set with which to complement </td></tr>
    <tr><td class="paramname">complement</td><td>set that defines which elements will be xor'ed from this set. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002582">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

</div>
</div>
<a class="anchor" id="af8d9773ae28c70f253d1ba48ee4957f5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> uset_contains </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>set</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a>&#160;</td>
          <td class="paramname"><em>c</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns TRUE if the given USet contains the given character. </p>
<p>This function works faster with a frozen set. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">set</td><td>the set </td></tr>
    <tr><td class="paramname">c</td><td>The codepoint to check for within the set </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if set contains c </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002587">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a class="anchor" id="af55a5a2133c850561c6bd6f53e32a91c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> uset_containsAll </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>set1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>set2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns true if set1 contains all the characters and strings of set2. </p>
<p>It answers the question, 'Is set1 a superset of set2?' </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">set1</td><td>set to be checked for containment </td></tr>
    <tr><td class="paramname">set2</td><td>set to be checked for containment </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if the test condition is met </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002595">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

</div>
</div>
<a class="anchor" id="adb76bbc067c2d78c697a55b01d170674"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> uset_containsAllCodePoints </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>set</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td>
          <td class="paramname"><em>str</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>strLen</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns true if this set contains all the characters of the given string. </p>
<p>This is does not check containment of grapheme clusters, like uset_containsString. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">set</td><td>set of characters to be checked for containment </td></tr>
    <tr><td class="paramname">str</td><td>string containing codepoints to be checked for containment </td></tr>
    <tr><td class="paramname">strLen</td><td>the length of the string or -1 if null terminated. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if the test condition is met </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002596">Stable:</a></b></dt><dd>ICU 3.4 </dd></dl>

</div>
</div>
<a class="anchor" id="ab1fd51712466a660f821f1ae4948e009"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> uset_containsNone </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>set1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>set2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns true if set1 contains none of the characters and strings of set2. </p>
<p>It answers the question, 'Is set1 a disjoint set of set2?' </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">set1</td><td>set to be checked for containment </td></tr>
    <tr><td class="paramname">set2</td><td>set to be checked for containment </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if the test condition is met </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002597">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

</div>
</div>
<a class="anchor" id="adab26ac0159e09e748869290be18bf2e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> uset_containsRange </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>set</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a>&#160;</td>
          <td class="paramname"><em>start</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a>&#160;</td>
          <td class="paramname"><em>end</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns TRUE if the given USet contains all characters c where start &lt;= c &amp;&amp; c &lt;= end. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">set</td><td>the set </td></tr>
    <tr><td class="paramname">start</td><td>the first character of the range to test, inclusive </td></tr>
    <tr><td class="paramname">end</td><td>the last character of the range to test, inclusive </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE if set contains the range </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002588">Stable:</a></b></dt><dd>ICU 2.2 </dd></dl>

</div>
</div>
<a class="anchor" id="ae05a6aa4c5572219700ddb142a4e2a71"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> uset_containsSome </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>set1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>set2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns true if set1 contains some of the characters and strings of set2. </p>
<p>It answers the question, 'Does set1 and set2 have an intersection?' </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">set1</td><td>set to be checked for containment </td></tr>
    <tr><td class="paramname">set2</td><td>set to be checked for containment </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if the test condition is met </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002598">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

</div>
</div>
<a class="anchor" id="a2e23614c8863a4cf606f55d38aecbe5e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> uset_containsString </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>set</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td>
          <td class="paramname"><em>str</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>strLen</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns TRUE if the given USet contains the given string. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">set</td><td>the set </td></tr>
    <tr><td class="paramname">str</td><td>the string </td></tr>
    <tr><td class="paramname">strLen</td><td>the length of the string or -1 if null terminated. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if set contains str </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002589">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a027edbf3f81914abb7a703fb5b83bbcf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> uset_equals </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>set1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>set2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns true if set1 contains all of the characters and strings of set2, and vis versa. </p>
<p>It answers the question, 'Is set1 equal to set2?' </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">set1</td><td>set to be checked for containment </td></tr>
    <tr><td class="paramname">set2</td><td>set to be checked for containment </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if the test condition is met </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002603">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

</div>
</div>
<a class="anchor" id="a851fc7d7e6920ff73fb9529d75aba387"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void uset_freeze </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>set</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Freeze the set (make it immutable). </p>
<p>Once frozen, it cannot be unfrozen and is therefore thread-safe until it is deleted. See the ICU4J Freezable interface for details. Freezing the set may also make some operations faster, for example <a class="el" href="uset_8h.html#af8d9773ae28c70f253d1ba48ee4957f5" title="Returns TRUE if the given USet contains the given character. ">uset_contains()</a> and <a class="el" href="uset_8h.html#a1c2ae031cbb8557b0106a571dfbdf038" title="Returns the length of the initial substring of the input string which consists only of characters and...">uset_span()</a>. A frozen set will not be modified. (It remains frozen.) </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">set</td><td>the set </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the same set, now frozen </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="uset_8h.html#ac56a97260c2b1092381111b5004c9e40" title="Determines whether the set has been frozen (made immutable) or not. ">uset_isFrozen</a> </dd>
<dd>
<a class="el" href="uset_8h.html#a6b84cdeb472adde6bfa8b7ea7f33f0d4" title="Clone the set and make the clone mutable. ">uset_cloneAsThawed</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002561">Stable:</a></b></dt><dd>ICU 3.8 </dd></dl>

</div>
</div>
<a class="anchor" id="a1d9da52f345a1b4de5a933d8a3213070"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t uset_getItem </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>set</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>itemIndex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> *&#160;</td>
          <td class="paramname"><em>start</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> *&#160;</td>
          <td class="paramname"><em>end</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td>
          <td class="paramname"><em>str</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>strCapacity</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>ec</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns an item of this set. </p>
<p>An item is either a range of characters or a single multicharacter string. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">set</td><td>the set </td></tr>
    <tr><td class="paramname">itemIndex</td><td>a non-negative integer in the range 0.. uset_getItemCount(set)-1 </td></tr>
    <tr><td class="paramname">start</td><td>pointer to variable to receive first character in range, inclusive </td></tr>
    <tr><td class="paramname">end</td><td>pointer to variable to receive last character in range, inclusive </td></tr>
    <tr><td class="paramname">str</td><td>buffer to receive the string, may be NULL </td></tr>
    <tr><td class="paramname">strCapacity</td><td>capacity of str, or 0 if str is NULL </td></tr>
    <tr><td class="paramname">ec</td><td>error code </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the length of the string (&gt;= 2), or 0 if the item is a range, in which case it is the range *start..*end, or -1 if itemIndex is out of range </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002594">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a3d09ac37a8e0fbf5d38ef8281a3f4b3f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t uset_getItemCount </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>set</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the number of items in this set. </p>
<p>An item is either a range of characters or a single multicharacter string. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">set</td><td>the set </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a non-negative integer counting the character ranges and/or strings contained in set </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002593">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a6a197df6a2d0d9cafc8561d6fab55148"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> uset_getSerializedRange </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structUSerializedSet.html">USerializedSet</a> *&#160;</td>
          <td class="paramname"><em>set</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>rangeIndex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> *&#160;</td>
          <td class="paramname"><em>pStart</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> *&#160;</td>
          <td class="paramname"><em>pEnd</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns a range of characters contained in the given serialized set. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">set</td><td>the serialized set </td></tr>
    <tr><td class="paramname">rangeIndex</td><td>a non-negative integer in the range 0.. uset_getSerializedRangeCount(set)-1 </td></tr>
    <tr><td class="paramname">pStart</td><td>pointer to variable to receive first character in range, inclusive </td></tr>
    <tr><td class="paramname">pEnd</td><td>pointer to variable to receive last character in range, inclusive </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if rangeIndex is valid, otherwise false </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002609">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a4b09f3f07927c1fbae2b05cce3a22e4f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t uset_getSerializedRangeCount </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structUSerializedSet.html">USerializedSet</a> *&#160;</td>
          <td class="paramname"><em>set</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the number of disjoint ranges of characters contained in the given serialized set. </p>
<p>Ignores any strings contained in the set. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">set</td><td>the serialized set </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a non-negative integer counting the character ranges contained in set </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002608">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a class="anchor" id="aee4c3abbd48d9d899f6250d498a29168"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> uset_getSerializedSet </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structUSerializedSet.html">USerializedSet</a> *&#160;</td>
          <td class="paramname"><em>fillSet</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const uint16_t *&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>srcLength</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Given a serialized array, fill in the given serialized set object. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fillSet</td><td>pointer to result </td></tr>
    <tr><td class="paramname">src</td><td>pointer to start of array </td></tr>
    <tr><td class="paramname">srcLength</td><td>length of array </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if the given array is valid, otherwise false </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002605">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a902222c7bd584a91102b26c77842be50"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t uset_indexOf </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>set</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a>&#160;</td>
          <td class="paramname"><em>c</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the index of the given character within this set, where the set is ordered by ascending code point. </p>
<p>If the character is not in this set, return -1. The inverse of this method is <code>charAt()</code>. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">set</td><td>the set </td></tr>
    <tr><td class="paramname">c</td><td>the character to obtain the index for </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>an index from 0..size()-1, or -1 </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002590">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

</div>
</div>
<a class="anchor" id="a42e3efc0c34ebeb18df64b4c38158fd7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> uset_isEmpty </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>set</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns TRUE if the given USet contains no characters and no strings. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">set</td><td>the set </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if set is empty </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002586">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a class="anchor" id="ac56a97260c2b1092381111b5004c9e40"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> uset_isFrozen </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>set</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Determines whether the set has been frozen (made immutable) or not. </p>
<p>See the ICU4J Freezable interface for details. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">set</td><td>the set </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE/FALSE for whether the set has been frozen </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="uset_8h.html#a851fc7d7e6920ff73fb9529d75aba387" title="Freeze the set (make it immutable). ">uset_freeze</a> </dd>
<dd>
<a class="el" href="uset_8h.html#a6b84cdeb472adde6bfa8b7ea7f33f0d4" title="Clone the set and make the clone mutable. ">uset_cloneAsThawed</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002560">Stable:</a></b></dt><dd>ICU 3.8 </dd></dl>

</div>
</div>
<a class="anchor" id="a65a4e226273821916545e45dee27a144"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a>* uset_open </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a>&#160;</td>
          <td class="paramname"><em>start</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a>&#160;</td>
          <td class="paramname"><em>end</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates a USet object that contains the range of characters start..end, inclusive. </p>
<p>If <code>start &gt; end</code> then an empty set is created (same as using <a class="el" href="uset_8h.html#a1445e2108f5b4c26b4a03cb99b3e6e57" title="Create an empty USet object. ">uset_openEmpty()</a>). </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">start</td><td>first character of the range, inclusive </td></tr>
    <tr><td class="paramname">end</td><td>last character of the range, inclusive </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a newly created USet. The caller must call <a class="el" href="uset_8h.html#abb0d0fb8d660204fd7fef7fe920bb70c" title="Disposes of the storage used by a USet object. ">uset_close()</a> on it when done. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002555">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a1445e2108f5b4c26b4a03cb99b3e6e57"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a>* uset_openEmpty </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create an empty USet object. </p>
<p>Equivalent to uset_open(1, 0). </p><dl class="section return"><dt>Returns</dt><dd>a newly created USet. The caller must call <a class="el" href="uset_8h.html#abb0d0fb8d660204fd7fef7fe920bb70c" title="Disposes of the storage used by a USet object. ">uset_close()</a> on it when done. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002554">Stable:</a></b></dt><dd>ICU 4.2 </dd></dl>

</div>
</div>
<a class="anchor" id="ab8b79fbe81d1245c15ee17a64c4513b3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a>* uset_openPattern </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td>
          <td class="paramname"><em>pattern</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>patternLength</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>ec</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates a set from the given pattern. </p>
<p>See the UnicodeSet class description for the syntax of the pattern language. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pattern</td><td>a string specifying what characters are in the set </td></tr>
    <tr><td class="paramname">patternLength</td><td>the length of the pattern, or -1 if null terminated </td></tr>
    <tr><td class="paramname">ec</td><td>the error code </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002556">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a34a8914b62d0de444d7a2e7981eb343a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a>* uset_openPatternOptions </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td>
          <td class="paramname"><em>pattern</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>patternLength</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>options</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>ec</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates a set from the given pattern. </p>
<p>See the UnicodeSet class description for the syntax of the pattern language. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pattern</td><td>a string specifying what characters are in the set </td></tr>
    <tr><td class="paramname">patternLength</td><td>the length of the pattern, or -1 if null terminated </td></tr>
    <tr><td class="paramname">options</td><td>bitmask for options to apply to the pattern. Valid options are USET_IGNORE_SPACE and USET_CASE_INSENSITIVE. </td></tr>
    <tr><td class="paramname">ec</td><td>the error code </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002557">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a class="anchor" id="afe44d95c8c0be1e4ce4399a4ee2f1f8f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void uset_remove </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>set</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a>&#160;</td>
          <td class="paramname"><em>c</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Removes the given character from the given USet. </p>
<p>After this call, uset_contains(set, c) will return FALSE. A frozen set will not be modified. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">set</td><td>the object from which to remove the character </td></tr>
    <tr><td class="paramname">c</td><td>the character to remove </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002574">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a762f9d6a016dd5a59a9a6701255e5e96"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void uset_removeAll </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>set</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>removeSet</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Removes from this set all of its elements that are contained in the specified set. </p>
<p>This operation effectively modifies this set so that its value is the <em>asymmetric set difference</em> of the two sets. A frozen set will not be modified. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">set</td><td>the object from which the elements are to be removed </td></tr>
    <tr><td class="paramname">removeSet</td><td>the object that defines which elements will be removed from this set </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002577">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

</div>
</div>
<a class="anchor" id="a53fe590b2c673bf54b433c146fe19cca"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void uset_removeAllStrings </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>set</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Remove all strings from this set. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">set</td><td>the set </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002585">Stable:</a></b></dt><dd>ICU 4.2 </dd></dl>

</div>
</div>
<a class="anchor" id="a6b0fc0ae495d8aa755e2f42769e49b62"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void uset_removeRange </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>set</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a>&#160;</td>
          <td class="paramname"><em>start</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a>&#160;</td>
          <td class="paramname"><em>end</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Removes the given range of characters from the given USet. </p>
<p>After this call, uset_contains(set, start, end) will return FALSE. A frozen set will not be modified. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">set</td><td>the object to which to add the character </td></tr>
    <tr><td class="paramname">start</td><td>the first character of the range to remove, inclusive </td></tr>
    <tr><td class="paramname">end</td><td>the last character of the range to remove, inclusive </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002575">Stable:</a></b></dt><dd>ICU 2.2 </dd></dl>

</div>
</div>
<a class="anchor" id="aec1fe2c7d06a475d21fbf822fb42b825"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void uset_removeString </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>set</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td>
          <td class="paramname"><em>str</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>strLen</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Removes the given string to the given USet. </p>
<p>After this call, uset_containsString(set, str, strLen) will return FALSE. A frozen set will not be modified. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">set</td><td>the object to which to add the character </td></tr>
    <tr><td class="paramname">str</td><td>the string to remove </td></tr>
    <tr><td class="paramname">strLen</td><td>the length of the string or -1 if null terminated. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002576">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a319e09dd5e7c7987e177da7d31239ed2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> uset_resemblesPattern </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td>
          <td class="paramname"><em>pattern</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>patternLength</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>pos</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Return true if the given position, in the given pattern, appears to be the start of a UnicodeSet pattern. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pattern</td><td>a string specifying the pattern </td></tr>
    <tr><td class="paramname">patternLength</td><td>the length of the pattern, or -1 if NULL </td></tr>
    <tr><td class="paramname">pos</td><td>the given position </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002567">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

</div>
</div>
<a class="anchor" id="a49d1074ef9aeca26567d9a35ee0e97b9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void uset_retain </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>set</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a>&#160;</td>
          <td class="paramname"><em>start</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a>&#160;</td>
          <td class="paramname"><em>end</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Retain only the elements in this set that are contained in the specified range. </p>
<p>If <code>start &gt; end</code> then an empty range is retained, leaving the set empty. This is equivalent to a boolean logic AND, or a set INTERSECTION. A frozen set will not be modified.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">set</td><td>the object for which to retain only the specified range </td></tr>
    <tr><td class="paramname">start</td><td>first character, inclusive, of range to be retained to this set. </td></tr>
    <tr><td class="paramname">end</td><td>last character, inclusive, of range to be retained to this set. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002578">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

</div>
</div>
<a class="anchor" id="a6878a72dcd2249c49924ec98c922ba2e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void uset_retainAll </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>set</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>retain</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Retains only the elements in this set that are contained in the specified set. </p>
<p>In other words, removes from this set all of its elements that are not contained in the specified set. This operation effectively modifies this set so that its value is the <em>intersection</em> of the two sets. A frozen set will not be modified.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">set</td><td>the object on which to perform the retain </td></tr>
    <tr><td class="paramname">retain</td><td>set that defines which elements this set will retain </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002579">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

</div>
</div>
<a class="anchor" id="a7b1d3c1676d23e1dce2b6532bdc00aed"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t uset_serialize </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>set</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t *&#160;</td>
          <td class="paramname"><em>dest</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>destCapacity</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>pErrorCode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Serializes this set into an array of 16-bit integers. </p>
<p>Serialization (currently) only records the characters in the set; multicharacter strings are ignored.</p>
<p>The array has following format (each line is one 16-bit integer):</p>
<p>length = (n+2*m) | (m!=0?0x8000:0) bmpLength = n; present if m!=0 bmp[0] bmp[1] ... bmp[n-1] supp-high[0] supp-low[0] supp-high[1] supp-low[1] ... supp-high[m-1] supp-low[m-1]</p>
<p>The array starts with a header. After the header are n bmp code points, then m supplementary code points. Either n or m or both may be zero. n+2*m is always &lt;= 0x7FFF.</p>
<p>If there are no supplementary characters (if m==0) then the header is one 16-bit integer, 'length', with value n.</p>
<p>If there are supplementary characters (if m!=0) then the header is two 16-bit integers. The first, 'length', has value (n+2*m)|0x8000. The second, 'bmpLength', has value n.</p>
<p>After the header the code points are stored in ascending order. Supplementary code points are stored as most significant 16 bits followed by least significant 16 bits.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">set</td><td>the set </td></tr>
    <tr><td class="paramname">dest</td><td>pointer to buffer of destCapacity 16-bit integers. May be NULL only if destCapacity is zero. </td></tr>
    <tr><td class="paramname">destCapacity</td><td>size of dest, or zero. Must not be negative. </td></tr>
    <tr><td class="paramname">pErrorCode</td><td>pointer to the error code. Will be set to U_INDEX_OUTOFBOUNDS_ERROR if n+2*m &gt; 0x7FFF. Will be set to U_BUFFER_OVERFLOW_ERROR if n+2*m+(m!=0?2:1) &gt; destCapacity. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the total length of the serialized format, including the header, that is, n+2*m+(m!=0?2:1), or 0 on error other than U_BUFFER_OVERFLOW_ERROR. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002604">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a4a4f37a9684cfd16c1271ff6cbaf4ea6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> uset_serializedContains </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structUSerializedSet.html">USerializedSet</a> *&#160;</td>
          <td class="paramname"><em>set</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a>&#160;</td>
          <td class="paramname"><em>c</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns TRUE if the given <a class="el" href="structUSerializedSet.html" title="A serialized form of a Unicode set. ">USerializedSet</a> contains the given character. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">set</td><td>the serialized set </td></tr>
    <tr><td class="paramname">c</td><td>The codepoint to check for within the set </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if set contains c </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002607">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a171f42b2a952b070101378748e72b9bb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void uset_set </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>set</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a>&#160;</td>
          <td class="paramname"><em>start</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a>&#160;</td>
          <td class="paramname"><em>end</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Causes the USet object to represent the range <code>start - end</code>. </p>
<p>If <code>start &gt; end</code> then this USet is set to an empty range. A frozen set will not be modified. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">set</td><td>the object to set to the given range </td></tr>
    <tr><td class="paramname">start</td><td>first character in the set, inclusive </td></tr>
    <tr><td class="paramname">end</td><td>last character in the set, inclusive </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002563">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

</div>
</div>
<a class="anchor" id="a550b1efa4844dc9d745ca7c01836bb10"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void uset_setSerializedToOne </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structUSerializedSet.html">USerializedSet</a> *&#160;</td>
          <td class="paramname"><em>fillSet</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a>&#160;</td>
          <td class="paramname"><em>c</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the <a class="el" href="structUSerializedSet.html" title="A serialized form of a Unicode set. ">USerializedSet</a> to contain the given character (and nothing else). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fillSet</td><td>pointer to result </td></tr>
    <tr><td class="paramname">c</td><td>The codepoint to set </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002606">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a83f6b0b79bbfa0a65248fb39f40e88dd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t uset_size </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>set</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the number of characters and strings contained in the given USet. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">set</td><td>the set </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a non-negative integer counting the characters and strings contained in set </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002592">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a1c2ae031cbb8557b0106a571dfbdf038"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t uset_span </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>set</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td>
          <td class="paramname"><em>s</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>length</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="uset_8h.html#a5fc2e77dd6c8385e0e88fc6a7d72d9b4">USetSpanCondition</a>&#160;</td>
          <td class="paramname"><em>spanCondition</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the length of the initial substring of the input string which consists only of characters and strings that are contained in this set (USET_SPAN_CONTAINED, USET_SPAN_SIMPLE), or only of characters and strings that are not contained in this set (USET_SPAN_NOT_CONTAINED). </p>
<p>See USetSpanCondition for details. Similar to the strspn() C library function. Unpaired surrogates are treated according to contains() of their surrogate code points. This function works faster with a frozen set and with a non-negative string length argument. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">set</td><td>the set </td></tr>
    <tr><td class="paramname">s</td><td>start of the string </td></tr>
    <tr><td class="paramname">length</td><td>of the string; can be -1 for NUL-terminated </td></tr>
    <tr><td class="paramname">spanCondition</td><td>specifies the containment condition </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the length of the initial substring according to the spanCondition; 0 if the start of the string does not fit the spanCondition </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002599">Stable:</a></b></dt><dd>ICU 3.8 </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="uset_8h.html#a5fc2e77dd6c8385e0e88fc6a7d72d9b4" title="Argument values for whether span() and similar functions continue while the current character is cont...">USetSpanCondition</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a8f38fd1f93c2908ff3bd9290a849c2f7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t uset_spanBack </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>set</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td>
          <td class="paramname"><em>s</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>length</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="uset_8h.html#a5fc2e77dd6c8385e0e88fc6a7d72d9b4">USetSpanCondition</a>&#160;</td>
          <td class="paramname"><em>spanCondition</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the start of the trailing substring of the input string which consists only of characters and strings that are contained in this set (USET_SPAN_CONTAINED, USET_SPAN_SIMPLE), or only of characters and strings that are not contained in this set (USET_SPAN_NOT_CONTAINED). </p>
<p>See USetSpanCondition for details. Unpaired surrogates are treated according to contains() of their surrogate code points. This function works faster with a frozen set and with a non-negative string length argument. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">set</td><td>the set </td></tr>
    <tr><td class="paramname">s</td><td>start of the string </td></tr>
    <tr><td class="paramname">length</td><td>of the string; can be -1 for NUL-terminated </td></tr>
    <tr><td class="paramname">spanCondition</td><td>specifies the containment condition </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the start of the trailing substring according to the spanCondition; the string length if the end of the string does not fit the spanCondition </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002600">Stable:</a></b></dt><dd>ICU 3.8 </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="uset_8h.html#a5fc2e77dd6c8385e0e88fc6a7d72d9b4" title="Argument values for whether span() and similar functions continue while the current character is cont...">USetSpanCondition</a> </dd></dl>

</div>
</div>
<a class="anchor" id="af3533477f8a22a4988b625ecbb9df8cf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t uset_spanBackUTF8 </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>set</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>s</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>length</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="uset_8h.html#a5fc2e77dd6c8385e0e88fc6a7d72d9b4">USetSpanCondition</a>&#160;</td>
          <td class="paramname"><em>spanCondition</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the start of the trailing substring of the input string which consists only of characters and strings that are contained in this set (USET_SPAN_CONTAINED, USET_SPAN_SIMPLE), or only of characters and strings that are not contained in this set (USET_SPAN_NOT_CONTAINED). </p>
<p>See USetSpanCondition for details. Malformed byte sequences are treated according to contains(0xfffd). This function works faster with a frozen set and with a non-negative string length argument. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">set</td><td>the set </td></tr>
    <tr><td class="paramname">s</td><td>start of the string (UTF-8) </td></tr>
    <tr><td class="paramname">length</td><td>of the string; can be -1 for NUL-terminated </td></tr>
    <tr><td class="paramname">spanCondition</td><td>specifies the containment condition </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the start of the trailing substring according to the spanCondition; the string length if the end of the string does not fit the spanCondition </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002602">Stable:</a></b></dt><dd>ICU 3.8 </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="uset_8h.html#a5fc2e77dd6c8385e0e88fc6a7d72d9b4" title="Argument values for whether span() and similar functions continue while the current character is cont...">USetSpanCondition</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a544f014d315c49f98c39aac7d4fe6a9a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t uset_spanUTF8 </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>set</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>s</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>length</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="uset_8h.html#a5fc2e77dd6c8385e0e88fc6a7d72d9b4">USetSpanCondition</a>&#160;</td>
          <td class="paramname"><em>spanCondition</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the length of the initial substring of the input string which consists only of characters and strings that are contained in this set (USET_SPAN_CONTAINED, USET_SPAN_SIMPLE), or only of characters and strings that are not contained in this set (USET_SPAN_NOT_CONTAINED). </p>
<p>See USetSpanCondition for details. Similar to the strspn() C library function. Malformed byte sequences are treated according to contains(0xfffd). This function works faster with a frozen set and with a non-negative string length argument. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">set</td><td>the set </td></tr>
    <tr><td class="paramname">s</td><td>start of the string (UTF-8) </td></tr>
    <tr><td class="paramname">length</td><td>of the string; can be -1 for NUL-terminated </td></tr>
    <tr><td class="paramname">spanCondition</td><td>specifies the containment condition </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the length of the initial substring according to the spanCondition; 0 if the start of the string does not fit the spanCondition </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002601">Stable:</a></b></dt><dd>ICU 3.8 </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="uset_8h.html#a5fc2e77dd6c8385e0e88fc6a7d72d9b4" title="Argument values for whether span() and similar functions continue while the current character is cont...">USetSpanCondition</a> </dd></dl>

</div>
</div>
<a class="anchor" id="add59ca5626ba49504529174c7f47e4b3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t uset_toPattern </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *&#160;</td>
          <td class="paramname"><em>set</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td>
          <td class="paramname"><em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>resultCapacity</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td>
          <td class="paramname"><em>escapeUnprintable</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>ec</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns a string representation of this set. </p>
<p>If the result of calling this function is passed to a <a class="el" href="uset_8h.html#ab8b79fbe81d1245c15ee17a64c4513b3" title="Creates a set from the given pattern. ">uset_openPattern()</a>, it will produce another set that is equal to this one. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">set</td><td>the set </td></tr>
    <tr><td class="paramname">result</td><td>the string to receive the rules, may be NULL </td></tr>
    <tr><td class="paramname">resultCapacity</td><td>the capacity of result, may be 0 if result is NULL </td></tr>
    <tr><td class="paramname">escapeUnprintable</td><td>if TRUE then convert unprintable character to their hex escape representations, \uxxxx or \Uxxxxxxxx. Unprintable characters are those other than U+000A, U+0020..U+007E. </td></tr>
    <tr><td class="paramname">ec</td><td>error code. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>length of string, possibly larger than resultCapacity </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002568">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>