ff3fe57f08
BOOST_LOCALE_ENABLE_CHAR16_T/BOOST_LOCALE_ENABLE_CHAR32_T
486 lines
86 KiB
HTML
486 lines
86 KiB
HTML
<!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.6"/>
|
||
<title>Boost.Locale: boost/locale/boundary/segment.hpp Source File</title>
|
||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||
<script type="text/javascript" src="jquery.js"></script>
|
||
<script type="text/javascript" src="dynsections.js"></script>
|
||
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
||
<script type="text/javascript" src="resize.js"></script>
|
||
<script type="text/javascript" src="navtree.js"></script>
|
||
<script type="text/javascript">
|
||
$(document).ready(initResizable);
|
||
$(window).load(resizeHeight);
|
||
</script>
|
||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||
</head>
|
||
<body>
|
||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||
<div id="titlearea">
|
||
<table cellspacing="0" cellpadding="0">
|
||
<tbody>
|
||
<tr style="height: 56px;">
|
||
<td id="projectlogo"><img alt="Logo" src="boost-small.png"/></td>
|
||
<td style="padding-left: 0.5em;">
|
||
<div id="projectname">Boost.Locale
|
||
</div>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<!-- end header part -->
|
||
<!-- Generated by Doxygen 1.8.6 -->
|
||
<div id="navrow1" class="tabs">
|
||
<ul class="tablist">
|
||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||
<li><a href="modules.html"><span>Modules</span></a></li>
|
||
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
||
<li><a href="annotated.html"><span>Classes</span></a></li>
|
||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||
<li><a href="examples.html"><span>Examples</span></a></li>
|
||
</ul>
|
||
</div>
|
||
<div id="navrow2" class="tabs2">
|
||
<ul class="tablist">
|
||
<li><a href="files.html"><span>File List</span></a></li>
|
||
</ul>
|
||
</div>
|
||
</div><!-- top -->
|
||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||
<div id="nav-tree">
|
||
<div id="nav-tree-contents">
|
||
<div id="nav-sync" class="sync"></div>
|
||
</div>
|
||
</div>
|
||
<div id="splitbar" style="-moz-user-select:none;"
|
||
class="ui-resizable-handle">
|
||
</div>
|
||
</div>
|
||
<script type="text/javascript">
|
||
$(document).ready(function(){initNavTree('segment_8hpp_source.html','');});
|
||
</script>
|
||
<div id="doc-content">
|
||
<div class="header">
|
||
<div class="headertitle">
|
||
<div class="title">segment.hpp</div> </div>
|
||
</div><!--header-->
|
||
<div class="contents">
|
||
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">//</span></div>
|
||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// Copyright (c) 2009-2011 Artyom Beilis (Tonkikh)</span></div>
|
||
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">//</span></div>
|
||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">// Distributed under the Boost Software License, Version 1.0. (See</span></div>
|
||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">// accompanying file LICENSE_1_0.txt or copy at</span></div>
|
||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">// http://www.boost.org/LICENSE_1_0.txt)</span></div>
|
||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">//</span></div>
|
||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="preprocessor">#ifndef BOOST_LOCALE_BOUNDARY_SEGMENT_HPP_INCLUDED</span></div>
|
||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor"></span><span class="preprocessor">#define BOOST_LOCALE_BOUNDARY_SEGMENT_HPP_INCLUDED</span></div>
|
||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor"></span><span class="preprocessor">#include <boost/locale/config.hpp></span></div>
|
||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#ifdef BOOST_MSVC</span></div>
|
||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor"></span><span class="preprocessor"># pragma warning(push)</span></div>
|
||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor"></span><span class="preprocessor"># pragma warning(disable : 4275 4251 4231 4660)</span></div>
|
||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor"></span><span class="preprocessor">#endif</span></div>
|
||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor"></span><span class="preprocessor">#include <locale></span></div>
|
||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#include <string></span></div>
|
||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include <iosfwd></span></div>
|
||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#include <iterator></span></div>
|
||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div>
|
||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> </div>
|
||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="keyword">namespace </span>boost {</div>
|
||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="keyword">namespace </span>locale {</div>
|
||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="keyword">namespace </span>boundary {</div>
|
||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <span class="keyword">namespace </span>details {</div>
|
||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <span class="keyword">template</span><<span class="keyword">typename</span> LeftIterator,<span class="keyword">typename</span> RightIterator></div>
|
||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <span class="keywordtype">int</span> compare_text(LeftIterator l_begin,LeftIterator l_end,RightIterator r_begin,RightIterator r_end)</div>
|
||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  {</div>
|
||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <span class="keyword">typedef</span> LeftIterator left_iterator;</div>
|
||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  <span class="keyword">typedef</span> <span class="keyword">typename</span> std::iterator_traits<left_iterator>::value_type char_type;</div>
|
||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <span class="keyword">typedef</span> std::char_traits<char_type> traits;</div>
|
||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="keywordflow">while</span>(l_begin!=l_end && r_begin!=r_end) {</div>
|
||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  char_type lchar = *l_begin++;</div>
|
||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  char_type rchar = *r_begin++;</div>
|
||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <span class="keywordflow">if</span>(traits::eq(lchar,rchar))</div>
|
||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <span class="keywordflow">continue</span>;</div>
|
||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="keywordflow">if</span>(traits::lt(lchar,rchar))</div>
|
||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <span class="keywordflow">return</span> -1;</div>
|
||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="keywordflow">else</span></div>
|
||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="keywordflow">return</span> 1;</div>
|
||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  }</div>
|
||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="keywordflow">if</span>(l_begin==l_end && r_begin==r_end)</div>
|
||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="keywordflow">return</span> 0;</div>
|
||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="keywordflow">if</span>(l_begin==l_end)</div>
|
||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="keywordflow">return</span> -1;</div>
|
||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keywordflow">else</span></div>
|
||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="keywordflow">return</span> 1;</div>
|
||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  }</div>
|
||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> </div>
|
||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> </div>
|
||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="keyword">template</span><<span class="keyword">typename</span> Left,<span class="keyword">typename</span> Right></div>
|
||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <span class="keywordtype">int</span> compare_text(Left <span class="keyword">const</span> &l,Right <span class="keyword">const</span> &r)</div>
|
||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  {</div>
|
||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keywordflow">return</span> compare_text(l.begin(),l.end(),r.begin(),r.end());</div>
|
||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  }</div>
|
||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  </div>
|
||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keyword">template</span><<span class="keyword">typename</span> Left,<span class="keyword">typename</span> Char></div>
|
||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="keywordtype">int</span> compare_string(Left <span class="keyword">const</span> &l,Char <span class="keyword">const</span> *begin)</div>
|
||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  {</div>
|
||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  Char <span class="keyword">const</span> *end = begin;</div>
|
||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keywordflow">while</span>(*end!=0)</div>
|
||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  end++;</div>
|
||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keywordflow">return</span> compare_text(l.begin(),l.end(),begin,end);</div>
|
||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  }</div>
|
||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span> </div>
|
||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keyword">template</span><<span class="keyword">typename</span> Right,<span class="keyword">typename</span> Char></div>
|
||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keywordtype">int</span> compare_string(Char <span class="keyword">const</span> *begin,Right <span class="keyword">const</span> &r)</div>
|
||
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  {</div>
|
||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  Char <span class="keyword">const</span> *end = begin;</div>
|
||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="keywordflow">while</span>(*end!=0)</div>
|
||
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  end++;</div>
|
||
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="keywordflow">return</span> compare_text(begin,end,r.begin(),r.end());</div>
|
||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  }</div>
|
||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> </div>
|
||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  }</div>
|
||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span> </div>
|
||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span> </div>
|
||
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <span class="keyword">template</span><<span class="keyword">typename</span> IteratorType></div>
|
||
<div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1boundary_1_1segment.html"> 102</a></span>  <span class="keyword">class </span><a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment</a> : <span class="keyword">public</span> std::pair<IteratorType,IteratorType> {</div>
|
||
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <span class="keyword">public</span>:</div>
|
||
<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1boundary_1_1segment.html#ad3785355ea817c087bf428315a332169"> 107</a></span>  <span class="keyword">typedef</span> <span class="keyword">typename</span> std::iterator_traits<IteratorType>::value_type <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#ad3785355ea817c087bf428315a332169">char_type</a>;</div>
|
||
<div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1boundary_1_1segment.html#a795d3328ac4d1692294f172c8480da47"> 111</a></span>  <span class="keyword">typedef</span> std::basic_string<char_type> <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a795d3328ac4d1692294f172c8480da47">string_type</a>;</div>
|
||
<div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1boundary_1_1segment.html#ab7ba55015262b4fb85bb531882a32ead"> 115</a></span>  <span class="keyword">typedef</span> char_type <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#ab7ba55015262b4fb85bb531882a32ead">value_type</a>;</div>
|
||
<div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1boundary_1_1segment.html#a31960fd7b416715d012b686bc1f2c205"> 119</a></span>  <span class="keyword">typedef</span> IteratorType <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a31960fd7b416715d012b686bc1f2c205">iterator</a>;</div>
|
||
<div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1boundary_1_1segment.html#aa24dcd83aefe4925bfc11b0285e2517a"> 123</a></span>  <span class="keyword">typedef</span> IteratorType <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#aa24dcd83aefe4925bfc11b0285e2517a">const_iterator</a>;</div>
|
||
<div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1boundary_1_1segment.html#a79ee4d48248ffbc23f84a33355ca3b62"> 127</a></span>  <span class="keyword">typedef</span> <span class="keyword">typename</span> std::iterator_traits<IteratorType>::difference_type <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a79ee4d48248ffbc23f84a33355ca3b62">difference_type</a>;</div>
|
||
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span> </div>
|
||
<div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1boundary_1_1segment.html#a4e785bc97dba9e8e25f18b43957723e5"> 132</a></span>  <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a4e785bc97dba9e8e25f18b43957723e5">segment</a>() {}</div>
|
||
<div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1boundary_1_1segment.html#aea72505bb4940b21bb00a3660fefb7b7"> 136</a></span>  <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#aea72505bb4940b21bb00a3660fefb7b7">segment</a>(<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a31960fd7b416715d012b686bc1f2c205">iterator</a> b,<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a31960fd7b416715d012b686bc1f2c205">iterator</a> e,<a class="code" href="group__boundary.html#ga25e193c81052ef1795f1b53b46bc2095">rule_type</a> r) :</div>
|
||
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  std::pair<IteratorType,IteratorType>(b,e),</div>
|
||
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  rule_(r)</div>
|
||
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  {</div>
|
||
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  }</div>
|
||
<div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1boundary_1_1segment.html#a5428ff79bc05b78989f56519b58a6d9c"> 144</a></span>  <span class="keywordtype">void</span> <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a5428ff79bc05b78989f56519b58a6d9c">begin</a>(<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a31960fd7b416715d012b686bc1f2c205">iterator</a> <span class="keyword">const</span> &v)</div>
|
||
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  {</div>
|
||
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  this->first = v;</div>
|
||
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  }</div>
|
||
<div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1boundary_1_1segment.html#aaedd7bb4760bae3dcdb165b330806261"> 151</a></span>  <span class="keywordtype">void</span> <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#aaedd7bb4760bae3dcdb165b330806261">end</a>(<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a31960fd7b416715d012b686bc1f2c205">iterator</a> <span class="keyword">const</span> &v)</div>
|
||
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  {</div>
|
||
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  this->second = v;</div>
|
||
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  }</div>
|
||
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span> </div>
|
||
<div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1boundary_1_1segment.html#a445da30d993880a1bd6d998e78755a44"> 159</a></span>  IteratorType <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a445da30d993880a1bd6d998e78755a44">begin</a>()<span class="keyword"> const </span></div>
|
||
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span> <span class="keyword"> </span>{</div>
|
||
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <span class="keywordflow">return</span> this->first;</div>
|
||
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  }</div>
|
||
<div class="line"><a name="l00166"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1boundary_1_1segment.html#a7e36b7f1c88ad1f5756ba6e501454bc4"> 166</a></span>  IteratorType <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a7e36b7f1c88ad1f5756ba6e501454bc4">end</a>()<span class="keyword"> const</span></div>
|
||
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span> <span class="keyword"> </span>{</div>
|
||
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  <span class="keywordflow">return</span> this->second;</div>
|
||
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  }</div>
|
||
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span> </div>
|
||
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <span class="keyword">template</span> <<span class="keyword">class</span> T, <span class="keyword">class</span> A></div>
|
||
<div class="line"><a name="l00175"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1boundary_1_1segment.html#a5230094b346bd26dc83529b47ca97153"> 175</a></span>  <span class="keyword">operator</span> std::basic_string<char_type, T, A> ()<span class="keyword">const</span></div>
|
||
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  {</div>
|
||
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <span class="keywordflow">return</span> std::basic_string<char_type, T, A>(this->first, this->second);</div>
|
||
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  }</div>
|
||
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  </div>
|
||
<div class="line"><a name="l00183"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1boundary_1_1segment.html#ac139eae8c07ed82ba8343fedfa76c2bf"> 183</a></span>  <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a795d3328ac4d1692294f172c8480da47">string_type</a> <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#ac139eae8c07ed82ba8343fedfa76c2bf">str</a>()<span class="keyword"> const</span></div>
|
||
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span> <span class="keyword"> </span>{</div>
|
||
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  <span class="keywordflow">return</span> <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a795d3328ac4d1692294f172c8480da47">string_type</a>(<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a445da30d993880a1bd6d998e78755a44">begin</a>(),<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a7e36b7f1c88ad1f5756ba6e501454bc4">end</a>());</div>
|
||
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  }</div>
|
||
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span> </div>
|
||
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span> </div>
|
||
<div class="line"><a name="l00192"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1boundary_1_1segment.html#a45edfde079b2afe36c55043c7a00b438"> 192</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a45edfde079b2afe36c55043c7a00b438">length</a>()<span class="keyword"> const</span></div>
|
||
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span> <span class="keyword"> </span>{</div>
|
||
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  <span class="keywordflow">return</span> std::distance(<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a445da30d993880a1bd6d998e78755a44">begin</a>(),<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a7e36b7f1c88ad1f5756ba6e501454bc4">end</a>());</div>
|
||
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  }</div>
|
||
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span> </div>
|
||
<div class="line"><a name="l00200"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1boundary_1_1segment.html#a84022afa120893d0716fc446816eb83f"> 200</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a84022afa120893d0716fc446816eb83f">empty</a>()<span class="keyword"> const</span></div>
|
||
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span> <span class="keyword"> </span>{</div>
|
||
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  <span class="keywordflow">return</span> <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a445da30d993880a1bd6d998e78755a44">begin</a>() == <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a7e36b7f1c88ad1f5756ba6e501454bc4">end</a>();</div>
|
||
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  }</div>
|
||
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span> </div>
|
||
<div class="line"><a name="l00208"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1boundary_1_1segment.html#a5b36a522d7013306617dbcccc9919343"> 208</a></span>  <a class="code" href="group__boundary.html#ga25e193c81052ef1795f1b53b46bc2095">rule_type</a> <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a5b36a522d7013306617dbcccc9919343">rule</a>()<span class="keyword"> const</span></div>
|
||
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span> <span class="keyword"> </span>{</div>
|
||
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  <span class="keywordflow">return</span> rule_;</div>
|
||
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  }</div>
|
||
<div class="line"><a name="l00215"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1boundary_1_1segment.html#a962c26b7e2024767ad25f2be080fd53a"> 215</a></span>  <span class="keywordtype">void</span> <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a962c26b7e2024767ad25f2be080fd53a">rule</a>(<a class="code" href="group__boundary.html#ga25e193c81052ef1795f1b53b46bc2095">rule_type</a> r)</div>
|
||
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  {</div>
|
||
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  rule_ = r;</div>
|
||
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  }</div>
|
||
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span> </div>
|
||
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  <span class="comment">// make sure we override std::pair's operator==</span></div>
|
||
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span> </div>
|
||
<div class="line"><a name="l00223"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1boundary_1_1segment.html#a9a30e70d41591b25c8c77961bff00057"> 223</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a9a30e70d41591b25c8c77961bff00057">operator==</a>(<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment</a> <span class="keyword">const</span> &other)</div>
|
||
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  {</div>
|
||
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  <span class="keywordflow">return</span> details::compare_text(*<span class="keyword">this</span>,other) == 0;</div>
|
||
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  }</div>
|
||
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span> </div>
|
||
<div class="line"><a name="l00229"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1boundary_1_1segment.html#a2e38c575af16843a3aa140a4332646a3"> 229</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a2e38c575af16843a3aa140a4332646a3">operator!=</a>(<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment</a> <span class="keyword">const</span> &other)</div>
|
||
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  {</div>
|
||
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  <span class="keywordflow">return</span> details::compare_text(*<span class="keyword">this</span>,other) != 0;</div>
|
||
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  }</div>
|
||
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span> </div>
|
||
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  <span class="keyword">private</span>:</div>
|
||
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  <a class="code" href="group__boundary.html#ga25e193c81052ef1795f1b53b46bc2095">rule_type</a> rule_;</div>
|
||
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  </div>
|
||
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  };</div>
|
||
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span> </div>
|
||
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  </div>
|
||
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  <span class="keyword">template</span><<span class="keyword">typename</span> IteratorL,<span class="keyword">typename</span> IteratorR></div>
|
||
<div class="line"><a name="l00242"></a><span class="lineno"><a class="line" href="group__boundary.html#ga5e70e909a5fb4d2cf87b485894c9b4db"> 242</a></span>  <span class="keywordtype">bool</span> <a class="code" href="group__boundary.html#ga47bc5ece5c461aa4c538354a9e80a707">operator==</a>(<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment<IteratorL></a> <span class="keyword">const</span> &l,<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment<IteratorR></a> <span class="keyword">const</span> &r)</div>
|
||
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  {</div>
|
||
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  <span class="keywordflow">return</span> details::compare_text(l,r) == 0; </div>
|
||
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  }</div>
|
||
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  <span class="keyword">template</span><<span class="keyword">typename</span> IteratorL,<span class="keyword">typename</span> IteratorR></div>
|
||
<div class="line"><a name="l00248"></a><span class="lineno"><a class="line" href="group__boundary.html#gae4458cb23aa62b0f94396d3300e838f9"> 248</a></span>  <span class="keywordtype">bool</span> <a class="code" href="group__boundary.html#gab92086846a31a6826c00a3df90027f0f">operator!=</a>(<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment<IteratorL></a> <span class="keyword">const</span> &l,<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment<IteratorR></a> <span class="keyword">const</span> &r)</div>
|
||
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  {</div>
|
||
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  <span class="keywordflow">return</span> details::compare_text(l,r) != 0; </div>
|
||
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  }</div>
|
||
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span> </div>
|
||
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  <span class="keyword">template</span><<span class="keyword">typename</span> IteratorL,<span class="keyword">typename</span> IteratorR></div>
|
||
<div class="line"><a name="l00255"></a><span class="lineno"><a class="line" href="group__boundary.html#ga01671fcf3519166189dff3664f68c870"> 255</a></span>  <span class="keywordtype">bool</span> operator<(segment<IteratorL> <span class="keyword">const</span> &l,<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment<IteratorR></a> <span class="keyword">const</span> &r)</div>
|
||
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  {</div>
|
||
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  <span class="keywordflow">return</span> details::compare_text(l,r) < 0; </div>
|
||
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  }</div>
|
||
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  <span class="keyword">template</span><<span class="keyword">typename</span> IteratorL,<span class="keyword">typename</span> IteratorR></div>
|
||
<div class="line"><a name="l00261"></a><span class="lineno"><a class="line" href="group__boundary.html#gaef3ac4dbd5172a67ec68e27fe6a7a008"> 261</a></span>  <span class="keywordtype">bool</span> operator<=(segment<IteratorL> <span class="keyword">const</span> &l,<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment<IteratorR></a> <span class="keyword">const</span> &r)</div>
|
||
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  {</div>
|
||
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  <span class="keywordflow">return</span> details::compare_text(l,r) <= 0; </div>
|
||
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  }</div>
|
||
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span>  <span class="keyword">template</span><<span class="keyword">typename</span> IteratorL,<span class="keyword">typename</span> IteratorR></div>
|
||
<div class="line"><a name="l00267"></a><span class="lineno"><a class="line" href="group__boundary.html#ga458e3170d3967ae25c4a40a3970701ba"> 267</a></span>  <span class="keywordtype">bool</span> <a class="code" href="group__boundary.html#ga458e3170d3967ae25c4a40a3970701ba">operator></a>(<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment<IteratorL></a> <span class="keyword">const</span> &l,<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment<IteratorR></a> <span class="keyword">const</span> &r)</div>
|
||
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span>  {</div>
|
||
<div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  <span class="keywordflow">return</span> details::compare_text(l,r) > 0; </div>
|
||
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  }</div>
|
||
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span>  <span class="keyword">template</span><<span class="keyword">typename</span> IteratorL,<span class="keyword">typename</span> IteratorR></div>
|
||
<div class="line"><a name="l00273"></a><span class="lineno"><a class="line" href="group__boundary.html#ga4d9854493e000ea610108d4689d2f6f1"> 273</a></span>  <span class="keywordtype">bool</span> <a class="code" href="group__boundary.html#ga4d9854493e000ea610108d4689d2f6f1">operator>=</a>(<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment<IteratorL></a> <span class="keyword">const</span> &l,<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment<IteratorR></a> <span class="keyword">const</span> &r)</div>
|
||
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  {</div>
|
||
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span>  <span class="keywordflow">return</span> details::compare_text(l,r) >= 0; </div>
|
||
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  }</div>
|
||
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span> </div>
|
||
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  <span class="keyword">template</span><<span class="keyword">typename</span> CharType,<span class="keyword">typename</span> Traits,<span class="keyword">typename</span> Alloc,<span class="keyword">typename</span> IteratorR></div>
|
||
<div class="line"><a name="l00280"></a><span class="lineno"><a class="line" href="group__boundary.html#ga22e4d38b1dd21bd663847fdbc09fca46"> 280</a></span>  <span class="keywordtype">bool</span> <a class="code" href="group__boundary.html#ga47bc5ece5c461aa4c538354a9e80a707">operator==</a>(std::basic_string<CharType,Traits,Alloc> <span class="keyword">const</span> &l,<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment<IteratorR></a> <span class="keyword">const</span> &r)</div>
|
||
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  {</div>
|
||
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  <span class="keywordflow">return</span> details::compare_text(l,r) == 0; </div>
|
||
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span>  }</div>
|
||
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span>  <span class="keyword">template</span><<span class="keyword">typename</span> CharType,<span class="keyword">typename</span> Traits,<span class="keyword">typename</span> Alloc,<span class="keyword">typename</span> IteratorR></div>
|
||
<div class="line"><a name="l00286"></a><span class="lineno"><a class="line" href="group__boundary.html#gabb7b2978a45e993d6aa9922cbc381e8b"> 286</a></span>  <span class="keywordtype">bool</span> <a class="code" href="group__boundary.html#gab92086846a31a6826c00a3df90027f0f">operator!=</a>(std::basic_string<CharType,Traits,Alloc> <span class="keyword">const</span> &l,<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment<IteratorR></a> <span class="keyword">const</span> &r)</div>
|
||
<div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  {</div>
|
||
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  <span class="keywordflow">return</span> details::compare_text(l,r) != 0; </div>
|
||
<div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  }</div>
|
||
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span> </div>
|
||
<div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  <span class="keyword">template</span><<span class="keyword">typename</span> CharType,<span class="keyword">typename</span> Traits,<span class="keyword">typename</span> Alloc,<span class="keyword">typename</span> IteratorR></div>
|
||
<div class="line"><a name="l00293"></a><span class="lineno"><a class="line" href="group__boundary.html#gac57b915b6feed86f731424c5a5ed531c"> 293</a></span>  <span class="keywordtype">bool</span> operator<(std::basic_string<CharType,Traits,Alloc> <span class="keyword">const</span> &l,<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment<IteratorR></a> <span class="keyword">const</span> &r)</div>
|
||
<div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  {</div>
|
||
<div class="line"><a name="l00295"></a><span class="lineno"> 295</span>  <span class="keywordflow">return</span> details::compare_text(l,r) < 0; </div>
|
||
<div class="line"><a name="l00296"></a><span class="lineno"> 296</span>  }</div>
|
||
<div class="line"><a name="l00298"></a><span class="lineno"> 298</span>  <span class="keyword">template</span><<span class="keyword">typename</span> CharType,<span class="keyword">typename</span> Traits,<span class="keyword">typename</span> Alloc,<span class="keyword">typename</span> IteratorR></div>
|
||
<div class="line"><a name="l00299"></a><span class="lineno"><a class="line" href="group__boundary.html#gaec0814b0634157834f1ecd949ea4f935"> 299</a></span>  <span class="keywordtype">bool</span> operator<=(std::basic_string<CharType,Traits,Alloc> <span class="keyword">const</span> &l,<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment<IteratorR></a> <span class="keyword">const</span> &r)</div>
|
||
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span>  {</div>
|
||
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span>  <span class="keywordflow">return</span> details::compare_text(l,r) <= 0; </div>
|
||
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  }</div>
|
||
<div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  <span class="keyword">template</span><<span class="keyword">typename</span> CharType,<span class="keyword">typename</span> Traits,<span class="keyword">typename</span> Alloc,<span class="keyword">typename</span> IteratorR></div>
|
||
<div class="line"><a name="l00305"></a><span class="lineno"><a class="line" href="group__boundary.html#gad19346448d1464f02f706a3d90932837"> 305</a></span>  <span class="keywordtype">bool</span> <a class="code" href="group__boundary.html#ga458e3170d3967ae25c4a40a3970701ba">operator></a>(std::basic_string<CharType,Traits,Alloc> <span class="keyword">const</span> &l,<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment<IteratorR></a> <span class="keyword">const</span> &r)</div>
|
||
<div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  {</div>
|
||
<div class="line"><a name="l00307"></a><span class="lineno"> 307</span>  <span class="keywordflow">return</span> details::compare_text(l,r) > 0; </div>
|
||
<div class="line"><a name="l00308"></a><span class="lineno"> 308</span>  }</div>
|
||
<div class="line"><a name="l00310"></a><span class="lineno"> 310</span>  <span class="keyword">template</span><<span class="keyword">typename</span> CharType,<span class="keyword">typename</span> Traits,<span class="keyword">typename</span> Alloc,<span class="keyword">typename</span> IteratorR></div>
|
||
<div class="line"><a name="l00311"></a><span class="lineno"><a class="line" href="group__boundary.html#ga48fc6bd37670c164d9fcdf918d20ab9f"> 311</a></span>  <span class="keywordtype">bool</span> <a class="code" href="group__boundary.html#ga4d9854493e000ea610108d4689d2f6f1">operator>=</a>(std::basic_string<CharType,Traits,Alloc> <span class="keyword">const</span> &l,<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment<IteratorR></a> <span class="keyword">const</span> &r)</div>
|
||
<div class="line"><a name="l00312"></a><span class="lineno"> 312</span>  {</div>
|
||
<div class="line"><a name="l00313"></a><span class="lineno"> 313</span>  <span class="keywordflow">return</span> details::compare_text(l,r) >= 0; </div>
|
||
<div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  }</div>
|
||
<div class="line"><a name="l00315"></a><span class="lineno"> 315</span> </div>
|
||
<div class="line"><a name="l00317"></a><span class="lineno"> 317</span>  <span class="keyword">template</span><<span class="keyword">typename</span> Iterator,<span class="keyword">typename</span> CharType,<span class="keyword">typename</span> Traits,<span class="keyword">typename</span> Alloc></div>
|
||
<div class="line"><a name="l00318"></a><span class="lineno"><a class="line" href="group__boundary.html#ga1e22ac8a99d4e743942c5d6e94270e27"> 318</a></span>  <span class="keywordtype">bool</span> <a class="code" href="group__boundary.html#ga47bc5ece5c461aa4c538354a9e80a707">operator==</a>(<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment<Iterator></a> <span class="keyword">const</span> &l,std::basic_string<CharType,Traits,Alloc> <span class="keyword">const</span> &r)</div>
|
||
<div class="line"><a name="l00319"></a><span class="lineno"> 319</span>  {</div>
|
||
<div class="line"><a name="l00320"></a><span class="lineno"> 320</span>  <span class="keywordflow">return</span> details::compare_text(l,r) == 0; </div>
|
||
<div class="line"><a name="l00321"></a><span class="lineno"> 321</span>  }</div>
|
||
<div class="line"><a name="l00323"></a><span class="lineno"> 323</span>  <span class="keyword">template</span><<span class="keyword">typename</span> Iterator,<span class="keyword">typename</span> CharType,<span class="keyword">typename</span> Traits,<span class="keyword">typename</span> Alloc></div>
|
||
<div class="line"><a name="l00324"></a><span class="lineno"><a class="line" href="group__boundary.html#gab36f95a4500a4c2a31b2ece4a0ae9cd1"> 324</a></span>  <span class="keywordtype">bool</span> <a class="code" href="group__boundary.html#gab92086846a31a6826c00a3df90027f0f">operator!=</a>(<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment<Iterator></a> <span class="keyword">const</span> &l,std::basic_string<CharType,Traits,Alloc> <span class="keyword">const</span> &r)</div>
|
||
<div class="line"><a name="l00325"></a><span class="lineno"> 325</span>  {</div>
|
||
<div class="line"><a name="l00326"></a><span class="lineno"> 326</span>  <span class="keywordflow">return</span> details::compare_text(l,r) != 0; </div>
|
||
<div class="line"><a name="l00327"></a><span class="lineno"> 327</span>  }</div>
|
||
<div class="line"><a name="l00328"></a><span class="lineno"> 328</span> </div>
|
||
<div class="line"><a name="l00330"></a><span class="lineno"> 330</span>  <span class="keyword">template</span><<span class="keyword">typename</span> Iterator,<span class="keyword">typename</span> CharType,<span class="keyword">typename</span> Traits,<span class="keyword">typename</span> Alloc></div>
|
||
<div class="line"><a name="l00331"></a><span class="lineno"><a class="line" href="group__boundary.html#gabf992487402ed47358bf790a6372059d"> 331</a></span>  <span class="keywordtype">bool</span> operator<(segment<Iterator> <span class="keyword">const</span> &l,std::basic_string<CharType,Traits,Alloc> <span class="keyword">const</span> &r)</div>
|
||
<div class="line"><a name="l00332"></a><span class="lineno"> 332</span>  {</div>
|
||
<div class="line"><a name="l00333"></a><span class="lineno"> 333</span>  <span class="keywordflow">return</span> details::compare_text(l,r) < 0; </div>
|
||
<div class="line"><a name="l00334"></a><span class="lineno"> 334</span>  }</div>
|
||
<div class="line"><a name="l00336"></a><span class="lineno"> 336</span>  <span class="keyword">template</span><<span class="keyword">typename</span> Iterator,<span class="keyword">typename</span> CharType,<span class="keyword">typename</span> Traits,<span class="keyword">typename</span> Alloc></div>
|
||
<div class="line"><a name="l00337"></a><span class="lineno"><a class="line" href="group__boundary.html#gab800ff341ec09a99c803dd5fd56e5a81"> 337</a></span>  <span class="keywordtype">bool</span> operator<=(segment<Iterator> <span class="keyword">const</span> &l,std::basic_string<CharType,Traits,Alloc> <span class="keyword">const</span> &r)</div>
|
||
<div class="line"><a name="l00338"></a><span class="lineno"> 338</span>  {</div>
|
||
<div class="line"><a name="l00339"></a><span class="lineno"> 339</span>  <span class="keywordflow">return</span> details::compare_text(l,r) <= 0; </div>
|
||
<div class="line"><a name="l00340"></a><span class="lineno"> 340</span>  }</div>
|
||
<div class="line"><a name="l00342"></a><span class="lineno"> 342</span>  <span class="keyword">template</span><<span class="keyword">typename</span> Iterator,<span class="keyword">typename</span> CharType,<span class="keyword">typename</span> Traits,<span class="keyword">typename</span> Alloc></div>
|
||
<div class="line"><a name="l00343"></a><span class="lineno"><a class="line" href="group__boundary.html#gaf32c4f420aae266e1d6d4b37e716cc30"> 343</a></span>  <span class="keywordtype">bool</span> <a class="code" href="group__boundary.html#ga458e3170d3967ae25c4a40a3970701ba">operator></a>(<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment<Iterator></a> <span class="keyword">const</span> &l,std::basic_string<CharType,Traits,Alloc> <span class="keyword">const</span> &r)</div>
|
||
<div class="line"><a name="l00344"></a><span class="lineno"> 344</span>  {</div>
|
||
<div class="line"><a name="l00345"></a><span class="lineno"> 345</span>  <span class="keywordflow">return</span> details::compare_text(l,r) > 0; </div>
|
||
<div class="line"><a name="l00346"></a><span class="lineno"> 346</span>  }</div>
|
||
<div class="line"><a name="l00348"></a><span class="lineno"> 348</span>  <span class="keyword">template</span><<span class="keyword">typename</span> Iterator,<span class="keyword">typename</span> CharType,<span class="keyword">typename</span> Traits,<span class="keyword">typename</span> Alloc></div>
|
||
<div class="line"><a name="l00349"></a><span class="lineno"><a class="line" href="group__boundary.html#gadfbbd6c86914627ffdc08397023b020a"> 349</a></span>  <span class="keywordtype">bool</span> <a class="code" href="group__boundary.html#ga4d9854493e000ea610108d4689d2f6f1">operator>=</a>(<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment<Iterator></a> <span class="keyword">const</span> &l,std::basic_string<CharType,Traits,Alloc> <span class="keyword">const</span> &r)</div>
|
||
<div class="line"><a name="l00350"></a><span class="lineno"> 350</span>  {</div>
|
||
<div class="line"><a name="l00351"></a><span class="lineno"> 351</span>  <span class="keywordflow">return</span> details::compare_text(l,r) >= 0; </div>
|
||
<div class="line"><a name="l00352"></a><span class="lineno"> 352</span>  }</div>
|
||
<div class="line"><a name="l00353"></a><span class="lineno"> 353</span> </div>
|
||
<div class="line"><a name="l00354"></a><span class="lineno"> 354</span> </div>
|
||
<div class="line"><a name="l00356"></a><span class="lineno"> 356</span>  <span class="keyword">template</span><<span class="keyword">typename</span> CharType,<span class="keyword">typename</span> IteratorR></div>
|
||
<div class="line"><a name="l00357"></a><span class="lineno"><a class="line" href="group__boundary.html#ga04c0513778ff3cf9712dd03244a7ecb3"> 357</a></span>  <span class="keywordtype">bool</span> <a class="code" href="group__boundary.html#ga47bc5ece5c461aa4c538354a9e80a707">operator==</a>(CharType <span class="keyword">const</span> *l,<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment<IteratorR></a> <span class="keyword">const</span> &r)</div>
|
||
<div class="line"><a name="l00358"></a><span class="lineno"> 358</span>  {</div>
|
||
<div class="line"><a name="l00359"></a><span class="lineno"> 359</span>  <span class="keywordflow">return</span> details::compare_string(l,r) == 0; </div>
|
||
<div class="line"><a name="l00360"></a><span class="lineno"> 360</span>  }</div>
|
||
<div class="line"><a name="l00362"></a><span class="lineno"> 362</span>  <span class="keyword">template</span><<span class="keyword">typename</span> CharType,<span class="keyword">typename</span> IteratorR></div>
|
||
<div class="line"><a name="l00363"></a><span class="lineno"><a class="line" href="group__boundary.html#gab8256de904b797b2a57905d3a53f87d7"> 363</a></span>  <span class="keywordtype">bool</span> <a class="code" href="group__boundary.html#gab92086846a31a6826c00a3df90027f0f">operator!=</a>(CharType <span class="keyword">const</span> *l,<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment<IteratorR></a> <span class="keyword">const</span> &r)</div>
|
||
<div class="line"><a name="l00364"></a><span class="lineno"> 364</span>  {</div>
|
||
<div class="line"><a name="l00365"></a><span class="lineno"> 365</span>  <span class="keywordflow">return</span> details::compare_string(l,r) != 0; </div>
|
||
<div class="line"><a name="l00366"></a><span class="lineno"> 366</span>  }</div>
|
||
<div class="line"><a name="l00367"></a><span class="lineno"> 367</span> </div>
|
||
<div class="line"><a name="l00369"></a><span class="lineno"> 369</span>  <span class="keyword">template</span><<span class="keyword">typename</span> CharType,<span class="keyword">typename</span> IteratorR></div>
|
||
<div class="line"><a name="l00370"></a><span class="lineno"><a class="line" href="group__boundary.html#ga5d3bf0c32d4deefe23fa474960b0dea6"> 370</a></span>  <span class="keywordtype">bool</span> operator<(CharType const *l,segment<IteratorR> <span class="keyword">const</span> &r)</div>
|
||
<div class="line"><a name="l00371"></a><span class="lineno"> 371</span>  {</div>
|
||
<div class="line"><a name="l00372"></a><span class="lineno"> 372</span>  <span class="keywordflow">return</span> details::compare_string(l,r) < 0; </div>
|
||
<div class="line"><a name="l00373"></a><span class="lineno"> 373</span>  }</div>
|
||
<div class="line"><a name="l00375"></a><span class="lineno"> 375</span>  <span class="keyword">template</span><<span class="keyword">typename</span> CharType,<span class="keyword">typename</span> IteratorR></div>
|
||
<div class="line"><a name="l00376"></a><span class="lineno"><a class="line" href="group__boundary.html#gad8fc1bd6bf20fe5337dd91dab7f9084c"> 376</a></span>  <span class="keywordtype">bool</span> operator<=(CharType const *l,segment<IteratorR> <span class="keyword">const</span> &r)</div>
|
||
<div class="line"><a name="l00377"></a><span class="lineno"> 377</span>  {</div>
|
||
<div class="line"><a name="l00378"></a><span class="lineno"> 378</span>  <span class="keywordflow">return</span> details::compare_string(l,r) <= 0; </div>
|
||
<div class="line"><a name="l00379"></a><span class="lineno"> 379</span>  }</div>
|
||
<div class="line"><a name="l00381"></a><span class="lineno"> 381</span>  <span class="keyword">template</span><<span class="keyword">typename</span> CharType,<span class="keyword">typename</span> IteratorR></div>
|
||
<div class="line"><a name="l00382"></a><span class="lineno"><a class="line" href="group__boundary.html#gaa79f6bb9e721e55d071d7898a3010f8e"> 382</a></span>  <span class="keywordtype">bool</span> <a class="code" href="group__boundary.html#ga458e3170d3967ae25c4a40a3970701ba">operator></a>(CharType <span class="keyword">const</span> *l,<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment<IteratorR></a> <span class="keyword">const</span> &r)</div>
|
||
<div class="line"><a name="l00383"></a><span class="lineno"> 383</span>  {</div>
|
||
<div class="line"><a name="l00384"></a><span class="lineno"> 384</span>  <span class="keywordflow">return</span> details::compare_string(l,r) > 0; </div>
|
||
<div class="line"><a name="l00385"></a><span class="lineno"> 385</span>  }</div>
|
||
<div class="line"><a name="l00387"></a><span class="lineno"> 387</span>  <span class="keyword">template</span><<span class="keyword">typename</span> CharType,<span class="keyword">typename</span> IteratorR></div>
|
||
<div class="line"><a name="l00388"></a><span class="lineno"><a class="line" href="group__boundary.html#ga4fb2d214673569bf63a5ef97847d8bc3"> 388</a></span>  <span class="keywordtype">bool</span> <a class="code" href="group__boundary.html#ga4d9854493e000ea610108d4689d2f6f1">operator>=</a>(CharType <span class="keyword">const</span> *l,<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment<IteratorR></a> <span class="keyword">const</span> &r)</div>
|
||
<div class="line"><a name="l00389"></a><span class="lineno"> 389</span>  {</div>
|
||
<div class="line"><a name="l00390"></a><span class="lineno"> 390</span>  <span class="keywordflow">return</span> details::compare_string(l,r) >= 0; </div>
|
||
<div class="line"><a name="l00391"></a><span class="lineno"> 391</span>  }</div>
|
||
<div class="line"><a name="l00392"></a><span class="lineno"> 392</span> </div>
|
||
<div class="line"><a name="l00394"></a><span class="lineno"> 394</span>  <span class="keyword">template</span><<span class="keyword">typename</span> Iterator,<span class="keyword">typename</span> CharType></div>
|
||
<div class="line"><a name="l00395"></a><span class="lineno"><a class="line" href="group__boundary.html#ga2aa32c6dabd5833c3f4806a7a40c0808"> 395</a></span>  <span class="keywordtype">bool</span> <a class="code" href="group__boundary.html#ga47bc5ece5c461aa4c538354a9e80a707">operator==</a>(<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment<Iterator></a> <span class="keyword">const</span> &l,CharType <span class="keyword">const</span> *r)</div>
|
||
<div class="line"><a name="l00396"></a><span class="lineno"> 396</span>  {</div>
|
||
<div class="line"><a name="l00397"></a><span class="lineno"> 397</span>  <span class="keywordflow">return</span> details::compare_string(l,r) == 0; </div>
|
||
<div class="line"><a name="l00398"></a><span class="lineno"> 398</span>  }</div>
|
||
<div class="line"><a name="l00400"></a><span class="lineno"> 400</span>  <span class="keyword">template</span><<span class="keyword">typename</span> Iterator,<span class="keyword">typename</span> CharType></div>
|
||
<div class="line"><a name="l00401"></a><span class="lineno"><a class="line" href="group__boundary.html#gaf50154c65385afc65e206b5fa34fc4ac"> 401</a></span>  <span class="keywordtype">bool</span> <a class="code" href="group__boundary.html#gab92086846a31a6826c00a3df90027f0f">operator!=</a>(<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment<Iterator></a> <span class="keyword">const</span> &l,CharType <span class="keyword">const</span> *r)</div>
|
||
<div class="line"><a name="l00402"></a><span class="lineno"> 402</span>  {</div>
|
||
<div class="line"><a name="l00403"></a><span class="lineno"> 403</span>  <span class="keywordflow">return</span> details::compare_string(l,r) != 0; </div>
|
||
<div class="line"><a name="l00404"></a><span class="lineno"> 404</span>  }</div>
|
||
<div class="line"><a name="l00405"></a><span class="lineno"> 405</span> </div>
|
||
<div class="line"><a name="l00407"></a><span class="lineno"> 407</span>  <span class="keyword">template</span><<span class="keyword">typename</span> Iterator,<span class="keyword">typename</span> CharType></div>
|
||
<div class="line"><a name="l00408"></a><span class="lineno"><a class="line" href="group__boundary.html#gad4be80936d6d852d8a07322ea46c49dd"> 408</a></span>  <span class="keywordtype">bool</span> operator<(segment<Iterator> <span class="keyword">const</span> &l,CharType <span class="keyword">const</span> *r)</div>
|
||
<div class="line"><a name="l00409"></a><span class="lineno"> 409</span>  {</div>
|
||
<div class="line"><a name="l00410"></a><span class="lineno"> 410</span>  <span class="keywordflow">return</span> details::compare_string(l,r) < 0; </div>
|
||
<div class="line"><a name="l00411"></a><span class="lineno"> 411</span>  }</div>
|
||
<div class="line"><a name="l00413"></a><span class="lineno"> 413</span>  <span class="keyword">template</span><<span class="keyword">typename</span> Iterator,<span class="keyword">typename</span> CharType></div>
|
||
<div class="line"><a name="l00414"></a><span class="lineno"><a class="line" href="group__boundary.html#ga1f813e25280a6165cc270ced46bc8c58"> 414</a></span>  <span class="keywordtype">bool</span> operator<=(segment<Iterator> <span class="keyword">const</span> &l,CharType <span class="keyword">const</span> *r)</div>
|
||
<div class="line"><a name="l00415"></a><span class="lineno"> 415</span>  {</div>
|
||
<div class="line"><a name="l00416"></a><span class="lineno"> 416</span>  <span class="keywordflow">return</span> details::compare_string(l,r) <= 0; </div>
|
||
<div class="line"><a name="l00417"></a><span class="lineno"> 417</span>  }</div>
|
||
<div class="line"><a name="l00419"></a><span class="lineno"> 419</span>  <span class="keyword">template</span><<span class="keyword">typename</span> Iterator,<span class="keyword">typename</span> CharType></div>
|
||
<div class="line"><a name="l00420"></a><span class="lineno"><a class="line" href="group__boundary.html#ga4b12a40f6e30c03e064973a66f8697b8"> 420</a></span>  <span class="keywordtype">bool</span> <a class="code" href="group__boundary.html#ga458e3170d3967ae25c4a40a3970701ba">operator></a>(<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment<Iterator></a> <span class="keyword">const</span> &l,CharType <span class="keyword">const</span> *r)</div>
|
||
<div class="line"><a name="l00421"></a><span class="lineno"> 421</span>  {</div>
|
||
<div class="line"><a name="l00422"></a><span class="lineno"> 422</span>  <span class="keywordflow">return</span> details::compare_string(l,r) > 0; </div>
|
||
<div class="line"><a name="l00423"></a><span class="lineno"> 423</span>  }</div>
|
||
<div class="line"><a name="l00425"></a><span class="lineno"> 425</span>  <span class="keyword">template</span><<span class="keyword">typename</span> Iterator,<span class="keyword">typename</span> CharType></div>
|
||
<div class="line"><a name="l00426"></a><span class="lineno"><a class="line" href="group__boundary.html#gae867939516d7fd9cbca258414a0c8377"> 426</a></span>  <span class="keywordtype">bool</span> <a class="code" href="group__boundary.html#ga4d9854493e000ea610108d4689d2f6f1">operator>=</a>(<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment<Iterator></a> <span class="keyword">const</span> &l,CharType <span class="keyword">const</span> *r)</div>
|
||
<div class="line"><a name="l00427"></a><span class="lineno"> 427</span>  {</div>
|
||
<div class="line"><a name="l00428"></a><span class="lineno"> 428</span>  <span class="keywordflow">return</span> details::compare_string(l,r) >= 0; </div>
|
||
<div class="line"><a name="l00429"></a><span class="lineno"> 429</span>  }</div>
|
||
<div class="line"><a name="l00430"></a><span class="lineno"> 430</span> </div>
|
||
<div class="line"><a name="l00431"></a><span class="lineno"> 431</span> </div>
|
||
<div class="line"><a name="l00432"></a><span class="lineno"> 432</span> </div>
|
||
<div class="line"><a name="l00433"></a><span class="lineno"> 433</span> </div>
|
||
<div class="line"><a name="l00434"></a><span class="lineno"> 434</span> </div>
|
||
<div class="line"><a name="l00435"></a><span class="lineno"> 435</span> </div>
|
||
<div class="line"><a name="l00436"></a><span class="lineno"><a class="line" href="group__boundary.html#gaac5031c17bd3f7ddc5138546af121064"> 436</a></span>  <span class="keyword">typedef</span> <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment<std::string::const_iterator></a> <a class="code" href="group__boundary.html#gaac5031c17bd3f7ddc5138546af121064">ssegment</a>; </div>
|
||
<div class="line"><a name="l00437"></a><span class="lineno"><a class="line" href="group__boundary.html#gaca0e28d417ee314f3035c7561ed5134a"> 437</a></span>  <span class="keyword">typedef</span> <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment<std::wstring::const_iterator></a> <a class="code" href="group__boundary.html#gaca0e28d417ee314f3035c7561ed5134a">wssegment</a>; </div>
|
||
<div class="line"><a name="l00438"></a><span class="lineno"> 438</span> <span class="preprocessor"> #ifdef BOOST_LOCALE_ENABLE_CHAR16_T</span></div>
|
||
<div class="line"><a name="l00439"></a><span class="lineno"><a class="line" href="group__boundary.html#ga5084d9529f752361d18c2196f38df3c0"> 439</a></span> <span class="preprocessor"></span> <span class="keyword">typedef</span> <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment<std::u16string::const_iterator></a> <a class="code" href="group__boundary.html#ga5084d9529f752361d18c2196f38df3c0">u16ssegment</a>;</div>
|
||
<div class="line"><a name="l00440"></a><span class="lineno"> 440</span> <span class="preprocessor"> #endif</span></div>
|
||
<div class="line"><a name="l00441"></a><span class="lineno"> 441</span> <span class="preprocessor"></span><span class="preprocessor"> #ifdef BOOST_LOCALE_ENABLE_CHAR32_T</span></div>
|
||
<div class="line"><a name="l00442"></a><span class="lineno"><a class="line" href="group__boundary.html#gaffcc722694a39291a9ea7f68a95e1e27"> 442</a></span> <span class="preprocessor"></span> <span class="keyword">typedef</span> <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment<std::u32string::const_iterator></a> <a class="code" href="group__boundary.html#gaffcc722694a39291a9ea7f68a95e1e27">u32ssegment</a>;</div>
|
||
<div class="line"><a name="l00443"></a><span class="lineno"> 443</span> <span class="preprocessor"> #endif</span></div>
|
||
<div class="line"><a name="l00444"></a><span class="lineno"> 444</span> <span class="preprocessor"></span> </div>
|
||
<div class="line"><a name="l00445"></a><span class="lineno"><a class="line" href="group__boundary.html#ga7a89ba0de6cad23a0f1b0b90ca5296f0"> 445</a></span>  <span class="keyword">typedef</span> <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment<char const *></a> <a class="code" href="group__boundary.html#ga7a89ba0de6cad23a0f1b0b90ca5296f0">csegment</a>; </div>
|
||
<div class="line"><a name="l00446"></a><span class="lineno"><a class="line" href="group__boundary.html#gab9d26aae843dad891a3bfa736871e843"> 446</a></span>  <span class="keyword">typedef</span> <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment<wchar_t const *></a> <a class="code" href="group__boundary.html#gab9d26aae843dad891a3bfa736871e843">wcsegment</a>; </div>
|
||
<div class="line"><a name="l00447"></a><span class="lineno"> 447</span> <span class="preprocessor"> #ifdef BOOST_LOCALE_ENABLE_CHAR16_T</span></div>
|
||
<div class="line"><a name="l00448"></a><span class="lineno"><a class="line" href="group__boundary.html#ga5ff9e98f81ad61dbcd480fc61780fee1"> 448</a></span> <span class="preprocessor"></span> <span class="keyword">typedef</span> <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment<char16_t const *></a> <a class="code" href="group__boundary.html#ga5ff9e98f81ad61dbcd480fc61780fee1">u16csegment</a>; </div>
|
||
<div class="line"><a name="l00449"></a><span class="lineno"> 449</span> <span class="preprocessor"> #endif</span></div>
|
||
<div class="line"><a name="l00450"></a><span class="lineno"> 450</span> <span class="preprocessor"></span><span class="preprocessor"> #ifdef BOOST_LOCALE_ENABLE_CHAR32_T</span></div>
|
||
<div class="line"><a name="l00451"></a><span class="lineno"><a class="line" href="group__boundary.html#gaf2077b28c5de700fb5bff9688fe410d6"> 451</a></span> <span class="preprocessor"></span> <span class="keyword">typedef</span> <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment<char32_t const *></a> <a class="code" href="group__boundary.html#gaf2077b28c5de700fb5bff9688fe410d6">u32csegment</a>; </div>
|
||
<div class="line"><a name="l00452"></a><span class="lineno"> 452</span> <span class="preprocessor"> #endif</span></div>
|
||
<div class="line"><a name="l00453"></a><span class="lineno"> 453</span> <span class="preprocessor"></span></div>
|
||
<div class="line"><a name="l00454"></a><span class="lineno"> 454</span> </div>
|
||
<div class="line"><a name="l00455"></a><span class="lineno"> 455</span> </div>
|
||
<div class="line"><a name="l00456"></a><span class="lineno"> 456</span>  </div>
|
||
<div class="line"><a name="l00457"></a><span class="lineno"> 457</span>  </div>
|
||
<div class="line"><a name="l00461"></a><span class="lineno"> 461</span>  <span class="keyword">template</span><<span class="keyword">typename</span> CharType,<span class="keyword">typename</span> TraitsType,<span class="keyword">typename</span> Iterator></div>
|
||
<div class="line"><a name="l00462"></a><span class="lineno"><a class="line" href="group__boundary.html#ga66d8f6c9b1c81c36a55aecebd4960b5d"> 462</a></span>  std::basic_ostream<CharType,TraitsType> &<a class="code" href="group__boundary.html#ga66d8f6c9b1c81c36a55aecebd4960b5d">operator<<</a>(</div>
|
||
<div class="line"><a name="l00463"></a><span class="lineno"> 463</span>  std::basic_ostream<CharType,TraitsType> &out,</div>
|
||
<div class="line"><a name="l00464"></a><span class="lineno"> 464</span>  <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment<Iterator></a> <span class="keyword">const</span> &tok)</div>
|
||
<div class="line"><a name="l00465"></a><span class="lineno"> 465</span>  {</div>
|
||
<div class="line"><a name="l00466"></a><span class="lineno"> 466</span>  <span class="keywordflow">for</span>(Iterator p=tok.<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a5428ff79bc05b78989f56519b58a6d9c">begin</a>(),e=tok.<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#aaedd7bb4760bae3dcdb165b330806261">end</a>();p!=e;++p)</div>
|
||
<div class="line"><a name="l00467"></a><span class="lineno"> 467</span>  out << *p;</div>
|
||
<div class="line"><a name="l00468"></a><span class="lineno"> 468</span>  <span class="keywordflow">return</span> out;</div>
|
||
<div class="line"><a name="l00469"></a><span class="lineno"> 469</span>  }</div>
|
||
<div class="line"><a name="l00470"></a><span class="lineno"> 470</span> </div>
|
||
<div class="line"><a name="l00472"></a><span class="lineno"> 472</span> </div>
|
||
<div class="line"><a name="l00473"></a><span class="lineno"> 473</span> } <span class="comment">// boundary</span></div>
|
||
<div class="line"><a name="l00474"></a><span class="lineno"> 474</span> } <span class="comment">// locale</span></div>
|
||
<div class="line"><a name="l00475"></a><span class="lineno"> 475</span> } <span class="comment">// boost</span></div>
|
||
<div class="line"><a name="l00476"></a><span class="lineno"> 476</span> </div>
|
||
<div class="line"><a name="l00477"></a><span class="lineno"> 477</span> <span class="preprocessor">#ifdef BOOST_MSVC</span></div>
|
||
<div class="line"><a name="l00478"></a><span class="lineno"> 478</span> <span class="preprocessor"></span><span class="preprocessor">#pragma warning(pop)</span></div>
|
||
<div class="line"><a name="l00479"></a><span class="lineno"> 479</span> <span class="preprocessor"></span><span class="preprocessor">#endif</span></div>
|
||
<div class="line"><a name="l00480"></a><span class="lineno"> 480</span> <span class="preprocessor"></span></div>
|
||
<div class="line"><a name="l00481"></a><span class="lineno"> 481</span> <span class="preprocessor">#endif</span></div>
|
||
<div class="line"><a name="l00482"></a><span class="lineno"> 482</span> <span class="preprocessor"></span></div>
|
||
<div class="line"><a name="l00483"></a><span class="lineno"> 483</span> <span class="comment">// vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4</span></div>
|
||
<div class="ttc" id="group__boundary_html_ga7a89ba0de6cad23a0f1b0b90ca5296f0"><div class="ttname"><a href="group__boundary.html#ga7a89ba0de6cad23a0f1b0b90ca5296f0">boost::locale::boundary::csegment</a></div><div class="ttdeci">segment< char const * > csegment</div><div class="ttdoc">convenience typedef </div><div class="ttdef"><b>Definition:</b> segment.hpp:445</div></div>
|
||
<div class="ttc" id="classboost_1_1locale_1_1boundary_1_1segment_html_ad3785355ea817c087bf428315a332169"><div class="ttname"><a href="classboost_1_1locale_1_1boundary_1_1segment.html#ad3785355ea817c087bf428315a332169">boost::locale::boundary::segment::char_type</a></div><div class="ttdeci">std::iterator_traits< IteratorType >::value_type char_type</div><div class="ttdef"><b>Definition:</b> segment.hpp:107</div></div>
|
||
<div class="ttc" id="classboost_1_1locale_1_1boundary_1_1segment_html_aea72505bb4940b21bb00a3660fefb7b7"><div class="ttname"><a href="classboost_1_1locale_1_1boundary_1_1segment.html#aea72505bb4940b21bb00a3660fefb7b7">boost::locale::boundary::segment::segment</a></div><div class="ttdeci">segment(iterator b, iterator e, rule_type r)</div><div class="ttdef"><b>Definition:</b> segment.hpp:136</div></div>
|
||
<div class="ttc" id="classboost_1_1locale_1_1boundary_1_1segment_html"><div class="ttname"><a href="classboost_1_1locale_1_1boundary_1_1segment.html">boost::locale::boundary::segment</a></div><div class="ttdoc">a segment object that represents a pair of two iterators that define the range where this segment exi...</div><div class="ttdef"><b>Definition:</b> segment.hpp:102</div></div>
|
||
<div class="ttc" id="group__boundary_html_gab9d26aae843dad891a3bfa736871e843"><div class="ttname"><a href="group__boundary.html#gab9d26aae843dad891a3bfa736871e843">boost::locale::boundary::wcsegment</a></div><div class="ttdeci">segment< wchar_t const * > wcsegment</div><div class="ttdoc">convenience typedef </div><div class="ttdef"><b>Definition:</b> segment.hpp:446</div></div>
|
||
<div class="ttc" id="classboost_1_1locale_1_1boundary_1_1segment_html_a7e36b7f1c88ad1f5756ba6e501454bc4"><div class="ttname"><a href="classboost_1_1locale_1_1boundary_1_1segment.html#a7e36b7f1c88ad1f5756ba6e501454bc4">boost::locale::boundary::segment::end</a></div><div class="ttdeci">IteratorType end() const </div><div class="ttdef"><b>Definition:</b> segment.hpp:166</div></div>
|
||
<div class="ttc" id="classboost_1_1locale_1_1boundary_1_1segment_html_a9a30e70d41591b25c8c77961bff00057"><div class="ttname"><a href="classboost_1_1locale_1_1boundary_1_1segment.html#a9a30e70d41591b25c8c77961bff00057">boost::locale::boundary::segment::operator==</a></div><div class="ttdeci">bool operator==(segment const &other)</div><div class="ttdoc">Compare two segments. </div><div class="ttdef"><b>Definition:</b> segment.hpp:223</div></div>
|
||
<div class="ttc" id="group__boundary_html_ga5ff9e98f81ad61dbcd480fc61780fee1"><div class="ttname"><a href="group__boundary.html#ga5ff9e98f81ad61dbcd480fc61780fee1">boost::locale::boundary::u16csegment</a></div><div class="ttdeci">segment< char16_t const * > u16csegment</div><div class="ttdoc">convenience typedef </div><div class="ttdef"><b>Definition:</b> segment.hpp:448</div></div>
|
||
<div class="ttc" id="group__boundary_html_ga5084d9529f752361d18c2196f38df3c0"><div class="ttname"><a href="group__boundary.html#ga5084d9529f752361d18c2196f38df3c0">boost::locale::boundary::u16ssegment</a></div><div class="ttdeci">segment< std::u16string::const_iterator > u16ssegment</div><div class="ttdoc">convenience typedef </div><div class="ttdef"><b>Definition:</b> segment.hpp:439</div></div>
|
||
<div class="ttc" id="group__boundary_html_gaac5031c17bd3f7ddc5138546af121064"><div class="ttname"><a href="group__boundary.html#gaac5031c17bd3f7ddc5138546af121064">boost::locale::boundary::ssegment</a></div><div class="ttdeci">segment< std::string::const_iterator > ssegment</div><div class="ttdoc">convenience typedef </div><div class="ttdef"><b>Definition:</b> segment.hpp:436</div></div>
|
||
<div class="ttc" id="classboost_1_1locale_1_1boundary_1_1segment_html_a795d3328ac4d1692294f172c8480da47"><div class="ttname"><a href="classboost_1_1locale_1_1boundary_1_1segment.html#a795d3328ac4d1692294f172c8480da47">boost::locale::boundary::segment::string_type</a></div><div class="ttdeci">std::basic_string< char_type > string_type</div><div class="ttdef"><b>Definition:</b> segment.hpp:111</div></div>
|
||
<div class="ttc" id="classboost_1_1locale_1_1boundary_1_1segment_html_ac139eae8c07ed82ba8343fedfa76c2bf"><div class="ttname"><a href="classboost_1_1locale_1_1boundary_1_1segment.html#ac139eae8c07ed82ba8343fedfa76c2bf">boost::locale::boundary::segment::str</a></div><div class="ttdeci">string_type str() const </div><div class="ttdef"><b>Definition:</b> segment.hpp:183</div></div>
|
||
<div class="ttc" id="classboost_1_1locale_1_1boundary_1_1segment_html_a84022afa120893d0716fc446816eb83f"><div class="ttname"><a href="classboost_1_1locale_1_1boundary_1_1segment.html#a84022afa120893d0716fc446816eb83f">boost::locale::boundary::segment::empty</a></div><div class="ttdeci">bool empty() const </div><div class="ttdef"><b>Definition:</b> segment.hpp:200</div></div>
|
||
<div class="ttc" id="classboost_1_1locale_1_1boundary_1_1segment_html_a2e38c575af16843a3aa140a4332646a3"><div class="ttname"><a href="classboost_1_1locale_1_1boundary_1_1segment.html#a2e38c575af16843a3aa140a4332646a3">boost::locale::boundary::segment::operator!=</a></div><div class="ttdeci">bool operator!=(segment const &other)</div><div class="ttdoc">Compare two segments. </div><div class="ttdef"><b>Definition:</b> segment.hpp:229</div></div>
|
||
<div class="ttc" id="group__boundary_html_ga25e193c81052ef1795f1b53b46bc2095"><div class="ttname"><a href="group__boundary.html#ga25e193c81052ef1795f1b53b46bc2095">boost::locale::boundary::rule_type</a></div><div class="ttdeci">uint32_t rule_type</div><div class="ttdoc">Flags used with word boundary analysis – the type of the word, line or sentence boundary found...</div><div class="ttdef"><b>Definition:</b> types.hpp:51</div></div>
|
||
<div class="ttc" id="classboost_1_1locale_1_1boundary_1_1segment_html_a962c26b7e2024767ad25f2be080fd53a"><div class="ttname"><a href="classboost_1_1locale_1_1boundary_1_1segment.html#a962c26b7e2024767ad25f2be080fd53a">boost::locale::boundary::segment::rule</a></div><div class="ttdeci">void rule(rule_type r)</div><div class="ttdef"><b>Definition:</b> segment.hpp:215</div></div>
|
||
<div class="ttc" id="group__boundary_html_ga4d9854493e000ea610108d4689d2f6f1"><div class="ttname"><a href="group__boundary.html#ga4d9854493e000ea610108d4689d2f6f1">boost::locale::boundary::operator>=</a></div><div class="ttdeci">bool operator>=(segment< IteratorL > const &l, segment< IteratorR > const &r)</div><div class="ttdoc">Compare two segments. </div><div class="ttdef"><b>Definition:</b> segment.hpp:273</div></div>
|
||
<div class="ttc" id="classboost_1_1locale_1_1boundary_1_1segment_html_ab7ba55015262b4fb85bb531882a32ead"><div class="ttname"><a href="classboost_1_1locale_1_1boundary_1_1segment.html#ab7ba55015262b4fb85bb531882a32ead">boost::locale::boundary::segment::value_type</a></div><div class="ttdeci">char_type value_type</div><div class="ttdef"><b>Definition:</b> segment.hpp:115</div></div>
|
||
<div class="ttc" id="classboost_1_1locale_1_1boundary_1_1segment_html_a5b36a522d7013306617dbcccc9919343"><div class="ttname"><a href="classboost_1_1locale_1_1boundary_1_1segment.html#a5b36a522d7013306617dbcccc9919343">boost::locale::boundary::segment::rule</a></div><div class="ttdeci">rule_type rule() const </div><div class="ttdef"><b>Definition:</b> segment.hpp:208</div></div>
|
||
<div class="ttc" id="group__boundary_html_ga47bc5ece5c461aa4c538354a9e80a707"><div class="ttname"><a href="group__boundary.html#ga47bc5ece5c461aa4c538354a9e80a707">boost::locale::boundary::operator==</a></div><div class="ttdeci">bool operator==(BaseIterator const &l, boundary_point< BaseIterator > const &r)</div><div class="ttdef"><b>Definition:</b> boundary_point.hpp:142</div></div>
|
||
<div class="ttc" id="group__boundary_html_ga66d8f6c9b1c81c36a55aecebd4960b5d"><div class="ttname"><a href="group__boundary.html#ga66d8f6c9b1c81c36a55aecebd4960b5d">boost::locale::boundary::operator<<</a></div><div class="ttdeci">std::basic_ostream< CharType, TraitsType > & operator<<(std::basic_ostream< CharType, TraitsType > &out, segment< Iterator > const &tok)</div><div class="ttdef"><b>Definition:</b> segment.hpp:462</div></div>
|
||
<div class="ttc" id="classboost_1_1locale_1_1boundary_1_1segment_html_a445da30d993880a1bd6d998e78755a44"><div class="ttname"><a href="classboost_1_1locale_1_1boundary_1_1segment.html#a445da30d993880a1bd6d998e78755a44">boost::locale::boundary::segment::begin</a></div><div class="ttdeci">IteratorType begin() const </div><div class="ttdef"><b>Definition:</b> segment.hpp:159</div></div>
|
||
<div class="ttc" id="classboost_1_1locale_1_1boundary_1_1segment_html_aa24dcd83aefe4925bfc11b0285e2517a"><div class="ttname"><a href="classboost_1_1locale_1_1boundary_1_1segment.html#aa24dcd83aefe4925bfc11b0285e2517a">boost::locale::boundary::segment::const_iterator</a></div><div class="ttdeci">IteratorType const_iterator</div><div class="ttdef"><b>Definition:</b> segment.hpp:123</div></div>
|
||
<div class="ttc" id="classboost_1_1locale_1_1boundary_1_1segment_html_a5428ff79bc05b78989f56519b58a6d9c"><div class="ttname"><a href="classboost_1_1locale_1_1boundary_1_1segment.html#a5428ff79bc05b78989f56519b58a6d9c">boost::locale::boundary::segment::begin</a></div><div class="ttdeci">void begin(iterator const &v)</div><div class="ttdef"><b>Definition:</b> segment.hpp:144</div></div>
|
||
<div class="ttc" id="classboost_1_1locale_1_1boundary_1_1segment_html_a4e785bc97dba9e8e25f18b43957723e5"><div class="ttname"><a href="classboost_1_1locale_1_1boundary_1_1segment.html#a4e785bc97dba9e8e25f18b43957723e5">boost::locale::boundary::segment::segment</a></div><div class="ttdeci">segment()</div><div class="ttdef"><b>Definition:</b> segment.hpp:132</div></div>
|
||
<div class="ttc" id="group__boundary_html_gaca0e28d417ee314f3035c7561ed5134a"><div class="ttname"><a href="group__boundary.html#gaca0e28d417ee314f3035c7561ed5134a">boost::locale::boundary::wssegment</a></div><div class="ttdeci">segment< std::wstring::const_iterator > wssegment</div><div class="ttdoc">convenience typedef </div><div class="ttdef"><b>Definition:</b> segment.hpp:437</div></div>
|
||
<div class="ttc" id="group__boundary_html_gaffcc722694a39291a9ea7f68a95e1e27"><div class="ttname"><a href="group__boundary.html#gaffcc722694a39291a9ea7f68a95e1e27">boost::locale::boundary::u32ssegment</a></div><div class="ttdeci">segment< std::u32string::const_iterator > u32ssegment</div><div class="ttdoc">convenience typedef </div><div class="ttdef"><b>Definition:</b> segment.hpp:442</div></div>
|
||
<div class="ttc" id="group__boundary_html_gaf2077b28c5de700fb5bff9688fe410d6"><div class="ttname"><a href="group__boundary.html#gaf2077b28c5de700fb5bff9688fe410d6">boost::locale::boundary::u32csegment</a></div><div class="ttdeci">segment< char32_t const * > u32csegment</div><div class="ttdoc">convenience typedef </div><div class="ttdef"><b>Definition:</b> segment.hpp:451</div></div>
|
||
<div class="ttc" id="classboost_1_1locale_1_1boundary_1_1segment_html_aaedd7bb4760bae3dcdb165b330806261"><div class="ttname"><a href="classboost_1_1locale_1_1boundary_1_1segment.html#aaedd7bb4760bae3dcdb165b330806261">boost::locale::boundary::segment::end</a></div><div class="ttdeci">void end(iterator const &v)</div><div class="ttdef"><b>Definition:</b> segment.hpp:151</div></div>
|
||
<div class="ttc" id="classboost_1_1locale_1_1boundary_1_1segment_html_a31960fd7b416715d012b686bc1f2c205"><div class="ttname"><a href="classboost_1_1locale_1_1boundary_1_1segment.html#a31960fd7b416715d012b686bc1f2c205">boost::locale::boundary::segment::iterator</a></div><div class="ttdeci">IteratorType iterator</div><div class="ttdef"><b>Definition:</b> segment.hpp:119</div></div>
|
||
<div class="ttc" id="classboost_1_1locale_1_1boundary_1_1segment_html_a45edfde079b2afe36c55043c7a00b438"><div class="ttname"><a href="classboost_1_1locale_1_1boundary_1_1segment.html#a45edfde079b2afe36c55043c7a00b438">boost::locale::boundary::segment::length</a></div><div class="ttdeci">size_t length() const </div><div class="ttdef"><b>Definition:</b> segment.hpp:192</div></div>
|
||
<div class="ttc" id="group__boundary_html_ga458e3170d3967ae25c4a40a3970701ba"><div class="ttname"><a href="group__boundary.html#ga458e3170d3967ae25c4a40a3970701ba">boost::locale::boundary::operator></a></div><div class="ttdeci">bool operator>(segment< IteratorL > const &l, segment< IteratorR > const &r)</div><div class="ttdoc">Compare two segments. </div><div class="ttdef"><b>Definition:</b> segment.hpp:267</div></div>
|
||
<div class="ttc" id="classboost_1_1locale_1_1boundary_1_1segment_html_a79ee4d48248ffbc23f84a33355ca3b62"><div class="ttname"><a href="classboost_1_1locale_1_1boundary_1_1segment.html#a79ee4d48248ffbc23f84a33355ca3b62">boost::locale::boundary::segment::difference_type</a></div><div class="ttdeci">std::iterator_traits< IteratorType >::difference_type difference_type</div><div class="ttdef"><b>Definition:</b> segment.hpp:127</div></div>
|
||
<div class="ttc" id="group__boundary_html_gab92086846a31a6826c00a3df90027f0f"><div class="ttname"><a href="group__boundary.html#gab92086846a31a6826c00a3df90027f0f">boost::locale::boundary::operator!=</a></div><div class="ttdeci">bool operator!=(BaseIterator const &l, boundary_point< BaseIterator > const &r)</div><div class="ttdef"><b>Definition:</b> boundary_point.hpp:150</div></div>
|
||
</div><!-- fragment --></div><!-- contents -->
|
||
</div><!-- doc-content -->
|
||
|
||
<li class="footer">
|
||
© Copyright 2009-2012 Artyom Beilis, Distributed under the <a href="http://www.boost.org/LICENSE_1_0.txt">Boost Software License</a>, Version 1.0.
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</body>
|
||
</html>
|