Server IP : 103.119.228.120 / Your IP : 52.15.238.221 Web Server : Apache System : Linux v8.techscape8.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64 User : nobody ( 99) PHP Version : 5.6.40 Disable Function : shell_exec,symlink,system,exec,proc_get_status,proc_nice,proc_terminate,define_syslog_variables,syslog,openlog,closelog,escapeshellcmd,passthru,ocinum cols,ini_alter,leak,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dl,dll,myshellexec,proc_open,socket_bind,proc_close,escapeshellarg,parse_ini_filepopen,fpassthru,exec,passthru,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,popen,show_source,proc_nice,proc_terminate,proc_get_status,proc_close,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,dl,symlink,shell_exec,system,dl,passthru,escapeshellarg,escapeshellcmd,myshellexec,c99_buff_prepare,c99_sess_put,fpassthru,getdisfunc,fx29exec,fx29exec2,is_windows,disp_freespace,fx29sh_getupdate,fx29_buff_prepare,fx29_sess_put,fx29shexit,fx29fsearch,fx29ftpbrutecheck,fx29sh_tools,fx29sh_about,milw0rm,imagez,sh_name,myshellexec,checkproxyhost,dosyayicek,c99_buff_prepare,c99_sess_put,c99getsource,c99sh_getupdate,c99fsearch,c99shexit,view_perms,posix_getpwuid,posix_getgrgid,posix_kill,parse_perms,parsesort,view_perms_color,set_encoder_input,ls_setcheckboxall,ls_reverse_all,rsg_read,rsg_glob,selfURL,dispsecinfo,unix2DosTime,addFile,system,get_users,view_size,DirFiles,DirFilesWide,DirPrintHTMLHeaders,GetFilesTotal,GetTitles,GetTimeTotal,GetMatchesCount,GetFileMatchesCount,GetResultFiles,fs_copy_dir,fs_copy_obj,fs_move_dir,fs_move_obj,fs_rmdir,SearchText,getmicrotime MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/local/ssl/local/ssl/local/easy/share/doc/easy-libicu-doc-4.0.1/ |
Upload File : |
<!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.5"/> <title>ICU 4.0.1: UnicodeSet Class 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="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="search/search.js"></script> <script type="text/javascript"> $(document).ready(function() { searchBox.OnSelectItem(0); }); </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 style="padding-left: 0.5em;"> <div id="projectname">ICU 4.0.1 </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.5 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li class="current"><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li> <div id="MSearchBox" class="MSearchBoxInactive"> <span class="left"> <img id="MSearchSelect" src="search/mag_sel.png" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" alt=""/> <input type="text" id="MSearchField" value="Search" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)" onkeyup="searchBox.OnSearchFieldChange(event)"/> </span><span class="right"> <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> </span> </div> </li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="classes.html"><span>Data Structure Index</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Data Fields</span></a></li> </ul> </div> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark"> </span>Pages</a></div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-types">Public Types</a> | <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-static-methods">Static Public Member Functions</a> | <a href="#friends">Friends</a> </div> <div class="headertitle"> <div class="title">UnicodeSet Class Reference</div> </div> </div><!--header--> <div class="contents"> <p>A mutable set of Unicode characters and multicharacter strings. <a href="classUnicodeSet.html#details">More...</a></p> <p><code>#include <<a class="el" href="uniset_8h_source.html">uniset.h</a>></code></p> <div class="dynheader"> Inheritance diagram for UnicodeSet:</div> <div class="dyncontent"> <div class="center"> <img src="classUnicodeSet.png" usemap="#UnicodeSet_map" alt=""/> <map id="UnicodeSet_map" name="UnicodeSet_map"> <area href="classUnicodeFilter.html" title="UnicodeFilter defines a protocol for selecting a subset of the full range (U+0000 to U+10FFFF) of Uni..." alt="UnicodeFilter" shape="rect" coords="57,168,162,192"/> <area href="classUnicodeFunctor.html" title="UnicodeFunctor is an abstract base class for objects that perform match and/or replace operations on ..." alt="UnicodeFunctor" shape="rect" coords="0,112,105,136"/> <area href="classUnicodeMatcher.html" title="UnicodeMatcher defines a protocol for objects that can match a range of characters in a Replaceable s..." alt="UnicodeMatcher" shape="rect" coords="115,112,220,136"/> <area href="classUObject.html" title="UObject is the common ICU "boilerplate" class. " alt="UObject" shape="rect" coords="0,56,105,80"/> <area href="classUMemory.html" title="UMemory is the common ICU base class. " alt="UMemory" shape="rect" coords="0,0,105,24"/> </map> </div></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a> Public Types</h2></td></tr> <tr class="memitem:ad63d2078b9f1085271e23deae9798527"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom">{ <a class="el" href="classUnicodeSet.html#ad63d2078b9f1085271e23deae9798527a1edea65cb1a0b012dc6fff9ac49e4fa9">MIN_VALUE</a> = 0, <a class="el" href="classUnicodeSet.html#ad63d2078b9f1085271e23deae9798527a2c64b96c719b41e29724b22acaf6859b">MAX_VALUE</a> = 0x10ffff }</td></tr> <tr class="separator:ad63d2078b9f1085271e23deae9798527"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:ad2987ff72267bd6692c57be0f0e39418"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#ad2987ff72267bd6692c57be0f0e39418">isBogus</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr> <tr class="memdesc:ad2987ff72267bd6692c57be0f0e39418"><td class="mdescLeft"> </td><td class="mdescRight">Determine if this object contains a valid set. <a href="#ad2987ff72267bd6692c57be0f0e39418">More...</a><br/></td></tr> <tr class="separator:ad2987ff72267bd6692c57be0f0e39418"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3ade624e4b056cb62cc92ed1d945425a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a3ade624e4b056cb62cc92ed1d945425a">setToBogus</a> ()</td></tr> <tr class="memdesc:a3ade624e4b056cb62cc92ed1d945425a"><td class="mdescLeft"> </td><td class="mdescRight">Make this <a class="el" href="classUnicodeSet.html" title="A mutable set of Unicode characters and multicharacter strings. ">UnicodeSet</a> object invalid. <a href="#a3ade624e4b056cb62cc92ed1d945425a">More...</a><br/></td></tr> <tr class="separator:a3ade624e4b056cb62cc92ed1d945425a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0a9d8b6532d6c43395e4337cc31c0445"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a0a9d8b6532d6c43395e4337cc31c0445">UnicodeSet</a> ()</td></tr> <tr class="memdesc:a0a9d8b6532d6c43395e4337cc31c0445"><td class="mdescLeft"> </td><td class="mdescRight">Constructs an empty set. <a href="#a0a9d8b6532d6c43395e4337cc31c0445">More...</a><br/></td></tr> <tr class="separator:a0a9d8b6532d6c43395e4337cc31c0445"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8644385f40e8005761184b4b2c2f29cc"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a8644385f40e8005761184b4b2c2f29cc">UnicodeSet</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:a8644385f40e8005761184b4b2c2f29cc"><td class="mdescLeft"> </td><td class="mdescRight">Constructs a set containing the given range. <a href="#a8644385f40e8005761184b4b2c2f29cc">More...</a><br/></td></tr> <tr class="separator:a8644385f40e8005761184b4b2c2f29cc"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae1905a055c32f34619a4355aa6868b6e"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#ae1905a055c32f34619a4355aa6868b6e">UnicodeSet</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &pattern, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:ae1905a055c32f34619a4355aa6868b6e"><td class="mdescLeft"> </td><td class="mdescRight">Constructs a set from the given pattern. <a href="#ae1905a055c32f34619a4355aa6868b6e">More...</a><br/></td></tr> <tr class="separator:ae1905a055c32f34619a4355aa6868b6e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8f0732d6cb949ac1dd77f9a571dff1be"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a8f0732d6cb949ac1dd77f9a571dff1be">UnicodeSet</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &pattern, uint32_t options, const <a class="el" href="classSymbolTable.html">SymbolTable</a> *symbols, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:a8f0732d6cb949ac1dd77f9a571dff1be"><td class="mdescLeft"> </td><td class="mdescRight">Constructs a set from the given pattern. <a href="#a8f0732d6cb949ac1dd77f9a571dff1be">More...</a><br/></td></tr> <tr class="separator:a8f0732d6cb949ac1dd77f9a571dff1be"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:afd5eb61da4a0ea041a933896c458ac99"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#afd5eb61da4a0ea041a933896c458ac99">UnicodeSet</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &pattern, <a class="el" href="classParsePosition.html">ParsePosition</a> &pos, uint32_t options, const <a class="el" href="classSymbolTable.html">SymbolTable</a> *symbols, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:afd5eb61da4a0ea041a933896c458ac99"><td class="mdescLeft"> </td><td class="mdescRight">Constructs a set from the given pattern. <a href="#afd5eb61da4a0ea041a933896c458ac99">More...</a><br/></td></tr> <tr class="separator:afd5eb61da4a0ea041a933896c458ac99"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3d3ae73b57fd6b7609f88177a19034f8"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a3d3ae73b57fd6b7609f88177a19034f8">UnicodeSet</a> (const <a class="el" href="classUnicodeSet.html">UnicodeSet</a> &o)</td></tr> <tr class="memdesc:a3d3ae73b57fd6b7609f88177a19034f8"><td class="mdescLeft"> </td><td class="mdescRight">Constructs a set that is identical to the given <a class="el" href="classUnicodeSet.html" title="A mutable set of Unicode characters and multicharacter strings. ">UnicodeSet</a>. <a href="#a3d3ae73b57fd6b7609f88177a19034f8">More...</a><br/></td></tr> <tr class="separator:a3d3ae73b57fd6b7609f88177a19034f8"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a32f201258378210ede96ad08f8676c82"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a32f201258378210ede96ad08f8676c82">~UnicodeSet</a> ()</td></tr> <tr class="memdesc:a32f201258378210ede96ad08f8676c82"><td class="mdescLeft"> </td><td class="mdescRight">Destructs the set. <a href="#a32f201258378210ede96ad08f8676c82">More...</a><br/></td></tr> <tr class="separator:a32f201258378210ede96ad08f8676c82"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2d1faed072a21c52054507d024d7700d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeSet.html">UnicodeSet</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a2d1faed072a21c52054507d024d7700d">operator=</a> (const <a class="el" href="classUnicodeSet.html">UnicodeSet</a> &o)</td></tr> <tr class="memdesc:a2d1faed072a21c52054507d024d7700d"><td class="mdescLeft"> </td><td class="mdescRight">Assigns this object to be a copy of another. <a href="#a2d1faed072a21c52054507d024d7700d">More...</a><br/></td></tr> <tr class="separator:a2d1faed072a21c52054507d024d7700d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4c6b2c9216b9e42f4d69ed413aaa2af4"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a4c6b2c9216b9e42f4d69ed413aaa2af4">operator==</a> (const <a class="el" href="classUnicodeSet.html">UnicodeSet</a> &o) const </td></tr> <tr class="memdesc:a4c6b2c9216b9e42f4d69ed413aaa2af4"><td class="mdescLeft"> </td><td class="mdescRight">Compares the specified object with this set for equality. <a href="#a4c6b2c9216b9e42f4d69ed413aaa2af4">More...</a><br/></td></tr> <tr class="separator:a4c6b2c9216b9e42f4d69ed413aaa2af4"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a003c9c3c25134385dcc980be40848e6c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a003c9c3c25134385dcc980be40848e6c">operator!=</a> (const <a class="el" href="classUnicodeSet.html">UnicodeSet</a> &o) const </td></tr> <tr class="memdesc:a003c9c3c25134385dcc980be40848e6c"><td class="mdescLeft"> </td><td class="mdescRight">Compares the specified object with this set for equality. <a href="#a003c9c3c25134385dcc980be40848e6c">More...</a><br/></td></tr> <tr class="separator:a003c9c3c25134385dcc980be40848e6c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4a85692219bd42074445974f10ca9b9e"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classUnicodeFunctor.html">UnicodeFunctor</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a4a85692219bd42074445974f10ca9b9e">clone</a> () const </td></tr> <tr class="memdesc:a4a85692219bd42074445974f10ca9b9e"><td class="mdescLeft"> </td><td class="mdescRight">Returns a copy of this object. <a href="#a4a85692219bd42074445974f10ca9b9e">More...</a><br/></td></tr> <tr class="separator:a4a85692219bd42074445974f10ca9b9e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a530feed82c20c22bfa48e6130fccb139"><td class="memItemLeft" align="right" valign="top">virtual int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a530feed82c20c22bfa48e6130fccb139">hashCode</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr> <tr class="memdesc:a530feed82c20c22bfa48e6130fccb139"><td class="mdescLeft"> </td><td class="mdescRight">Returns the hash code value for this set. <a href="#a530feed82c20c22bfa48e6130fccb139">More...</a><br/></td></tr> <tr class="separator:a530feed82c20c22bfa48e6130fccb139"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af82d9e6251a46c6b4735af8b7cf1f3f3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#af82d9e6251a46c6b4735af8b7cf1f3f3">isFrozen</a> () const </td></tr> <tr class="memdesc:af82d9e6251a46c6b4735af8b7cf1f3f3"><td class="mdescLeft"> </td><td class="mdescRight">Determines whether the set has been frozen (made immutable) or not. <a href="#af82d9e6251a46c6b4735af8b7cf1f3f3">More...</a><br/></td></tr> <tr class="separator:af82d9e6251a46c6b4735af8b7cf1f3f3"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a31085c50d5cb8fdc634ea01156f4f907"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeFunctor.html">UnicodeFunctor</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a31085c50d5cb8fdc634ea01156f4f907">freeze</a> ()</td></tr> <tr class="memdesc:a31085c50d5cb8fdc634ea01156f4f907"><td class="mdescLeft"> </td><td class="mdescRight">Freeze the set (make it immutable). <a href="#a31085c50d5cb8fdc634ea01156f4f907">More...</a><br/></td></tr> <tr class="separator:a31085c50d5cb8fdc634ea01156f4f907"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7099ee368fd521aab75b44d5150b6449"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeFunctor.html">UnicodeFunctor</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a7099ee368fd521aab75b44d5150b6449">cloneAsThawed</a> () const </td></tr> <tr class="memdesc:a7099ee368fd521aab75b44d5150b6449"><td class="mdescLeft"> </td><td class="mdescRight">Clone the set and make the clone mutable. <a href="#a7099ee368fd521aab75b44d5150b6449">More...</a><br/></td></tr> <tr class="separator:a7099ee368fd521aab75b44d5150b6449"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8f6461feeb82a7f9de81909c5ef85155"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeSet.html">UnicodeSet</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a8f6461feeb82a7f9de81909c5ef85155">set</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:a8f6461feeb82a7f9de81909c5ef85155"><td class="mdescLeft"> </td><td class="mdescRight">Make this object represent the range <code>start - end</code>. <a href="#a8f6461feeb82a7f9de81909c5ef85155">More...</a><br/></td></tr> <tr class="separator:a8f6461feeb82a7f9de81909c5ef85155"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a92ea00fbad175397371e02f0a4a7f6cc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeSet.html">UnicodeSet</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a92ea00fbad175397371e02f0a4a7f6cc">applyPattern</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &pattern, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:a92ea00fbad175397371e02f0a4a7f6cc"><td class="mdescLeft"> </td><td class="mdescRight">Modifies this set to represent the set specified by the given pattern, optionally ignoring white space. <a href="#a92ea00fbad175397371e02f0a4a7f6cc">More...</a><br/></td></tr> <tr class="separator:a92ea00fbad175397371e02f0a4a7f6cc"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a33aaa692e8d76a9544adb15576a76120"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeSet.html">UnicodeSet</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a33aaa692e8d76a9544adb15576a76120">applyPattern</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &pattern, uint32_t options, const <a class="el" href="classSymbolTable.html">SymbolTable</a> *symbols, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:a33aaa692e8d76a9544adb15576a76120"><td class="mdescLeft"> </td><td class="mdescRight">Modifies this set to represent the set specified by the given pattern, optionally ignoring white space. <a href="#a33aaa692e8d76a9544adb15576a76120">More...</a><br/></td></tr> <tr class="separator:a33aaa692e8d76a9544adb15576a76120"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aca25277cd3feb80e72be77f6e169c50a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeSet.html">UnicodeSet</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#aca25277cd3feb80e72be77f6e169c50a">applyPattern</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &pattern, <a class="el" href="classParsePosition.html">ParsePosition</a> &pos, uint32_t options, const <a class="el" href="classSymbolTable.html">SymbolTable</a> *symbols, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:aca25277cd3feb80e72be77f6e169c50a"><td class="mdescLeft"> </td><td class="mdescRight">Parses the given pattern, starting at the given position. <a href="#aca25277cd3feb80e72be77f6e169c50a">More...</a><br/></td></tr> <tr class="separator:aca25277cd3feb80e72be77f6e169c50a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7aa98466d94bcbdcfcf79f57e171c8e7"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a7aa98466d94bcbdcfcf79f57e171c8e7">toPattern</a> (<a class="el" href="classUnicodeString.html">UnicodeString</a> &result, <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> escapeUnprintable=<a class="el" href="umachine_8h.html#aa93f0eb578d23995850d61f7d61c55c1">FALSE</a>) const </td></tr> <tr class="memdesc:a7aa98466d94bcbdcfcf79f57e171c8e7"><td class="mdescLeft"> </td><td class="mdescRight">Returns a string representation of this set. <a href="#a7aa98466d94bcbdcfcf79f57e171c8e7">More...</a><br/></td></tr> <tr class="separator:a7aa98466d94bcbdcfcf79f57e171c8e7"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a642c4823b72d7fa64ebcda577a9cef8b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeSet.html">UnicodeSet</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a642c4823b72d7fa64ebcda577a9cef8b">applyIntPropertyValue</a> (<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:a642c4823b72d7fa64ebcda577a9cef8b"><td class="mdescLeft"> </td><td class="mdescRight">Modifies this 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="#a642c4823b72d7fa64ebcda577a9cef8b">More...</a><br/></td></tr> <tr class="separator:a642c4823b72d7fa64ebcda577a9cef8b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9f355f0695c6fc079328ec14b3131d62"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeSet.html">UnicodeSet</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a9f355f0695c6fc079328ec14b3131d62">applyPropertyAlias</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &prop, const <a class="el" href="classUnicodeString.html">UnicodeString</a> &value, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &ec)</td></tr> <tr class="memdesc:a9f355f0695c6fc079328ec14b3131d62"><td class="mdescLeft"> </td><td class="mdescRight">Modifies this set to contain those code points which have the given value for the given property. <a href="#a9f355f0695c6fc079328ec14b3131d62">More...</a><br/></td></tr> <tr class="separator:a9f355f0695c6fc079328ec14b3131d62"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6c3a6816ee9b470937073fec4d62f4f0"><td class="memItemLeft" align="right" valign="top">virtual int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a6c3a6816ee9b470937073fec4d62f4f0">size</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr> <tr class="memdesc:a6c3a6816ee9b470937073fec4d62f4f0"><td class="mdescLeft"> </td><td class="mdescRight">Returns the number of elements in this set (its cardinality). <a href="#a6c3a6816ee9b470937073fec4d62f4f0">More...</a><br/></td></tr> <tr class="separator:a6c3a6816ee9b470937073fec4d62f4f0"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0e085f3f2b9a81dd88609e13edd5d8a5"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a0e085f3f2b9a81dd88609e13edd5d8a5">isEmpty</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr> <tr class="memdesc:a0e085f3f2b9a81dd88609e13edd5d8a5"><td class="mdescLeft"> </td><td class="mdescRight">Returns <code>true</code> if this set contains no elements. <a href="#a0e085f3f2b9a81dd88609e13edd5d8a5">More...</a><br/></td></tr> <tr class="separator:a0e085f3f2b9a81dd88609e13edd5d8a5"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5f83cbdf884770344420fb60e4f8e697"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a5f83cbdf884770344420fb60e4f8e697">contains</a> (<a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> c) const </td></tr> <tr class="memdesc:a5f83cbdf884770344420fb60e4f8e697"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if this set contains the given character. <a href="#a5f83cbdf884770344420fb60e4f8e697">More...</a><br/></td></tr> <tr class="separator:a5f83cbdf884770344420fb60e4f8e697"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad3e92e0b5c8c673462a589791d57cc84"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#ad3e92e0b5c8c673462a589791d57cc84">contains</a> (<a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> start, <a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> end) const </td></tr> <tr class="memdesc:ad3e92e0b5c8c673462a589791d57cc84"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if this set contains every character of the given range. <a href="#ad3e92e0b5c8c673462a589791d57cc84">More...</a><br/></td></tr> <tr class="separator:ad3e92e0b5c8c673462a589791d57cc84"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8d4091fe951ad4cbb3d557e37cf9cba5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a8d4091fe951ad4cbb3d557e37cf9cba5">contains</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &s) const </td></tr> <tr class="memdesc:a8d4091fe951ad4cbb3d557e37cf9cba5"><td class="mdescLeft"> </td><td class="mdescRight">Returns <code>true</code> if this set contains the given multicharacter string. <a href="#a8d4091fe951ad4cbb3d557e37cf9cba5">More...</a><br/></td></tr> <tr class="separator:a8d4091fe951ad4cbb3d557e37cf9cba5"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3823eb4598b4fbdf33c5671d447914db"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a3823eb4598b4fbdf33c5671d447914db">containsAll</a> (const <a class="el" href="classUnicodeSet.html">UnicodeSet</a> &c) const </td></tr> <tr class="memdesc:a3823eb4598b4fbdf33c5671d447914db"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if this set contains all the characters and strings of the given set. <a href="#a3823eb4598b4fbdf33c5671d447914db">More...</a><br/></td></tr> <tr class="separator:a3823eb4598b4fbdf33c5671d447914db"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a224be3bc42df5b8a47c21b33c9ad7dc6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a224be3bc42df5b8a47c21b33c9ad7dc6">containsAll</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &s) const </td></tr> <tr class="memdesc:a224be3bc42df5b8a47c21b33c9ad7dc6"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if this set contains all the characters of the given string. <a href="#a224be3bc42df5b8a47c21b33c9ad7dc6">More...</a><br/></td></tr> <tr class="separator:a224be3bc42df5b8a47c21b33c9ad7dc6"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa033cd3776450f747f5bf8beb0477c0e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#aa033cd3776450f747f5bf8beb0477c0e">containsNone</a> (<a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> start, <a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> end) const </td></tr> <tr class="memdesc:aa033cd3776450f747f5bf8beb0477c0e"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if this set contains none of the characters of the given range. <a href="#aa033cd3776450f747f5bf8beb0477c0e">More...</a><br/></td></tr> <tr class="separator:aa033cd3776450f747f5bf8beb0477c0e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aac49b81bc2081b71d3844053ef4a00e1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#aac49b81bc2081b71d3844053ef4a00e1">containsNone</a> (const <a class="el" href="classUnicodeSet.html">UnicodeSet</a> &c) const </td></tr> <tr class="memdesc:aac49b81bc2081b71d3844053ef4a00e1"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if this set contains none of the characters and strings of the given set. <a href="#aac49b81bc2081b71d3844053ef4a00e1">More...</a><br/></td></tr> <tr class="separator:aac49b81bc2081b71d3844053ef4a00e1"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a913f8afd4394c0786207a824c359291d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a913f8afd4394c0786207a824c359291d">containsNone</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &s) const </td></tr> <tr class="memdesc:a913f8afd4394c0786207a824c359291d"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if this set contains none of the characters of the given string. <a href="#a913f8afd4394c0786207a824c359291d">More...</a><br/></td></tr> <tr class="separator:a913f8afd4394c0786207a824c359291d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5317db95daf21213341b6d8204dcb42c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a5317db95daf21213341b6d8204dcb42c">containsSome</a> (<a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> start, <a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> end) const </td></tr> <tr class="memdesc:a5317db95daf21213341b6d8204dcb42c"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if this set contains one or more of the characters in the given range. <a href="#a5317db95daf21213341b6d8204dcb42c">More...</a><br/></td></tr> <tr class="separator:a5317db95daf21213341b6d8204dcb42c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a35ddc714c95fffa7650a10abb75be5d8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a35ddc714c95fffa7650a10abb75be5d8">containsSome</a> (const <a class="el" href="classUnicodeSet.html">UnicodeSet</a> &s) const </td></tr> <tr class="memdesc:a35ddc714c95fffa7650a10abb75be5d8"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if this set contains one or more of the characters and strings of the given set. <a href="#a35ddc714c95fffa7650a10abb75be5d8">More...</a><br/></td></tr> <tr class="separator:a35ddc714c95fffa7650a10abb75be5d8"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac30cbb03cc4b55cad432f838967324b3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#ac30cbb03cc4b55cad432f838967324b3">containsSome</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &s) const </td></tr> <tr class="memdesc:ac30cbb03cc4b55cad432f838967324b3"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if this set contains one or more of the characters of the given string. <a href="#ac30cbb03cc4b55cad432f838967324b3">More...</a><br/></td></tr> <tr class="separator:ac30cbb03cc4b55cad432f838967324b3"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae429f2e852471745b94d6dba3dc38440"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#ae429f2e852471745b94d6dba3dc38440">span</a> (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) const </td></tr> <tr class="memdesc:ae429f2e852471745b94d6dba3dc38440"><td class="mdescLeft"> </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="#ae429f2e852471745b94d6dba3dc38440">More...</a><br/></td></tr> <tr class="separator:ae429f2e852471745b94d6dba3dc38440"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac95f19d6cc2033b05455838842337d43"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#ac95f19d6cc2033b05455838842337d43">spanBack</a> (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) const </td></tr> <tr class="memdesc:ac95f19d6cc2033b05455838842337d43"><td class="mdescLeft"> </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="#ac95f19d6cc2033b05455838842337d43">More...</a><br/></td></tr> <tr class="separator:ac95f19d6cc2033b05455838842337d43"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af8263eebbaa180e57b55bd909882a3b8"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#af8263eebbaa180e57b55bd909882a3b8">spanUTF8</a> (const char *s, int32_t length, <a class="el" href="uset_8h.html#a5fc2e77dd6c8385e0e88fc6a7d72d9b4">USetSpanCondition</a> spanCondition) const </td></tr> <tr class="memdesc:af8263eebbaa180e57b55bd909882a3b8"><td class="mdescLeft"> </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="#af8263eebbaa180e57b55bd909882a3b8">More...</a><br/></td></tr> <tr class="separator:af8263eebbaa180e57b55bd909882a3b8"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1d119bcbf7656d73aeb9267383952e9e"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a1d119bcbf7656d73aeb9267383952e9e">spanBackUTF8</a> (const char *s, int32_t length, <a class="el" href="uset_8h.html#a5fc2e77dd6c8385e0e88fc6a7d72d9b4">USetSpanCondition</a> spanCondition) const </td></tr> <tr class="memdesc:a1d119bcbf7656d73aeb9267383952e9e"><td class="mdescLeft"> </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="#a1d119bcbf7656d73aeb9267383952e9e">More...</a><br/></td></tr> <tr class="separator:a1d119bcbf7656d73aeb9267383952e9e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3acd6cd4268004b9f3740a2373f411c4"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="unimatch_8h.html#aa87e5322490b3e89e6913bfabd0390e6">UMatchDegree</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a3acd6cd4268004b9f3740a2373f411c4">matches</a> (const <a class="el" href="classReplaceable.html">Replaceable</a> &text, int32_t &offset, int32_t limit, <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> incremental)</td></tr> <tr class="memdesc:a3acd6cd4268004b9f3740a2373f411c4"><td class="mdescLeft"> </td><td class="mdescRight">Implement <a class="el" href="classUnicodeMatcher.html#ab712e496c0023237fbe38184d0424310" title="Return a UMatchDegree value indicating the degree of match for the given text at the given offset...">UnicodeMatcher::matches()</a> <a href="#a3acd6cd4268004b9f3740a2373f411c4">More...</a><br/></td></tr> <tr class="separator:a3acd6cd4268004b9f3740a2373f411c4"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae2147b573bc056ea80cfe5365f6cab33"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#ae2147b573bc056ea80cfe5365f6cab33">addMatchSetTo</a> (<a class="el" href="classUnicodeSet.html">UnicodeSet</a> &toUnionTo) const </td></tr> <tr class="memdesc:ae2147b573bc056ea80cfe5365f6cab33"><td class="mdescLeft"> </td><td class="mdescRight">Implementation of <a class="el" href="classUnicodeMatcher.html" title="UnicodeMatcher defines a protocol for objects that can match a range of characters in a Replaceable s...">UnicodeMatcher</a> API. <a href="#ae2147b573bc056ea80cfe5365f6cab33">More...</a><br/></td></tr> <tr class="separator:ae2147b573bc056ea80cfe5365f6cab33"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a379296bbc66c5c67d1c92d44ae866504"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a379296bbc66c5c67d1c92d44ae866504">indexOf</a> (<a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> c) const </td></tr> <tr class="memdesc:a379296bbc66c5c67d1c92d44ae866504"><td class="mdescLeft"> </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="#a379296bbc66c5c67d1c92d44ae866504">More...</a><br/></td></tr> <tr class="separator:a379296bbc66c5c67d1c92d44ae866504"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:abdc0d3f52ce17855ca1a6eeed7ff19e2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#abdc0d3f52ce17855ca1a6eeed7ff19e2">charAt</a> (int32_t index) const </td></tr> <tr class="memdesc:abdc0d3f52ce17855ca1a6eeed7ff19e2"><td class="mdescLeft"> </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="#abdc0d3f52ce17855ca1a6eeed7ff19e2">More...</a><br/></td></tr> <tr class="separator:abdc0d3f52ce17855ca1a6eeed7ff19e2"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1379c186ca8b314c91d20b7d9130fb7e"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classUnicodeSet.html">UnicodeSet</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a1379c186ca8b314c91d20b7d9130fb7e">add</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:a1379c186ca8b314c91d20b7d9130fb7e"><td class="mdescLeft"> </td><td class="mdescRight">Adds the specified range to this set if it is not already present. <a href="#a1379c186ca8b314c91d20b7d9130fb7e">More...</a><br/></td></tr> <tr class="separator:a1379c186ca8b314c91d20b7d9130fb7e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a63c37362765602f4f64e2d8f431eef71"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeSet.html">UnicodeSet</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a63c37362765602f4f64e2d8f431eef71">add</a> (<a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> c)</td></tr> <tr class="memdesc:a63c37362765602f4f64e2d8f431eef71"><td class="mdescLeft"> </td><td class="mdescRight">Adds the specified character to this set if it is not already present. <a href="#a63c37362765602f4f64e2d8f431eef71">More...</a><br/></td></tr> <tr class="separator:a63c37362765602f4f64e2d8f431eef71"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4fb243ad6c13d3f17b3330d1c521d35a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeSet.html">UnicodeSet</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a4fb243ad6c13d3f17b3330d1c521d35a">add</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &s)</td></tr> <tr class="memdesc:a4fb243ad6c13d3f17b3330d1c521d35a"><td class="mdescLeft"> </td><td class="mdescRight">Adds the specified multicharacter to this set if it is not already present. <a href="#a4fb243ad6c13d3f17b3330d1c521d35a">More...</a><br/></td></tr> <tr class="separator:a4fb243ad6c13d3f17b3330d1c521d35a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac5d166441f38ae9e4c4e1737b92175bd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeSet.html">UnicodeSet</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#ac5d166441f38ae9e4c4e1737b92175bd">addAll</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &s)</td></tr> <tr class="memdesc:ac5d166441f38ae9e4c4e1737b92175bd"><td class="mdescLeft"> </td><td class="mdescRight">Adds each of the characters in this string to the set. <a href="#ac5d166441f38ae9e4c4e1737b92175bd">More...</a><br/></td></tr> <tr class="separator:ac5d166441f38ae9e4c4e1737b92175bd"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3e385a1847ecfd9272a36a012eb0b36e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeSet.html">UnicodeSet</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a3e385a1847ecfd9272a36a012eb0b36e">retainAll</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &s)</td></tr> <tr class="memdesc:a3e385a1847ecfd9272a36a012eb0b36e"><td class="mdescLeft"> </td><td class="mdescRight">Retains EACH of the characters in this string. <a href="#a3e385a1847ecfd9272a36a012eb0b36e">More...</a><br/></td></tr> <tr class="separator:a3e385a1847ecfd9272a36a012eb0b36e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0365c770541d2c7928f3261b9be0bd0f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeSet.html">UnicodeSet</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a0365c770541d2c7928f3261b9be0bd0f">complementAll</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &s)</td></tr> <tr class="memdesc:a0365c770541d2c7928f3261b9be0bd0f"><td class="mdescLeft"> </td><td class="mdescRight">Complement EACH of the characters in this string. <a href="#a0365c770541d2c7928f3261b9be0bd0f">More...</a><br/></td></tr> <tr class="separator:a0365c770541d2c7928f3261b9be0bd0f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a795feb71ef9e0e997c3a5ce369005c4a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeSet.html">UnicodeSet</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a795feb71ef9e0e997c3a5ce369005c4a">removeAll</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &s)</td></tr> <tr class="memdesc:a795feb71ef9e0e997c3a5ce369005c4a"><td class="mdescLeft"> </td><td class="mdescRight">Remove EACH of the characters in this string. <a href="#a795feb71ef9e0e997c3a5ce369005c4a">More...</a><br/></td></tr> <tr class="separator:a795feb71ef9e0e997c3a5ce369005c4a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4edd71f0dd79a0114148c1da27e94494"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classUnicodeSet.html">UnicodeSet</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a4edd71f0dd79a0114148c1da27e94494">retain</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:a4edd71f0dd79a0114148c1da27e94494"><td class="mdescLeft"> </td><td class="mdescRight">Retain only the elements in this set that are contained in the specified range. <a href="#a4edd71f0dd79a0114148c1da27e94494">More...</a><br/></td></tr> <tr class="separator:a4edd71f0dd79a0114148c1da27e94494"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:afd3410661ec259b9a760ee35ac56ef52"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeSet.html">UnicodeSet</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#afd3410661ec259b9a760ee35ac56ef52">retain</a> (<a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> c)</td></tr> <tr class="memdesc:afd3410661ec259b9a760ee35ac56ef52"><td class="mdescLeft"> </td><td class="mdescRight">Retain the specified character from this set if it is present. <a href="#afd3410661ec259b9a760ee35ac56ef52">More...</a><br/></td></tr> <tr class="separator:afd3410661ec259b9a760ee35ac56ef52"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:acc97ad34863f7b856851d38636d58f2a"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classUnicodeSet.html">UnicodeSet</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#acc97ad34863f7b856851d38636d58f2a">remove</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:acc97ad34863f7b856851d38636d58f2a"><td class="mdescLeft"> </td><td class="mdescRight">Removes the specified range from this set if it is present. <a href="#acc97ad34863f7b856851d38636d58f2a">More...</a><br/></td></tr> <tr class="separator:acc97ad34863f7b856851d38636d58f2a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3bb2e0286c5e092091f5d49bf7d9663c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeSet.html">UnicodeSet</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a3bb2e0286c5e092091f5d49bf7d9663c">remove</a> (<a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> c)</td></tr> <tr class="memdesc:a3bb2e0286c5e092091f5d49bf7d9663c"><td class="mdescLeft"> </td><td class="mdescRight">Removes the specified character from this set if it is present. <a href="#a3bb2e0286c5e092091f5d49bf7d9663c">More...</a><br/></td></tr> <tr class="separator:a3bb2e0286c5e092091f5d49bf7d9663c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4f2bddd13e9df82977954cb5cd3ffc22"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeSet.html">UnicodeSet</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a4f2bddd13e9df82977954cb5cd3ffc22">remove</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &s)</td></tr> <tr class="memdesc:a4f2bddd13e9df82977954cb5cd3ffc22"><td class="mdescLeft"> </td><td class="mdescRight">Removes the specified string from this set if it is present. <a href="#a4f2bddd13e9df82977954cb5cd3ffc22">More...</a><br/></td></tr> <tr class="separator:a4f2bddd13e9df82977954cb5cd3ffc22"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a610f31a87d953d87820b19c2e30dc14f"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classUnicodeSet.html">UnicodeSet</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a610f31a87d953d87820b19c2e30dc14f">complement</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>)</td></tr> <tr class="memdesc:a610f31a87d953d87820b19c2e30dc14f"><td class="mdescLeft"> </td><td class="mdescRight">Inverts this set. <a href="#a610f31a87d953d87820b19c2e30dc14f">More...</a><br/></td></tr> <tr class="separator:a610f31a87d953d87820b19c2e30dc14f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aba56631dbe1a84f42eb2c67711cee978"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classUnicodeSet.html">UnicodeSet</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#aba56631dbe1a84f42eb2c67711cee978">complement</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:aba56631dbe1a84f42eb2c67711cee978"><td class="mdescLeft"> </td><td class="mdescRight">Complements the specified range in this set. <a href="#aba56631dbe1a84f42eb2c67711cee978">More...</a><br/></td></tr> <tr class="separator:aba56631dbe1a84f42eb2c67711cee978"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6a18946f8b62ba998080cc2b82ae03f3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeSet.html">UnicodeSet</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a6a18946f8b62ba998080cc2b82ae03f3">complement</a> (<a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> c)</td></tr> <tr class="memdesc:a6a18946f8b62ba998080cc2b82ae03f3"><td class="mdescLeft"> </td><td class="mdescRight">Complements the specified character in this set. <a href="#a6a18946f8b62ba998080cc2b82ae03f3">More...</a><br/></td></tr> <tr class="separator:a6a18946f8b62ba998080cc2b82ae03f3"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:abd4843e788831beb8960ae0117d3d8ac"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeSet.html">UnicodeSet</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#abd4843e788831beb8960ae0117d3d8ac">complement</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &s)</td></tr> <tr class="memdesc:abd4843e788831beb8960ae0117d3d8ac"><td class="mdescLeft"> </td><td class="mdescRight">Complement the specified string in this set. <a href="#abd4843e788831beb8960ae0117d3d8ac">More...</a><br/></td></tr> <tr class="separator:abd4843e788831beb8960ae0117d3d8ac"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6ee40747f030a8e24a5984425e334afc"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classUnicodeSet.html">UnicodeSet</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a6ee40747f030a8e24a5984425e334afc">addAll</a> (const <a class="el" href="classUnicodeSet.html">UnicodeSet</a> &c)</td></tr> <tr class="memdesc:a6ee40747f030a8e24a5984425e334afc"><td class="mdescLeft"> </td><td class="mdescRight">Adds all of the elements in the specified set to this set if they're not already present. <a href="#a6ee40747f030a8e24a5984425e334afc">More...</a><br/></td></tr> <tr class="separator:a6ee40747f030a8e24a5984425e334afc"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a43902955210b895b62dfa47e945abf96"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classUnicodeSet.html">UnicodeSet</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a43902955210b895b62dfa47e945abf96">retainAll</a> (const <a class="el" href="classUnicodeSet.html">UnicodeSet</a> &c)</td></tr> <tr class="memdesc:a43902955210b895b62dfa47e945abf96"><td class="mdescLeft"> </td><td class="mdescRight">Retains only the elements in this set that are contained in the specified set. <a href="#a43902955210b895b62dfa47e945abf96">More...</a><br/></td></tr> <tr class="separator:a43902955210b895b62dfa47e945abf96"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a02e3e29b1412956ccebff4919c48ba4c"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classUnicodeSet.html">UnicodeSet</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a02e3e29b1412956ccebff4919c48ba4c">removeAll</a> (const <a class="el" href="classUnicodeSet.html">UnicodeSet</a> &c)</td></tr> <tr class="memdesc:a02e3e29b1412956ccebff4919c48ba4c"><td class="mdescLeft"> </td><td class="mdescRight">Removes from this set all of its elements that are contained in the specified set. <a href="#a02e3e29b1412956ccebff4919c48ba4c">More...</a><br/></td></tr> <tr class="separator:a02e3e29b1412956ccebff4919c48ba4c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3e128521c00a9cf6b4c94558b87cebd2"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classUnicodeSet.html">UnicodeSet</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a3e128521c00a9cf6b4c94558b87cebd2">complementAll</a> (const <a class="el" href="classUnicodeSet.html">UnicodeSet</a> &c)</td></tr> <tr class="memdesc:a3e128521c00a9cf6b4c94558b87cebd2"><td class="mdescLeft"> </td><td class="mdescRight">Complements in this set all elements contained in the specified set. <a href="#a3e128521c00a9cf6b4c94558b87cebd2">More...</a><br/></td></tr> <tr class="separator:a3e128521c00a9cf6b4c94558b87cebd2"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aaa81304748c9f5bd62eff400c14a9d0f"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classUnicodeSet.html">UnicodeSet</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#aaa81304748c9f5bd62eff400c14a9d0f">clear</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>)</td></tr> <tr class="memdesc:aaa81304748c9f5bd62eff400c14a9d0f"><td class="mdescLeft"> </td><td class="mdescRight">Removes all of the elements from this set. <a href="#aaa81304748c9f5bd62eff400c14a9d0f">More...</a><br/></td></tr> <tr class="separator:aaa81304748c9f5bd62eff400c14a9d0f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a18bd83e5ae05494b4bbdc8030baa797d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeSet.html">UnicodeSet</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a18bd83e5ae05494b4bbdc8030baa797d">closeOver</a> (int32_t attribute)</td></tr> <tr class="memdesc:a18bd83e5ae05494b4bbdc8030baa797d"><td class="mdescLeft"> </td><td class="mdescRight">Close this set over the given attribute. <a href="#a18bd83e5ae05494b4bbdc8030baa797d">More...</a><br/></td></tr> <tr class="separator:a18bd83e5ae05494b4bbdc8030baa797d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6eec59457382fa43c98de782186cce94"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classUnicodeSet.html">UnicodeSet</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a6eec59457382fa43c98de782186cce94">removeAllStrings</a> ()</td></tr> <tr class="memdesc:a6eec59457382fa43c98de782186cce94"><td class="mdescLeft"> </td><td class="mdescRight">Remove all strings from this set. <a href="#a6eec59457382fa43c98de782186cce94">More...</a><br/></td></tr> <tr class="separator:a6eec59457382fa43c98de782186cce94"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a60901508da179b56dfa8d16204f4c1f0"><td class="memItemLeft" align="right" valign="top">virtual int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a60901508da179b56dfa8d16204f4c1f0">getRangeCount</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr> <tr class="memdesc:a60901508da179b56dfa8d16204f4c1f0"><td class="mdescLeft"> </td><td class="mdescRight">Iteration method that returns the number of ranges contained in this set. <a href="#a60901508da179b56dfa8d16204f4c1f0">More...</a><br/></td></tr> <tr class="separator:a60901508da179b56dfa8d16204f4c1f0"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a78847265b21d16ec663832bdf6cca8a8"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a78847265b21d16ec663832bdf6cca8a8">getRangeStart</a> (int32_t index) const </td></tr> <tr class="memdesc:a78847265b21d16ec663832bdf6cca8a8"><td class="mdescLeft"> </td><td class="mdescRight">Iteration method that returns the first character in the specified range of this set. <a href="#a78847265b21d16ec663832bdf6cca8a8">More...</a><br/></td></tr> <tr class="separator:a78847265b21d16ec663832bdf6cca8a8"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac03307b5f0118a421cd8dab47f12d780"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#ac03307b5f0118a421cd8dab47f12d780">getRangeEnd</a> (int32_t index) const </td></tr> <tr class="memdesc:ac03307b5f0118a421cd8dab47f12d780"><td class="mdescLeft"> </td><td class="mdescRight">Iteration method that returns the last character in the specified range of this set. <a href="#ac03307b5f0118a421cd8dab47f12d780">More...</a><br/></td></tr> <tr class="separator:ac03307b5f0118a421cd8dab47f12d780"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6188e8d02a4197661aa5c10021a777c6"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a6188e8d02a4197661aa5c10021a777c6">serialize</a> (uint16_t *dest, int32_t destCapacity, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &ec) const </td></tr> <tr class="memdesc:a6188e8d02a4197661aa5c10021a777c6"><td class="mdescLeft"> </td><td class="mdescRight">Serializes this set into an array of 16-bit integers. <a href="#a6188e8d02a4197661aa5c10021a777c6">More...</a><br/></td></tr> <tr class="separator:a6188e8d02a4197661aa5c10021a777c6"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab50b1b38c127430e876ea6830f278bc7"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classUnicodeSet.html">UnicodeSet</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#ab50b1b38c127430e876ea6830f278bc7">compact</a> ()</td></tr> <tr class="memdesc:ab50b1b38c127430e876ea6830f278bc7"><td class="mdescLeft"> </td><td class="mdescRight">Reallocate this objects internal structures to take up the least possible space, without changing this object's value. <a href="#ab50b1b38c127430e876ea6830f278bc7">More...</a><br/></td></tr> <tr class="separator:ab50b1b38c127430e876ea6830f278bc7"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4e6c600a7a6bcc1d564d84d0fa512932"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a4e6c600a7a6bcc1d564d84d0fa512932">getDynamicClassID</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr> <tr class="memdesc:a4e6c600a7a6bcc1d564d84d0fa512932"><td class="mdescLeft"> </td><td class="mdescRight">Implement <a class="el" href="classUnicodeFunctor.html" title="UnicodeFunctor is an abstract base class for objects that perform match and/or replace operations on ...">UnicodeFunctor</a> API. <a href="#a4e6c600a7a6bcc1d564d84d0fa512932">More...</a><br/></td></tr> <tr class="separator:a4e6c600a7a6bcc1d564d84d0fa512932"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_classUnicodeFilter"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classUnicodeFilter')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classUnicodeFilter.html">UnicodeFilter</a></td></tr> <tr class="memitem:a3d7a3c7903d906784bf208cee420014d inherit pub_methods_classUnicodeFilter"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeFilter.html#a3d7a3c7903d906784bf208cee420014d">~UnicodeFilter</a> ()</td></tr> <tr class="memdesc:a3d7a3c7903d906784bf208cee420014d inherit pub_methods_classUnicodeFilter"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#a3d7a3c7903d906784bf208cee420014d">More...</a><br/></td></tr> <tr class="separator:a3d7a3c7903d906784bf208cee420014d inherit pub_methods_classUnicodeFilter"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a79392092ceb92adda473ac09d6f88f6c inherit pub_methods_classUnicodeFilter"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classUnicodeMatcher.html">UnicodeMatcher</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeFilter.html#a79392092ceb92adda473ac09d6f88f6c">toMatcher</a> () const </td></tr> <tr class="memdesc:a79392092ceb92adda473ac09d6f88f6c inherit pub_methods_classUnicodeFilter"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classUnicodeFunctor.html" title="UnicodeFunctor is an abstract base class for objects that perform match and/or replace operations on ...">UnicodeFunctor</a> API. <a href="#a79392092ceb92adda473ac09d6f88f6c">More...</a><br/></td></tr> <tr class="separator:a79392092ceb92adda473ac09d6f88f6c inherit pub_methods_classUnicodeFilter"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:afd1f679426b2fbde93af707e3ba8c0a2 inherit pub_methods_classUnicodeFilter"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeFilter.html#afd1f679426b2fbde93af707e3ba8c0a2">setData</a> (const TransliterationRuleData *)</td></tr> <tr class="memdesc:afd1f679426b2fbde93af707e3ba8c0a2 inherit pub_methods_classUnicodeFilter"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classUnicodeFunctor.html" title="UnicodeFunctor is an abstract base class for objects that perform match and/or replace operations on ...">UnicodeFunctor</a> API. <a href="#afd1f679426b2fbde93af707e3ba8c0a2">More...</a><br/></td></tr> <tr class="separator:afd1f679426b2fbde93af707e3ba8c0a2 inherit pub_methods_classUnicodeFilter"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_classUnicodeFunctor"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classUnicodeFunctor')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classUnicodeFunctor.html">UnicodeFunctor</a></td></tr> <tr class="memitem:a3e7b6e387992d82cab424079cd623972 inherit pub_methods_classUnicodeFunctor"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeFunctor.html#a3e7b6e387992d82cab424079cd623972">~UnicodeFunctor</a> ()</td></tr> <tr class="memdesc:a3e7b6e387992d82cab424079cd623972 inherit pub_methods_classUnicodeFunctor"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#a3e7b6e387992d82cab424079cd623972">More...</a><br/></td></tr> <tr class="separator:a3e7b6e387992d82cab424079cd623972 inherit pub_methods_classUnicodeFunctor"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af035fa7395f9996afe8ff6d934198884 inherit pub_methods_classUnicodeFunctor"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classUnicodeReplacer.html">UnicodeReplacer</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeFunctor.html#af035fa7395f9996afe8ff6d934198884">toReplacer</a> () const </td></tr> <tr class="memdesc:af035fa7395f9996afe8ff6d934198884 inherit pub_methods_classUnicodeFunctor"><td class="mdescLeft"> </td><td class="mdescRight">Cast 'this' to a UnicodeReplacer* pointer and return the pointer, or null if this is not a UnicodeReplacer*. <a href="#af035fa7395f9996afe8ff6d934198884">More...</a><br/></td></tr> <tr class="separator:af035fa7395f9996afe8ff6d934198884 inherit pub_methods_classUnicodeFunctor"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_classUObject"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classUObject')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classUObject.html">UObject</a></td></tr> <tr class="memitem:ace22cf29a90641ef43350deae5bedb85 inherit pub_methods_classUObject"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classUObject.html#ace22cf29a90641ef43350deae5bedb85">~UObject</a> ()</td></tr> <tr class="memdesc:ace22cf29a90641ef43350deae5bedb85 inherit pub_methods_classUObject"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#ace22cf29a90641ef43350deae5bedb85">More...</a><br/></td></tr> <tr class="separator:ace22cf29a90641ef43350deae5bedb85 inherit pub_methods_classUObject"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_classUnicodeMatcher"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classUnicodeMatcher')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classUnicodeMatcher.html">UnicodeMatcher</a></td></tr> <tr class="memitem:a76c6ac0d0cd5b903478d73527aaeba4d inherit pub_methods_classUnicodeMatcher"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeMatcher.html#a76c6ac0d0cd5b903478d73527aaeba4d">~UnicodeMatcher</a> ()</td></tr> <tr class="memdesc:a76c6ac0d0cd5b903478d73527aaeba4d inherit pub_methods_classUnicodeMatcher"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#a76c6ac0d0cd5b903478d73527aaeba4d">More...</a><br/></td></tr> <tr class="separator:a76c6ac0d0cd5b903478d73527aaeba4d inherit pub_methods_classUnicodeMatcher"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a> Static Public Member Functions</h2></td></tr> <tr class="memitem:a4ed67bc4ceb6838a965a04c68b39e918"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a4ed67bc4ceb6838a965a04c68b39e918">resemblesPattern</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &pattern, int32_t pos)</td></tr> <tr class="memdesc:a4ed67bc4ceb6838a965a04c68b39e918"><td class="mdescLeft"> </td><td class="mdescRight">Return true if the given position, in the given pattern, appears to be the start of a <a class="el" href="classUnicodeSet.html" title="A mutable set of Unicode characters and multicharacter strings. ">UnicodeSet</a> pattern. <a href="#a4ed67bc4ceb6838a965a04c68b39e918">More...</a><br/></td></tr> <tr class="separator:a4ed67bc4ceb6838a965a04c68b39e918"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:abcf0c42078b37520dc05664e5c514ee6"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classUnicodeSet.html">UnicodeSet</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#abcf0c42078b37520dc05664e5c514ee6">createFrom</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &s)</td></tr> <tr class="memdesc:abcf0c42078b37520dc05664e5c514ee6"><td class="mdescLeft"> </td><td class="mdescRight">Makes a set from a multicharacter string. <a href="#abcf0c42078b37520dc05664e5c514ee6">More...</a><br/></td></tr> <tr class="separator:abcf0c42078b37520dc05664e5c514ee6"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7ee55510aa41e114d559e65fc5d94a37"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classUnicodeSet.html">UnicodeSet</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a7ee55510aa41e114d559e65fc5d94a37">createFromAll</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &s)</td></tr> <tr class="memdesc:a7ee55510aa41e114d559e65fc5d94a37"><td class="mdescLeft"> </td><td class="mdescRight">Makes a set from each of the characters in the string. <a href="#a7ee55510aa41e114d559e65fc5d94a37">More...</a><br/></td></tr> <tr class="separator:a7ee55510aa41e114d559e65fc5d94a37"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1f7725a2e4de21e4cfff622fecc89716"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeSet.html#a1f7725a2e4de21e4cfff622fecc89716">getStaticClassID</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>)</td></tr> <tr class="memdesc:a1f7725a2e4de21e4cfff622fecc89716"><td class="mdescLeft"> </td><td class="mdescRight">Return the class ID for this class. <a href="#a1f7725a2e4de21e4cfff622fecc89716">More...</a><br/></td></tr> <tr class="separator:a1f7725a2e4de21e4cfff622fecc89716"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_static_methods_classUnicodeFilter"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classUnicodeFilter')"><img src="closed.png" alt="-"/> Static Public Member Functions inherited from <a class="el" href="classUnicodeFilter.html">UnicodeFilter</a></td></tr> <tr class="memitem:a32a5fef7c44d68ebed5313e27645b5e6 inherit pub_static_methods_classUnicodeFilter"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeFilter.html#a32a5fef7c44d68ebed5313e27645b5e6">getStaticClassID</a> ()</td></tr> <tr class="memdesc:a32a5fef7c44d68ebed5313e27645b5e6 inherit pub_static_methods_classUnicodeFilter"><td class="mdescLeft"> </td><td class="mdescRight">ICU "poor man's RTTI", returns a UClassID for this class. <a href="#a32a5fef7c44d68ebed5313e27645b5e6">More...</a><br/></td></tr> <tr class="separator:a32a5fef7c44d68ebed5313e27645b5e6 inherit pub_static_methods_classUnicodeFilter"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_static_methods_classUnicodeFunctor"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classUnicodeFunctor')"><img src="closed.png" alt="-"/> Static Public Member Functions inherited from <a class="el" href="classUnicodeFunctor.html">UnicodeFunctor</a></td></tr> <tr class="memitem:a339304d367427ee3e16729a7f074ae25 inherit pub_static_methods_classUnicodeFunctor"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeFunctor.html#a339304d367427ee3e16729a7f074ae25">getStaticClassID</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>)</td></tr> <tr class="memdesc:a339304d367427ee3e16729a7f074ae25 inherit pub_static_methods_classUnicodeFunctor"><td class="mdescLeft"> </td><td class="mdescRight">Return the class ID for this class. <a href="#a339304d367427ee3e16729a7f074ae25">More...</a><br/></td></tr> <tr class="separator:a339304d367427ee3e16729a7f074ae25 inherit pub_static_methods_classUnicodeFunctor"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_static_methods_classUMemory"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classUMemory')"><img src="closed.png" alt="-"/> Static Public Member Functions inherited from <a class="el" href="classUMemory.html">UMemory</a></td></tr> <tr class="memitem:a309b19b5777e2840b85b202aef5a54fb inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#a309b19b5777e2840b85b202aef5a54fb">operator new</a> (size_t size)</td></tr> <tr class="memdesc:a309b19b5777e2840b85b202aef5a54fb inherit pub_static_methods_classUMemory"><td class="mdescLeft"> </td><td class="mdescRight">Override for ICU4C C++ memory management. <a href="#a309b19b5777e2840b85b202aef5a54fb">More...</a><br/></td></tr> <tr class="separator:a309b19b5777e2840b85b202aef5a54fb inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4d0df3571728e7b8a823dbbea6e9b5c5 inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#a4d0df3571728e7b8a823dbbea6e9b5c5">operator new[]</a> (size_t size)</td></tr> <tr class="memdesc:a4d0df3571728e7b8a823dbbea6e9b5c5 inherit pub_static_methods_classUMemory"><td class="mdescLeft"> </td><td class="mdescRight">Override for ICU4C C++ memory management. <a href="#a4d0df3571728e7b8a823dbbea6e9b5c5">More...</a><br/></td></tr> <tr class="separator:a4d0df3571728e7b8a823dbbea6e9b5c5 inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:adcda65a58813749f8f45c5e6c1ed37e1 inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#adcda65a58813749f8f45c5e6c1ed37e1">operator delete</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *p)</td></tr> <tr class="memdesc:adcda65a58813749f8f45c5e6c1ed37e1 inherit pub_static_methods_classUMemory"><td class="mdescLeft"> </td><td class="mdescRight">Override for ICU4C C++ memory management. <a href="#adcda65a58813749f8f45c5e6c1ed37e1">More...</a><br/></td></tr> <tr class="separator:adcda65a58813749f8f45c5e6c1ed37e1 inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7602a7a8c6fdff21d9fbecea4d899333 inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#a7602a7a8c6fdff21d9fbecea4d899333">operator delete[]</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *p)</td></tr> <tr class="memdesc:a7602a7a8c6fdff21d9fbecea4d899333 inherit pub_static_methods_classUMemory"><td class="mdescLeft"> </td><td class="mdescRight">Override for ICU4C C++ memory management. <a href="#a7602a7a8c6fdff21d9fbecea4d899333">More...</a><br/></td></tr> <tr class="separator:a7602a7a8c6fdff21d9fbecea4d899333 inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a43b5221fe429f77230b2040f8724c154 inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#a43b5221fe429f77230b2040f8724c154">operator new</a> (size_t, <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *ptr)</td></tr> <tr class="memdesc:a43b5221fe429f77230b2040f8724c154 inherit pub_static_methods_classUMemory"><td class="mdescLeft"> </td><td class="mdescRight">Override for ICU4C C++ memory management for STL. <a href="#a43b5221fe429f77230b2040f8724c154">More...</a><br/></td></tr> <tr class="separator:a43b5221fe429f77230b2040f8724c154 inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9b746b0cdb49c8f8907773002ea5c4ea inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#a9b746b0cdb49c8f8907773002ea5c4ea">operator delete</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *, <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *)</td></tr> <tr class="memdesc:a9b746b0cdb49c8f8907773002ea5c4ea inherit pub_static_methods_classUMemory"><td class="mdescLeft"> </td><td class="mdescRight">Override for ICU4C C++ memory management for STL. <a href="#a9b746b0cdb49c8f8907773002ea5c4ea">More...</a><br/></td></tr> <tr class="separator:a9b746b0cdb49c8f8907773002ea5c4ea inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a> Friends</h2></td></tr> <tr class="memitem:a05b983ce4c40b5724d1319ac4795eaf2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a05b983ce4c40b5724d1319ac4795eaf2"></a> class </td><td class="memItemRight" valign="bottom"><b>USetAccess</b></td></tr> <tr class="separator:a05b983ce4c40b5724d1319ac4795eaf2"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac947f132cd502a07787bf35113956069"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac947f132cd502a07787bf35113956069"></a> class </td><td class="memItemRight" valign="bottom"><b>UnicodeSetIterator</b></td></tr> <tr class="separator:ac947f132cd502a07787bf35113956069"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>A mutable set of Unicode characters and multicharacter strings. </p> <p>Objects of this class represent <em>character classes</em> used in regular expressions. A character specifies a subset of Unicode code points. Legal code points are U+0000 to U+10FFFF, inclusive.</p> <p>The <a class="el" href="classUnicodeSet.html" title="A mutable set of Unicode characters and multicharacter strings. ">UnicodeSet</a> class is not designed to be subclassed.</p> <p><code><a class="el" href="classUnicodeSet.html" title="A mutable set of Unicode characters and multicharacter strings. ">UnicodeSet</a></code> supports two APIs. The first is the <em>operand</em> API that allows the caller to modify the value of a <code><a class="el" href="classUnicodeSet.html" title="A mutable set of Unicode characters and multicharacter strings. ">UnicodeSet</a></code> object. It conforms to Java 2's <code>java.util.Set</code> interface, although <code><a class="el" href="classUnicodeSet.html" title="A mutable set of Unicode characters and multicharacter strings. ">UnicodeSet</a></code> does not actually implement that interface. All methods of <code>Set</code> are supported, with the modification that they take a character range or single character instead of an <code>Object</code>, and they take a <code><a class="el" href="classUnicodeSet.html" title="A mutable set of Unicode characters and multicharacter strings. ">UnicodeSet</a></code> instead of a <code>Collection</code>. The operand API may be thought of in terms of boolean logic: a boolean OR is implemented by <code>add</code>, a boolean AND is implemented by <code>retain</code>, a boolean XOR is implemented by <code>complement</code> taking an argument, and a boolean NOT is implemented by <code>complement</code> with no argument. In terms of traditional set theory function names, <code>add</code> is a union, <code>retain</code> is an intersection, <code>remove</code> is an asymmetric difference, and <code>complement</code> with no argument is a set complement with respect to the superset range <code>MIN_VALUE-MAX_VALUE</code></p> <p>The second API is the <code><a class="el" href="classUnicodeSet.html#a92ea00fbad175397371e02f0a4a7f6cc" title="Modifies this set to represent the set specified by the given pattern, optionally ignoring white spac...">applyPattern()</a></code>/<code><a class="el" href="classUnicodeSet.html#a7aa98466d94bcbdcfcf79f57e171c8e7" title="Returns a string representation of this set. ">toPattern()</a></code> API from the <code>java.text.Format</code>-derived classes. Unlike the methods that add characters, add categories, and control the logic of the set, the method <code><a class="el" href="classUnicodeSet.html#a92ea00fbad175397371e02f0a4a7f6cc" title="Modifies this set to represent the set specified by the given pattern, optionally ignoring white spac...">applyPattern()</a></code> sets all attributes of a <code><a class="el" href="classUnicodeSet.html" title="A mutable set of Unicode characters and multicharacter strings. ">UnicodeSet</a></code> at once, based on a string pattern.</p> <p><b>Pattern syntax</b></p> <p>Patterns are accepted by the constructors and the <code><a class="el" href="classUnicodeSet.html#a92ea00fbad175397371e02f0a4a7f6cc" title="Modifies this set to represent the set specified by the given pattern, optionally ignoring white spac...">applyPattern()</a></code> methods and returned by the <code><a class="el" href="classUnicodeSet.html#a7aa98466d94bcbdcfcf79f57e171c8e7" title="Returns a string representation of this set. ">toPattern()</a></code> method. These patterns follow a syntax similar to that employed by version 8 regular expression character classes. Here are some simple examples:</p> <blockquote> <table class="doxtable"> <tr align="top"> <td valign="top" align="left"><code>[]</code> </td><td valign="top">No characters </td></tr> <tr align="top"> <td valign="top" align="left"><code>[a]</code> </td><td valign="top">The character 'a' </td></tr> <tr align="top"> <td valign="top" align="left"><code>[ae]</code> </td><td valign="top">The characters 'a' and 'e' </td></tr> <tr> <td valign="top" align="left"><code>[a-e]</code> </td><td valign="top">The characters 'a' through 'e' inclusive, in Unicode code point order </td></tr> <tr> <td valign="top" align="left"><code>[\u4E01]</code> </td><td valign="top">The character U+4E01 </td></tr> <tr> <td valign="top" align="left"><code>[a{ab}{ac}]</code> </td><td valign="top">The character 'a' and the multicharacter strings "ab" and "ac" </td></tr> <tr> <td valign="top" align="left"><code>[\p{Lu}]</code> </td><td valign="top">All characters in the general category Uppercase Letter </td></tr> </table> </blockquote><p>Any character may be preceded by a backslash in order to remove any special meaning. White space characters, as defined by UCharacter.isWhitespace(), are ignored, unless they are escaped.</p> <p>Property patterns specify a set of characters having a certain property as defined by the Unicode standard. Both the POSIX-like "[:Lu:]" and the Perl-like syntax "\\p{Lu}" are recognized. For a complete list of supported property patterns, see the User's Guide for <a class="el" href="classUnicodeSet.html" title="A mutable set of Unicode characters and multicharacter strings. ">UnicodeSet</a> at <a href="http://icu-project.org/userguide/unicodeSet.html">http://icu-project.org/userguide/unicodeSet.html</a>. Actual determination of property data is defined by the underlying Unicode database as implemented by UCharacter.</p> <p>Patterns specify individual characters, ranges of characters, and Unicode property sets. When elements are concatenated, they specify their union. To complement a set, place a '^' immediately after the opening '['. Property patterns are inverted by modifying their delimiters; "[:^foo]" and "\\P{foo}". In any other location, '^' has no special meaning.</p> <p>Ranges are indicated by placing two a '-' between two characters, as in "a-z". This specifies the range of all characters from the left to the right, in Unicode order. If the left character is greater than or equal to the right character it is a syntax error. If a '-' occurs as the first character after the opening '[' or '[^', or if it occurs as the last character before the closing ']', then it is taken as a literal. Thus "[a\-b]", "[-ab]", and "[ab-]" all indicate the same set of three characters, 'a', 'b', and '-'.</p> <p>Sets may be intersected using the '&' operator or the asymmetric set difference may be taken using the '-' operator, for example, "[[:L:]&[\\u0000-\\u0FFF]]" indicates the set of all Unicode letters with values less than 4096. Operators ('&' and '|') have equal precedence and bind left-to-right. Thus "[[:L:]-[a-z]-[\\u0100-\\u01FF]]" is equivalent to "[[[:L:]-[a-z]]-[\\u0100-\\u01FF]]". This only really matters for difference; intersection is commutative.</p> <table class="doxtable"> <tr valign="top"> <td><code>[a]</code></td><td>The set containing 'a' </td></tr> <tr valign="top"> <td><code>[a-z]</code></td><td>The set containing 'a' through 'z' and all letters in between, in Unicode order </td></tr> <tr valign="top"> <td><code>[^a-z]</code></td><td>The set containing all characters but 'a' through 'z', that is, U+0000 through 'a'-1 and 'z'+1 through U+10FFFF </td></tr> <tr valign="top"> <td><code>[[<em>pat1</em>][<em>pat2</em>]]</code> </td><td>The union of sets specified by <em>pat1</em> and <em>pat2</em> </td></tr> <tr valign="top"> <td><code>[[<em>pat1</em>]&[<em>pat2</em>]]</code> </td><td>The intersection of sets specified by <em>pat1</em> and <em>pat2</em> </td></tr> <tr valign="top"> <td><code>[[<em>pat1</em>]-[<em>pat2</em>]]</code> </td><td>The asymmetric difference of sets specified by <em>pat1</em> and <em>pat2</em> </td></tr> <tr valign="top"> <td><code>[:Lu:] or \p{Lu}</code> </td><td>The set of characters having the specified Unicode property; in this case, Unicode uppercase letters </td></tr> <tr valign="top"> <td><code>[:^Lu:] or \P{Lu}</code> </td><td>The set of characters <em>not</em> having the given Unicode property </td></tr> </table> <p><b>Warning</b>: you cannot add an empty string ("") to a <a class="el" href="classUnicodeSet.html" title="A mutable set of Unicode characters and multicharacter strings. ">UnicodeSet</a>.</p> <p><b>Formal syntax</b></p> <blockquote> <table class="doxtable"> <tr align="top"> <td valign="top" align="right"><code>pattern :=  </code> </td><td valign="top"><code>('[' '^'? item* ']') | property</code> </td></tr> <tr align="top"> <td valign="top" align="right"><code>item :=  </code> </td><td valign="top"><code>char | (char '-' char) | pattern-expr<br/> </code> </td></tr> <tr align="top"> <td valign="top" align="right"><code>pattern-expr :=  </code> </td><td valign="top"><code>pattern | pattern-expr pattern | pattern-expr op pattern<br/> </code> </td></tr> <tr align="top"> <td valign="top" align="right"><code>op :=  </code> </td><td valign="top"><code>'&' | '-'<br/> </code> </td></tr> <tr align="top"> <td valign="top" align="right"><code>special :=  </code> </td><td valign="top"><code>'[' | ']' | '-'<br/> </code> </td></tr> <tr align="top"> <td valign="top" align="right"><code>char :=  </code> </td><td valign="top"><em>any character that is not</em><code> special<br/> | ('\' </code><em>any character</em><code>)<br/> | ('\u' hex hex hex hex)<br/> </code> </td></tr> <tr align="top"> <td valign="top" align="right"><code>hex :=  </code> </td><td valign="top"><em>any character for which </em><code>Character.digit(c, 16)</code><em> returns a non-negative result</em> </td></tr> <tr> <td valign="top" align="right"><code>property :=  </code> </td><td valign="top"><em>a Unicode property set pattern</em> </td></tr> </table> <p><br/> </p> <table border="1"> <tr> <td>Legend: <table class="doxtable"> <tr> <td valign="top"><code>a := b</code> </td><td width="20" valign="top">  </td><td valign="top"><code>a</code> may be replaced by <code>b</code> </td></tr> <tr> <td valign="top"><code>a?</code> </td><td valign="top"></td><td valign="top">zero or one instance of <code>a</code><br/> </td></tr> <tr> <td valign="top"><code>a*</code> </td><td valign="top"></td><td valign="top">one or more instances of <code>a</code><br/> </td></tr> <tr> <td valign="top"><code>a | b</code> </td><td valign="top"></td><td valign="top">either <code>a</code> or <code>b</code><br/> </td></tr> <tr> <td valign="top"><code>'a'</code> </td><td valign="top"></td><td valign="top">the literal string between the quotes </td></tr> </table> </td></tr> </table> </blockquote><p>Note:</p> <ul> <li>Most <a class="el" href="classUnicodeSet.html" title="A mutable set of Unicode characters and multicharacter strings. ">UnicodeSet</a> methods do not take a UErrorCode parameter because there are usually very few opportunities for failure other than a shortage of memory, error codes in low-level C++ string methods would be inconvenient, and the error code as the last parameter (ICU convention) would prevent the use of default parameter values. Instead, such methods set the <a class="el" href="classUnicodeSet.html" title="A mutable set of Unicode characters and multicharacter strings. ">UnicodeSet</a> into a "bogus" state (see <a class="el" href="classUnicodeSet.html#ad2987ff72267bd6692c57be0f0e39418" title="Determine if this object contains a valid set. ">isBogus()</a>) if an error occurs.</li> </ul> <dl class="section author"><dt>Author</dt><dd>Alan Liu </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001277">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Definition at line <a class="el" href="uniset_8h_source.html#l00272">272</a> of file <a class="el" href="uniset_8h_source.html">uniset.h</a>.</p> </div><h2 class="groupheader">Member Enumeration Documentation</h2> <a class="anchor" id="ad63d2078b9f1085271e23deae9798527"></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"><em><a class="anchor" id="ad63d2078b9f1085271e23deae9798527a1edea65cb1a0b012dc6fff9ac49e4fa9"></a>MIN_VALUE</em> </td><td class="fielddoc"> <p>Minimum value that can be stored in a <a class="el" href="classUnicodeSet.html" title="A mutable set of Unicode characters and multicharacter strings. ">UnicodeSet</a>. </p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001350">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> </td></tr> <tr><td class="fieldname"><em><a class="anchor" id="ad63d2078b9f1085271e23deae9798527a2c64b96c719b41e29724b22acaf6859b"></a>MAX_VALUE</em> </td><td class="fielddoc"> <p>Maximum value that can be stored in a <a class="el" href="classUnicodeSet.html" title="A mutable set of Unicode characters and multicharacter strings. ">UnicodeSet</a>. </p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001351">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> </td></tr> </table> <p>Definition at line <a class="el" href="uniset_8h_source.html#l00332">332</a> of file <a class="el" href="uniset_8h_source.html">uniset.h</a>.</p> </div> </div> <h2 class="groupheader">Constructor & Destructor Documentation</h2> <a class="anchor" id="a0a9d8b6532d6c43395e4337cc31c0445"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">UnicodeSet::UnicodeSet </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Constructs an empty set. </p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001278">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a8644385f40e8005761184b4b2c2f29cc"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">UnicodeSet::UnicodeSet </td> <td>(</td> <td class="paramtype"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> </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> </td> <td class="paramname"><em>end</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Constructs a set containing the given range. </p> <p>If <code>end > start</code> then an empty set is created.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">start</td><td>first character, inclusive, of range </td></tr> <tr><td class="paramname">end</td><td>last character, inclusive, of range </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001279">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> </div> </div> <a class="anchor" id="ae1905a055c32f34619a4355aa6868b6e"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">UnicodeSet::UnicodeSet </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>pattern</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Constructs a set from the given pattern. </p> <p>See the 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">status</td><td>returns <code>U_ILLEGAL_ARGUMENT_ERROR</code> if the pattern contains a syntax error. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001280">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a8f0732d6cb949ac1dd77f9a571dff1be"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">UnicodeSet::UnicodeSet </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>pattern</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">uint32_t </td> <td class="paramname"><em>options</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classSymbolTable.html">SymbolTable</a> * </td> <td class="paramname"><em>symbols</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Constructs a set from the given pattern. </p> <p>See the 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">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">symbols</td><td>a symbol table mapping variable names to values and stand-in characters to UnicodeSets; may be NULL </td></tr> <tr><td class="paramname">status</td><td>returns <code>U_ILLEGAL_ARGUMENT_ERROR</code> if the pattern contains a syntax error. </td></tr> </table> </dd> </dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000047">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl> </div> </div> <a class="anchor" id="afd5eb61da4a0ea041a933896c458ac99"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">UnicodeSet::UnicodeSet </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>pattern</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classParsePosition.html">ParsePosition</a> & </td> <td class="paramname"><em>pos</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">uint32_t </td> <td class="paramname"><em>options</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classSymbolTable.html">SymbolTable</a> * </td> <td class="paramname"><em>symbols</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Constructs a set from the given pattern. </p> <p>See the 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">pos</td><td>on input, the position in pattern at which to start parsing. On output, the position after the last character parsed. </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">symbols</td><td>a symbol table mapping variable names to values and stand-in characters to UnicodeSets; may be NULL </td></tr> <tr><td class="paramname">status</td><td>input-output error code </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001281">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl> </div> </div> <a class="anchor" id="a3d3ae73b57fd6b7609f88177a19034f8"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">UnicodeSet::UnicodeSet </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeSet.html">UnicodeSet</a> & </td> <td class="paramname"><em>o</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Constructs a set that is identical to the given <a class="el" href="classUnicodeSet.html" title="A mutable set of Unicode characters and multicharacter strings. ">UnicodeSet</a>. </p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001282">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a32f201258378210ede96ad08f8676c82"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual UnicodeSet::~UnicodeSet </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Destructs the set. </p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001283">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="a1379c186ca8b314c91d20b7d9130fb7e"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classUnicodeSet.html">UnicodeSet</a>& UnicodeSet::add </td> <td>(</td> <td class="paramtype"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> </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> </td> <td class="paramname"><em>end</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Adds the specified range to this set if it is not already present. </p> <p>If this set already contains the specified range, the call leaves this set unchanged. If <code>end > start</code> then an empty range is added, leaving the set unchanged. This is equivalent to a boolean logic OR, or a set UNION. A frozen set will not be modified.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">start</td><td>first character, inclusive, of range to be added to this set. </td></tr> <tr><td class="paramname">end</td><td>last character, inclusive, of range to be added to this set. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001320">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a63c37362765602f4f64e2d8f431eef71"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classUnicodeSet.html">UnicodeSet</a>& UnicodeSet::add </td> <td>(</td> <td class="paramtype"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> </td> <td class="paramname"><em>c</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Adds the specified character to this set if it is not already present. </p> <p>If this set already contains the specified character, the call leaves this set unchanged. A frozen set will not be modified. </p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001321">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a4fb243ad6c13d3f17b3330d1c521d35a"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classUnicodeSet.html">UnicodeSet</a>& UnicodeSet::add </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>s</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Adds the specified multicharacter to this set if it is not already present. </p> <p>If this set already contains the multicharacter, the call leaves this set unchanged. Thus "ch" => {"ch"} <br/> <b>Warning: you cannot add an empty string ("") to a <a class="el" href="classUnicodeSet.html" title="A mutable set of Unicode characters and multicharacter strings. ">UnicodeSet</a>.</b> A frozen set will not be modified. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">s</td><td>the source string </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>this object, for chaining </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001322">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> </div> </div> <a class="anchor" id="ac5d166441f38ae9e4c4e1737b92175bd"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classUnicodeSet.html">UnicodeSet</a>& UnicodeSet::addAll </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>s</em></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" => {"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">s</td><td>the source string </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>this object, for chaining </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001323">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> </div> </div> <a class="anchor" id="a6ee40747f030a8e24a5984425e334afc"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classUnicodeSet.html">UnicodeSet</a>& UnicodeSet::addAll </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeSet.html">UnicodeSet</a> & </td> <td class="paramname"><em>c</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </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">c</td><td>set whose elements are to be added to this set. </td></tr> </table> </dd> </dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classUnicodeSet.html#a1379c186ca8b314c91d20b7d9130fb7e" title="Adds the specified range to this set if it is not already present. ">add(UChar32, UChar32)</a> </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001338">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="ae2147b573bc056ea80cfe5365f6cab33"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> UnicodeSet::addMatchSetTo </td> <td>(</td> <td class="paramtype"><a class="el" href="classUnicodeSet.html">UnicodeSet</a> & </td> <td class="paramname"><em>toUnionTo</em></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Implementation of <a class="el" href="classUnicodeMatcher.html" title="UnicodeMatcher defines a protocol for objects that can match a range of characters in a Replaceable s...">UnicodeMatcher</a> API. </p> <p>Union the set of all characters that may be matched by this object into the given set. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">toUnionTo</td><td>the set into which to union the source characters </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001317">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> <p>Implements <a class="el" href="classUnicodeMatcher.html#a23f055516112c25dffdc836ffa16cd0e">UnicodeMatcher</a>.</p> </div> </div> <a class="anchor" id="a642c4823b72d7fa64ebcda577a9cef8b"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classUnicodeSet.html">UnicodeSet</a>& UnicodeSet::applyIntPropertyValue </td> <td>(</td> <td class="paramtype"><a class="el" href="uchar_8h.html#ae40d616419e74ecc7c80a9febab03199">UProperty</a> </td> <td class="paramname"><em>prop</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </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> & </td> <td class="paramname"><em>ec</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Modifies this 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">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="section return"><dt>Returns</dt><dd>a reference to this set</dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001297">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> </div> </div> <a class="anchor" id="a92ea00fbad175397371e02f0a4a7f6cc"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classUnicodeSet.html">UnicodeSet</a>& UnicodeSet::applyPattern </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>pattern</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Modifies this set to represent the set specified by the given pattern, optionally ignoring white space. </p> <p>See the class description for the syntax of the pattern language. A frozen set will not be modified. </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">status</td><td>returns <code>U_ILLEGAL_ARGUMENT_ERROR</code> if the pattern contains a syntax error. <em> Empties the set passed before applying the pattern.</em> </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>a reference to this </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001294">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a33aaa692e8d76a9544adb15576a76120"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classUnicodeSet.html">UnicodeSet</a>& UnicodeSet::applyPattern </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>pattern</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">uint32_t </td> <td class="paramname"><em>options</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classSymbolTable.html">SymbolTable</a> * </td> <td class="paramname"><em>symbols</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Modifies this set to represent the set specified by the given pattern, optionally ignoring white space. </p> <p>See the class description for the syntax of the pattern language. A frozen set will not be modified. </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">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">symbols</td><td>a symbol table mapping variable names to values and stand-ins to UnicodeSets; may be NULL </td></tr> <tr><td class="paramname">status</td><td>returns <code>U_ILLEGAL_ARGUMENT_ERROR</code> if the pattern contains a syntax error. <em> Empties the set passed before applying the pattern.</em> </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>a reference to this </dd></dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000048">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl> </div> </div> <a class="anchor" id="aca25277cd3feb80e72be77f6e169c50a"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classUnicodeSet.html">UnicodeSet</a>& UnicodeSet::applyPattern </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>pattern</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classParsePosition.html">ParsePosition</a> & </td> <td class="paramname"><em>pos</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">uint32_t </td> <td class="paramname"><em>options</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classSymbolTable.html">SymbolTable</a> * </td> <td class="paramname"><em>symbols</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Parses the given pattern, starting at the given position. </p> <p>The character at pattern.charAt(pos.getIndex()) must be '[', or the parse fails. Parsing continues until the corresponding closing ']'. If a syntax error is encountered between the opening and closing brace, the parse fails. Upon return from a successful parse, the <a class="el" href="classParsePosition.html" title="ParsePosition is a simple class used by Format and its subclasses to keep track of the current positi...">ParsePosition</a> is updated to point to the character following the closing ']', and a StringBuffer containing a pairs list for the parsed pattern is returned. This method calls itself recursively to parse embedded subpatterns. <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">pattern</td><td>the string containing the pattern to be parsed. The portion of the string from pos.getIndex(), which must be a '[', to the corresponding closing ']', is parsed. </td></tr> <tr><td class="paramname">pos</td><td>upon entry, the position at which to being parsing. The character at pattern.charAt(pos.getIndex()) must be a '['. Upon return from a successful parse, pos.getIndex() is either the character after the closing ']' of the parsed pattern, or pattern.length() if the closing ']' is the last character of the pattern string. </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">symbols</td><td>a symbol table mapping variable names to values and stand-ins to UnicodeSets; may be NULL </td></tr> <tr><td class="paramname">status</td><td>returns <code>U_ILLEGAL_ARGUMENT_ERROR</code> if the pattern contains a syntax error. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>a reference to this </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001295">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl> </div> </div> <a class="anchor" id="a9f355f0695c6fc079328ec14b3131d62"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classUnicodeSet.html">UnicodeSet</a>& UnicodeSet::applyPropertyAlias </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>prop</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> & </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> & </td> <td class="paramname"><em>ec</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Modifies this 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">prop</td><td>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">value</td><td>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">ec</td><td>error code input/output parameter</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>a reference to this set</dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001298">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> </div> </div> <a class="anchor" id="abdc0d3f52ce17855ca1a6eeed7ff19e2"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> UnicodeSet::charAt </td> <td>(</td> <td class="paramtype">int32_t </td> <td class="paramname"><em>index</em></td><td>)</td> <td> const</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><a class="el" href="classUnicodeSet.html#a379296bbc66c5c67d1c92d44ae866504" title="Returns the index of the given character within this set, where the set is ordered by ascending code ...">indexOf()</a></code>. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">index</td><td>an index from 0..<a class="el" href="classUnicodeSet.html#a6c3a6816ee9b470937073fec4d62f4f0" title="Returns the number of elements in this set (its cardinality). ">size()</a>-1 </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#_stable001319">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> </div> </div> <a class="anchor" id="aaa81304748c9f5bd62eff400c14a9d0f"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classUnicodeSet.html">UnicodeSet</a>& UnicodeSet::clear </td> <td>(</td> <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </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="stable"><dt><b><a class="el" href="stable.html#_stable001342">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a4a85692219bd42074445974f10ca9b9e"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classUnicodeFunctor.html">UnicodeFunctor</a>* UnicodeSet::clone </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Returns a copy of this object. </p> <p>All <a class="el" href="classUnicodeFunctor.html" title="UnicodeFunctor is an abstract base class for objects that perform match and/or replace operations on ...">UnicodeFunctor</a> objects have to support cloning in order to allow classes using UnicodeFunctors, such as <a class="el" href="classTransliterator.html" title="Transliterator is an abstract class that transliterates text from one format to another. ">Transliterator</a>, to implement cloning. If this set is frozen, then the clone will be frozen as well. Use <a class="el" href="classUnicodeSet.html#a7099ee368fd521aab75b44d5150b6449" title="Clone the set and make the clone mutable. ">cloneAsThawed()</a> for a mutable clone of a frozen set. </p> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classUnicodeSet.html#a7099ee368fd521aab75b44d5150b6449" title="Clone the set and make the clone mutable. ">cloneAsThawed</a> </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001287">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Implements <a class="el" href="classUnicodeFunctor.html#ae9aaff845a9885df3ec336df1b4afa10">UnicodeFunctor</a>.</p> </div> </div> <a class="anchor" id="a7099ee368fd521aab75b44d5150b6449"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classUnicodeFunctor.html">UnicodeFunctor</a>* UnicodeSet::cloneAsThawed </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</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="section return"><dt>Returns</dt><dd>the mutable clone </dd></dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classUnicodeSet.html#a31085c50d5cb8fdc634ea01156f4f907" title="Freeze the set (make it immutable). ">freeze</a> </dd> <dd> <a class="el" href="classUnicodeSet.html#af82d9e6251a46c6b4735af8b7cf1f3f3" title="Determines whether the set has been frozen (made immutable) or not. ">isFrozen</a> </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001291">Stable:</a></b></dt><dd>ICU 3.8 </dd></dl> </div> </div> <a class="anchor" id="a18bd83e5ae05494b4bbdc8030baa797d"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classUnicodeSet.html">UnicodeSet</a>& UnicodeSet::closeOver </td> <td>(</td> <td class="paramtype">int32_t </td> <td class="paramname"><em>attribute</em></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}] => [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">attribute</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="section return"><dt>Returns</dt><dd>a reference to this set. </dd></dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000049">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl> </div> </div> <a class="anchor" id="ab50b1b38c127430e876ea6830f278bc7"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classUnicodeSet.html">UnicodeSet</a>& UnicodeSet::compact </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </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="stable"><dt><b><a class="el" href="stable.html#_stable001347">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> </div> </div> <a class="anchor" id="a610f31a87d953d87820b19c2e30dc14f"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classUnicodeSet.html">UnicodeSet</a>& UnicodeSet::complement </td> <td>(</td> <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </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 is equivalent to <code>complement(MIN_VALUE, MAX_VALUE)</code>. A frozen set will not be modified. </p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001334">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="aba56631dbe1a84f42eb2c67711cee978"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classUnicodeSet.html">UnicodeSet</a>& UnicodeSet::complement </td> <td>(</td> <td class="paramtype"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> </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> </td> <td class="paramname"><em>end</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Complements the specified range in this set. </p> <p>Any character in the range will be removed if it is in this set, or will be added if it is not in this set. If <code>end > start</code> then an empty range is complemented, leaving the set unchanged. This is equivalent to a boolean logic XOR. A frozen set will not be modified.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">start</td><td>first character, inclusive, of range to be removed from this set. </td></tr> <tr><td class="paramname">end</td><td>last character, inclusive, of range to be removed from this set. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001335">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a6a18946f8b62ba998080cc2b82ae03f3"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classUnicodeSet.html">UnicodeSet</a>& UnicodeSet::complement </td> <td>(</td> <td class="paramtype"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> </td> <td class="paramname"><em>c</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Complements the specified character in this set. </p> <p>The character 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="stable"><dt><b><a class="el" href="stable.html#_stable001336">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="abd4843e788831beb8960ae0117d3d8ac"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classUnicodeSet.html">UnicodeSet</a>& UnicodeSet::complement </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>s</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Complement the specified string in this set. </p> <p>The set will not contain the specified string once the call returns. <br/> <b>Warning: you cannot add an empty string ("") to a <a class="el" href="classUnicodeSet.html" title="A mutable set of Unicode characters and multicharacter strings. ">UnicodeSet</a>.</b> A frozen set will not be modified. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">s</td><td>the string to complement </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>this object, for chaining </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001337">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> </div> </div> <a class="anchor" id="a0365c770541d2c7928f3261b9be0bd0f"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classUnicodeSet.html">UnicodeSet</a>& UnicodeSet::complementAll </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>s</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Complement EACH of the characters in this string. </p> <p>Note: "ch" == {"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">s</td><td>the source string </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>this object, for chaining </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001325">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> </div> </div> <a class="anchor" id="a3e128521c00a9cf6b4c94558b87cebd2"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classUnicodeSet.html">UnicodeSet</a>& UnicodeSet::complementAll </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeSet.html">UnicodeSet</a> & </td> <td class="paramname"><em>c</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </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">c</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#_stable001341">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> </div> </div> <a class="anchor" id="a5f83cbdf884770344420fb60e4f8e697"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> UnicodeSet::contains </td> <td>(</td> <td class="paramtype"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> </td> <td class="paramname"><em>c</em></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Returns true if this set 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">c</td><td>character 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#_stable001301">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Implements <a class="el" href="classUnicodeFilter.html#aa3b2c85ffa0cff083009efb324de84ca">UnicodeFilter</a>.</p> </div> </div> <a class="anchor" id="ad3e92e0b5c8c673462a589791d57cc84"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> UnicodeSet::contains </td> <td>(</td> <td class="paramtype"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> </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> </td> <td class="paramname"><em>end</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Returns true if this set contains every character of the given range. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">start</td><td>first character, inclusive, of the range </td></tr> <tr><td class="paramname">end</td><td>last character, inclusive, of the range </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#_stable001302">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a8d4091fe951ad4cbb3d557e37cf9cba5"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> UnicodeSet::contains </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>s</em></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Returns <code>true</code> if this set contains the given multicharacter string. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">s</td><td>string to be checked for containment </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd><code>true</code> if this set contains the specified string </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001303">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> </div> </div> <a class="anchor" id="a3823eb4598b4fbdf33c5671d447914db"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> UnicodeSet::containsAll </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeSet.html">UnicodeSet</a> & </td> <td class="paramname"><em>c</em></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Returns true if this set contains all the characters and strings of the given set. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">c</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#_stable001304">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> </div> </div> <a class="anchor" id="a224be3bc42df5b8a47c21b33c9ad7dc6"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> UnicodeSet::containsAll </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>s</em></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Returns true if this set contains all the characters of the given string. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">s</td><td>string containing characters 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#_stable001305">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> </div> </div> <a class="anchor" id="aa033cd3776450f747f5bf8beb0477c0e"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> UnicodeSet::containsNone </td> <td>(</td> <td class="paramtype"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> </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> </td> <td class="paramname"><em>end</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </div><div class="memdoc"> <p>Returns true if this set contains none of the characters of the given range. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">start</td><td>first character, inclusive, of the range </td></tr> <tr><td class="paramname">end</td><td>last character, inclusive, of the range </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#_stable001306">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> <p>Referenced by <a class="el" href="uniset_8h_source.html#l01548">containsSome()</a>.</p> </div> </div> <a class="anchor" id="aac49b81bc2081b71d3844053ef4a00e1"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> UnicodeSet::containsNone </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeSet.html">UnicodeSet</a> & </td> <td class="paramname"><em>c</em></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Returns true if this set contains none of the characters and strings of the given set. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">c</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#_stable001307">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> </div> </div> <a class="anchor" id="a913f8afd4394c0786207a824c359291d"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> UnicodeSet::containsNone </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>s</em></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Returns true if this set contains none of the characters of the given string. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">s</td><td>string containing characters 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#_stable001308">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> </div> </div> <a class="anchor" id="a5317db95daf21213341b6d8204dcb42c"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> UnicodeSet::containsSome </td> <td>(</td> <td class="paramtype"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> </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> </td> <td class="paramname"><em>end</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Returns true if this set contains one or more of the characters in the given range. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">start</td><td>first character, inclusive, of the range </td></tr> <tr><td class="paramname">end</td><td>last character, inclusive, of the range </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>true if the condition is met </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001309">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> <p>Definition at line <a class="el" href="uniset_8h_source.html#l01548">1548</a> of file <a class="el" href="uniset_8h_source.html">uniset.h</a>.</p> <p>References <a class="el" href="classUnicodeSet.html#aa033cd3776450f747f5bf8beb0477c0e">containsNone()</a>.</p> </div> </div> <a class="anchor" id="a35ddc714c95fffa7650a10abb75be5d8"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> UnicodeSet::containsSome </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeSet.html">UnicodeSet</a> & </td> <td class="paramname"><em>s</em></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Returns true if this set contains one or more of the characters and strings of the given set. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">s</td><td>The set to be checked for containment </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>true if the condition is met </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001310">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> <p>Definition at line <a class="el" href="uniset_8h_source.html#l01552">1552</a> of file <a class="el" href="uniset_8h_source.html">uniset.h</a>.</p> <p>References <a class="el" href="classUnicodeSet.html#aa033cd3776450f747f5bf8beb0477c0e">containsNone()</a>.</p> </div> </div> <a class="anchor" id="ac30cbb03cc4b55cad432f838967324b3"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> UnicodeSet::containsSome </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>s</em></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Returns true if this set contains one or more of the characters of the given string. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">s</td><td>string containing characters to be checked for containment </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>true if the condition is met </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001311">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> <p>Definition at line <a class="el" href="uniset_8h_source.html#l01556">1556</a> of file <a class="el" href="uniset_8h_source.html">uniset.h</a>.</p> <p>References <a class="el" href="classUnicodeSet.html#aa033cd3776450f747f5bf8beb0477c0e">containsNone()</a>.</p> </div> </div> <a class="anchor" id="abcf0c42078b37520dc05664e5c514ee6"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="classUnicodeSet.html">UnicodeSet</a>* UnicodeSet::createFrom </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>s</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Makes a set from a multicharacter string. </p> <p>Thus "ch" => {"ch"} <br/> <b>Warning: you cannot add an empty string ("") to a <a class="el" href="classUnicodeSet.html" title="A mutable set of Unicode characters and multicharacter strings. ">UnicodeSet</a>.</b> </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">s</td><td>the source string </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>a newly created set containing the given string. The caller owns the return object and is responsible for deleting it. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001327">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> </div> </div> <a class="anchor" id="a7ee55510aa41e114d559e65fc5d94a37"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="classUnicodeSet.html">UnicodeSet</a>* UnicodeSet::createFromAll </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>s</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Makes a set from each of the characters in the string. </p> <p>Thus "ch" => {"c", "h"} </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">s</td><td>the source string </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>a newly created set containing the given characters The caller owns the return object and is responsible for deleting it. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001328">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> </div> </div> <a class="anchor" id="a31085c50d5cb8fdc634ea01156f4f907"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classUnicodeFunctor.html">UnicodeFunctor</a>* UnicodeSet::freeze </td> <td>(</td> <td class="paramname"></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="classUnicodeSet.html#a5f83cbdf884770344420fb60e4f8e697" title="Returns true if this set contains the given character. ">contains()</a> and <a class="el" href="classUnicodeSet.html#ae429f2e852471745b94d6dba3dc38440" title="Returns the length of the initial substring of the input string which consists only of characters and...">span()</a>. A frozen set will not be modified. (It remains frozen.) </p> <dl class="section return"><dt>Returns</dt><dd>this set. </dd></dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classUnicodeSet.html#af82d9e6251a46c6b4735af8b7cf1f3f3" title="Determines whether the set has been frozen (made immutable) or not. ">isFrozen</a> </dd> <dd> <a class="el" href="classUnicodeSet.html#a7099ee368fd521aab75b44d5150b6449" title="Clone the set and make the clone mutable. ">cloneAsThawed</a> </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001290">Stable:</a></b></dt><dd>ICU 3.8 </dd></dl> </div> </div> <a class="anchor" id="a4e6c600a7a6bcc1d564d84d0fa512932"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> UnicodeSet::getDynamicClassID </td> <td>(</td> <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Implement <a class="el" href="classUnicodeFunctor.html" title="UnicodeFunctor is an abstract base class for objects that perform match and/or replace operations on ...">UnicodeFunctor</a> API. </p> <dl class="section return"><dt>Returns</dt><dd>The class ID for this object. All objects of a given class have the same class ID. Objects of other classes have different class IDs. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001349">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> <p>Implements <a class="el" href="classUnicodeFilter.html#ac4dc39e50294690b9dd2de60461970f3">UnicodeFilter</a>.</p> </div> </div> <a class="anchor" id="a60901508da179b56dfa8d16204f4c1f0"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual int32_t UnicodeSet::getRangeCount </td> <td>(</td> <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Iteration method that returns the number of ranges contained in this set. </p> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classUnicodeSet.html#a78847265b21d16ec663832bdf6cca8a8" title="Iteration method that returns the first character in the specified range of this set. ">getRangeStart</a> </dd> <dd> <a class="el" href="classUnicodeSet.html#ac03307b5f0118a421cd8dab47f12d780" title="Iteration method that returns the last character in the specified range of this set. ">getRangeEnd</a> </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001343">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> </div> </div> <a class="anchor" id="ac03307b5f0118a421cd8dab47f12d780"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> UnicodeSet::getRangeEnd </td> <td>(</td> <td class="paramtype">int32_t </td> <td class="paramname"><em>index</em></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Iteration method that returns the last character in the specified range of this set. </p> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classUnicodeSet.html#a78847265b21d16ec663832bdf6cca8a8" title="Iteration method that returns the first character in the specified range of this set. ">getRangeStart</a> </dd> <dd> <a class="el" href="classUnicodeSet.html#ac03307b5f0118a421cd8dab47f12d780" title="Iteration method that returns the last character in the specified range of this set. ">getRangeEnd</a> </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001345">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> </div> </div> <a class="anchor" id="a78847265b21d16ec663832bdf6cca8a8"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> UnicodeSet::getRangeStart </td> <td>(</td> <td class="paramtype">int32_t </td> <td class="paramname"><em>index</em></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Iteration method that returns the first character in the specified range of this set. </p> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classUnicodeSet.html#a60901508da179b56dfa8d16204f4c1f0" title="Iteration method that returns the number of ranges contained in this set. ">getRangeCount</a> </dd> <dd> <a class="el" href="classUnicodeSet.html#ac03307b5f0118a421cd8dab47f12d780" title="Iteration method that returns the last character in the specified range of this set. ">getRangeEnd</a> </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001344">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> </div> </div> <a class="anchor" id="a1f7725a2e4de21e4cfff622fecc89716"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> UnicodeSet::getStaticClassID </td> <td>(</td> <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Return the class ID for this class. </p> <p>This is useful only for comparing to a return value from <a class="el" href="classUnicodeSet.html#a4e6c600a7a6bcc1d564d84d0fa512932" title="Implement UnicodeFunctor API. ">getDynamicClassID()</a>. For example: </p> <pre> . Base* polymorphic_pointer = createPolymorphicObject(); . if (polymorphic_pointer-><a class="el" href="classUnicodeSet.html#a4e6c600a7a6bcc1d564d84d0fa512932" title="Implement UnicodeFunctor API. ">getDynamicClassID()</a> == . Derived::getStaticClassID()) ... </pre> <dl class="section return"><dt>Returns</dt><dd>The class ID for all objects of this class. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001348">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a530feed82c20c22bfa48e6130fccb139"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual int32_t UnicodeSet::hashCode </td> <td>(</td> <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Returns the hash code value for this set. </p> <dl class="section return"><dt>Returns</dt><dd>the hash code value for this set. </dd></dl> <dl class="section see"><dt>See Also</dt><dd>Object::hashCode() </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001288">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a379296bbc66c5c67d1c92d44ae866504"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int32_t UnicodeSet::indexOf </td> <td>(</td> <td class="paramtype"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> </td> <td class="paramname"><em>c</em></td><td>)</td> <td> const</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><a class="el" href="classUnicodeSet.html#abdc0d3f52ce17855ca1a6eeed7ff19e2" title="Returns the character at the given index within this set, where the set is ordered by ascending code ...">charAt()</a></code>. </p> <dl class="section return"><dt>Returns</dt><dd>an index from 0..<a class="el" href="classUnicodeSet.html#a6c3a6816ee9b470937073fec4d62f4f0" title="Returns the number of elements in this set (its cardinality). ">size()</a>-1, or -1 </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001318">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> </div> </div> <a class="anchor" id="ad2987ff72267bd6692c57be0f0e39418"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> UnicodeSet::isBogus </td> <td>(</td> <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Determine if this object contains a valid set. </p> <p>A bogus set has no value. It is different from an empty set. It can be used to indicate that no set value is available.</p> <dl class="section return"><dt>Returns</dt><dd>TRUE if the set is valid, FALSE otherwise </dd></dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classUnicodeSet.html#a3ade624e4b056cb62cc92ed1d945425a" title="Make this UnicodeSet object invalid. ">setToBogus()</a> </dd></dl> <dl class="draft"><dt><b><a class="el" href="draft.html#_draft000039">Draft:</a></b></dt><dd>This API may be changed in the future versions and was introduced in ICU 4.0 </dd></dl> <p>Definition at line <a class="el" href="uniset_8h_source.html#l01560">1560</a> of file <a class="el" href="uniset_8h_source.html">uniset.h</a>.</p> </div> </div> <a class="anchor" id="a0e085f3f2b9a81dd88609e13edd5d8a5"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> UnicodeSet::isEmpty </td> <td>(</td> <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Returns <code>true</code> if this set contains no elements. </p> <dl class="section return"><dt>Returns</dt><dd><code>true</code> if this set contains no elements. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001300">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="af82d9e6251a46c6b4735af8b7cf1f3f3"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> UnicodeSet::isFrozen </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </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="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="classUnicodeSet.html#a31085c50d5cb8fdc634ea01156f4f907" title="Freeze the set (make it immutable). ">freeze</a> </dd> <dd> <a class="el" href="classUnicodeSet.html#a7099ee368fd521aab75b44d5150b6449" title="Clone the set and make the clone mutable. ">cloneAsThawed</a> </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001289">Stable:</a></b></dt><dd>ICU 3.8 </dd></dl> <p>Definition at line <a class="el" href="uniset_8h_source.html#l01544">1544</a> of file <a class="el" href="uniset_8h_source.html">uniset.h</a>.</p> <p>References <a class="el" href="utypes_8h_source.html#l00238">NULL</a>.</p> </div> </div> <a class="anchor" id="a3acd6cd4268004b9f3740a2373f411c4"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="unimatch_8h.html#aa87e5322490b3e89e6913bfabd0390e6">UMatchDegree</a> UnicodeSet::matches </td> <td>(</td> <td class="paramtype">const <a class="el" href="classReplaceable.html">Replaceable</a> & </td> <td class="paramname"><em>text</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t & </td> <td class="paramname"><em>offset</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>limit</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td> <td class="paramname"><em>incremental</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Implement <a class="el" href="classUnicodeMatcher.html#ab712e496c0023237fbe38184d0424310" title="Return a UMatchDegree value indicating the degree of match for the given text at the given offset...">UnicodeMatcher::matches()</a> </p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001316">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> <p>Reimplemented from <a class="el" href="classUnicodeFilter.html#aea7e423b6ea7e4588bf7f5aa220e665c">UnicodeFilter</a>.</p> </div> </div> <a class="anchor" id="a003c9c3c25134385dcc980be40848e6c"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> UnicodeSet::operator!= </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeSet.html">UnicodeSet</a> & </td> <td class="paramname"><em>o</em></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Compares the specified object with this set for equality. </p> <p>Returns <code>true</code> if the specified set is not equal to this set. </p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001286">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Definition at line <a class="el" href="uniset_8h_source.html#l01540">1540</a> of file <a class="el" href="uniset_8h_source.html">uniset.h</a>.</p> <p>References <a class="el" href="classUnicodeSet.html#a4c6b2c9216b9e42f4d69ed413aaa2af4">operator==()</a>.</p> </div> </div> <a class="anchor" id="a2d1faed072a21c52054507d024d7700d"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classUnicodeSet.html">UnicodeSet</a>& UnicodeSet::operator= </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeSet.html">UnicodeSet</a> & </td> <td class="paramname"><em>o</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Assigns this object to be a copy of another. </p> <p>A frozen set will not be modified. </p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001284">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a4c6b2c9216b9e42f4d69ed413aaa2af4"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> UnicodeSet::operator== </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeSet.html">UnicodeSet</a> & </td> <td class="paramname"><em>o</em></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Compares the specified object with this set for equality. </p> <p>Returns <code>true</code> if the two sets have the same size, and every member of the specified set is contained in this set (or equivalently, every member of this set is contained in the specified set).</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">o</td><td>set to be compared for equality with this set. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd><code>true</code> if the specified set is equal to this set. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001285">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Referenced by <a class="el" href="uniset_8h_source.html#l01540">operator!=()</a>.</p> </div> </div> <a class="anchor" id="acc97ad34863f7b856851d38636d58f2a"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classUnicodeSet.html">UnicodeSet</a>& UnicodeSet::remove </td> <td>(</td> <td class="paramtype"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> </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> </td> <td class="paramname"><em>end</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Removes the specified range from this set if it is present. </p> <p>The set will not contain the specified range once the call returns. If <code>end > start</code> then an empty range is removed, leaving the set unchanged. A frozen set will not be modified.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">start</td><td>first character, inclusive, of range to be removed from this set. </td></tr> <tr><td class="paramname">end</td><td>last character, inclusive, of range to be removed from this set. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001331">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a3bb2e0286c5e092091f5d49bf7d9663c"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classUnicodeSet.html">UnicodeSet</a>& UnicodeSet::remove </td> <td>(</td> <td class="paramtype"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> </td> <td class="paramname"><em>c</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Removes the specified character from this set if it is present. </p> <p>The set will not contain the specified range once the call returns. A frozen set will not be modified. </p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001332">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a4f2bddd13e9df82977954cb5cd3ffc22"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classUnicodeSet.html">UnicodeSet</a>& UnicodeSet::remove </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>s</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Removes the specified string from this set if it is present. </p> <p>The set will not contain the specified character once the call returns. A frozen set will not be modified. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">s</td><td>the source string </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>this object, for chaining </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001333">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> </div> </div> <a class="anchor" id="a795feb71ef9e0e997c3a5ce369005c4a"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classUnicodeSet.html">UnicodeSet</a>& UnicodeSet::removeAll </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>s</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Remove EACH of the characters in this string. </p> <p>Note: "ch" == {"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">s</td><td>the source string </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>this object, for chaining </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001326">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> </div> </div> <a class="anchor" id="a02e3e29b1412956ccebff4919c48ba4c"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classUnicodeSet.html">UnicodeSet</a>& UnicodeSet::removeAll </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeSet.html">UnicodeSet</a> & </td> <td class="paramname"><em>c</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </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">c</td><td>set 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#_stable001340">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a6eec59457382fa43c98de782186cce94"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classUnicodeSet.html">UnicodeSet</a>& UnicodeSet::removeAllStrings </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Remove all strings from this set. </p> <dl class="section return"><dt>Returns</dt><dd>a reference to this set. </dd></dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000050">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl> </div> </div> <a class="anchor" id="a4ed67bc4ceb6838a965a04c68b39e918"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> UnicodeSet::resemblesPattern </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>pattern</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>pos</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </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 <a class="el" href="classUnicodeSet.html" title="A mutable set of Unicode characters and multicharacter strings. ">UnicodeSet</a> pattern. </p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001293">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> </div> </div> <a class="anchor" id="a4edd71f0dd79a0114148c1da27e94494"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classUnicodeSet.html">UnicodeSet</a>& UnicodeSet::retain </td> <td>(</td> <td class="paramtype"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> </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> </td> <td class="paramname"><em>end</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </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>end > start</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">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#_stable001329">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="afd3410661ec259b9a760ee35ac56ef52"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classUnicodeSet.html">UnicodeSet</a>& UnicodeSet::retain </td> <td>(</td> <td class="paramtype"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> </td> <td class="paramname"><em>c</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Retain the specified character from this set if it is present. </p> <p>A frozen set will not be modified. </p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001330">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a3e385a1847ecfd9272a36a012eb0b36e"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classUnicodeSet.html">UnicodeSet</a>& UnicodeSet::retainAll </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>s</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Retains EACH of the characters in this string. </p> <p>Note: "ch" == {"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">s</td><td>the source string </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>this object, for chaining </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001324">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> </div> </div> <a class="anchor" id="a43902955210b895b62dfa47e945abf96"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classUnicodeSet.html">UnicodeSet</a>& UnicodeSet::retainAll </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeSet.html">UnicodeSet</a> & </td> <td class="paramname"><em>c</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </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">c</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#_stable001339">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a6188e8d02a4197661aa5c10021a777c6"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int32_t UnicodeSet::serialize </td> <td>(</td> <td class="paramtype">uint16_t * </td> <td class="paramname"><em>dest</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </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> & </td> <td class="paramname"><em>ec</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</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 <= 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">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">ec</td><td>error code. Will be set to U_INDEX_OUTOFBOUNDS_ERROR if n+2*m > 0x7FFF. Will be set to U_BUFFER_OVERFLOW_ERROR if n+2*m+(m!=0?2:1) > 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#_stable001346">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> </div> </div> <a class="anchor" id="a8f6461feeb82a7f9de81909c5ef85155"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classUnicodeSet.html">UnicodeSet</a>& UnicodeSet::set </td> <td>(</td> <td class="paramtype"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> </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> </td> <td class="paramname"><em>end</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Make this object represent the range <code>start - end</code>. </p> <p>If <code>end > start</code> then this object is set to an 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">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#_stable001292">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> </div> </div> <a class="anchor" id="a3ade624e4b056cb62cc92ed1d945425a"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> UnicodeSet::setToBogus </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Make this <a class="el" href="classUnicodeSet.html" title="A mutable set of Unicode characters and multicharacter strings. ">UnicodeSet</a> object invalid. </p> <p>The string will test TRUE with <a class="el" href="classUnicodeSet.html#ad2987ff72267bd6692c57be0f0e39418" title="Determine if this object contains a valid set. ">isBogus()</a>.</p> <p>A bogus set has no value. It is different from an empty set. It can be used to indicate that no set value is available.</p> <p>This utility function is used throughout the <a class="el" href="classUnicodeSet.html" title="A mutable set of Unicode characters and multicharacter strings. ">UnicodeSet</a> implementation to indicate that a <a class="el" href="classUnicodeSet.html" title="A mutable set of Unicode characters and multicharacter strings. ">UnicodeSet</a> operation failed, and may be used in other functions, especially but not exclusively when such functions do not take a UErrorCode for simplicity.</p> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classUnicodeSet.html#ad2987ff72267bd6692c57be0f0e39418" title="Determine if this object contains a valid set. ">isBogus()</a> </dd></dl> <dl class="draft"><dt><b><a class="el" href="draft.html#_draft000040">Draft:</a></b></dt><dd>This API may be changed in the future versions and was introduced in ICU 4.0 </dd></dl> </div> </div> <a class="anchor" id="a6c3a6816ee9b470937073fec4d62f4f0"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual int32_t UnicodeSet::size </td> <td>(</td> <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Returns the number of elements in this set (its cardinality). </p> <p>Note than the elements of a set may include both individual codepoints and strings.</p> <dl class="section return"><dt>Returns</dt><dd>the number of elements in this set (its cardinality). </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001299">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="ae429f2e852471745b94d6dba3dc38440"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int32_t UnicodeSet::span </td> <td>(</td> <td class="paramtype">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> * </td> <td class="paramname"><em>s</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </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> </td> <td class="paramname"><em>spanCondition</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</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 <a class="el" href="classUnicodeSet.html#a5f83cbdf884770344420fb60e4f8e697" title="Returns true if this set contains the given character. ">contains()</a> 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">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#_stable001312">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#ac3d7c617bb22a04adeb39320ebec2bd1" 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="ac95f19d6cc2033b05455838842337d43"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int32_t UnicodeSet::spanBack </td> <td>(</td> <td class="paramtype">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> * </td> <td class="paramname"><em>s</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </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> </td> <td class="paramname"><em>spanCondition</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</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 <a class="el" href="classUnicodeSet.html#a5f83cbdf884770344420fb60e4f8e697" title="Returns true if this set contains the given character. ">contains()</a> 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">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#_stable001313">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#ac3d7c617bb22a04adeb39320ebec2bd1" 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="a1d119bcbf7656d73aeb9267383952e9e"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int32_t UnicodeSet::spanBackUTF8 </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>s</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </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> </td> <td class="paramname"><em>spanCondition</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</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">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#_stable001315">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#ac3d7c617bb22a04adeb39320ebec2bd1" 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="af8263eebbaa180e57b55bd909882a3b8"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int32_t UnicodeSet::spanUTF8 </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>s</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </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> </td> <td class="paramname"><em>spanCondition</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</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">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#_stable001314">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#ac3d7c617bb22a04adeb39320ebec2bd1" 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="a7aa98466d94bcbdcfcf79f57e171c8e7"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a>& UnicodeSet::toPattern </td> <td>(</td> <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>result</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td> <td class="paramname"><em>escapeUnprintable</em> = <code><a class="el" href="umachine_8h.html#aa93f0eb578d23995850d61f7d61c55c1">FALSE</a></code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </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="classUnicodeSet.html" title="A mutable set of Unicode characters and multicharacter strings. ">UnicodeSet</a> constructor, it will produce another set that is equal to this one. A frozen set will not be modified. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">result</td><td>the string to receive the rules. Previous contents will be deleted. </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> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001296">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Implements <a class="el" href="classUnicodeMatcher.html#a0f8d0182d1e2949ea9adfd2b615e94dd">UnicodeMatcher</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="uniset_8h_source.html">uniset.h</a></li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.5 </small></address> </body> </html>