1 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns=
"http://www.w3.org/1999/xhtml">
4 <meta http-equiv=
"Content-Type" content=
"text/xhtml;charset=UTF-8"/>
5 <meta http-equiv=
"X-UA-Compatible" content=
"IE=9"/>
6 <meta name=
"generator" content=
"Doxygen 1.8.6"/>
7 <title>Boost.Locale: boost::locale::boundary::segment
< IteratorType
> Class Template Reference
</title>
8 <link href=
"tabs.css" rel=
"stylesheet" type=
"text/css"/>
9 <script type=
"text/javascript" src=
"jquery.js"></script>
10 <script type=
"text/javascript" src=
"dynsections.js"></script>
11 <link href=
"navtree.css" rel=
"stylesheet" type=
"text/css"/>
12 <script type=
"text/javascript" src=
"resize.js"></script>
13 <script type=
"text/javascript" src=
"navtree.js"></script>
14 <script type=
"text/javascript">
15 $(document).ready(initResizable);
16 $(window).load(resizeHeight);
18 <link href=
"doxygen.css" rel=
"stylesheet" type=
"text/css" />
21 <div id=
"top"><!-- do not remove this div, it is closed by doxygen! -->
23 <table cellspacing=
"0" cellpadding=
"0">
25 <tr style=
"height: 56px;">
26 <td id=
"projectlogo"><img alt=
"Logo" src=
"boost-small.png"/></td>
27 <td style=
"padding-left: 0.5em;">
28 <div id=
"projectname">Boost.Locale
35 <!-- end header part -->
36 <!-- Generated by Doxygen 1.8.6 -->
37 <div id=
"navrow1" class=
"tabs">
39 <li><a href=
"index.html"><span>Main
 Page
</span></a></li>
40 <li><a href=
"pages.html"><span>Related
 Pages
</span></a></li>
41 <li><a href=
"modules.html"><span>Modules
</span></a></li>
42 <li><a href=
"namespaces.html"><span>Namespaces
</span></a></li>
43 <li class=
"current"><a href=
"annotated.html"><span>Classes
</span></a></li>
44 <li><a href=
"files.html"><span>Files
</span></a></li>
45 <li><a href=
"examples.html"><span>Examples
</span></a></li>
48 <div id=
"navrow2" class=
"tabs2">
50 <li><a href=
"annotated.html"><span>Class
 List
</span></a></li>
51 <li><a href=
"hierarchy.html"><span>Class
 Hierarchy
</span></a></li>
52 <li><a href=
"functions.html"><span>Class
 Members
</span></a></li>
56 <div id=
"side-nav" class=
"ui-resizable side-nav-resizable">
58 <div id=
"nav-tree-contents">
59 <div id=
"nav-sync" class=
"sync"></div>
62 <div id=
"splitbar" style=
"-moz-user-select:none;"
63 class=
"ui-resizable-handle">
66 <script type=
"text/javascript">
67 $(document).ready(function(){initNavTree('classboost_1_1locale_1_1boundary_1_1segment.html','');});
69 <div id=
"doc-content">
72 <a href=
"#pub-types">Public Types
</a> |
73 <a href=
"#pub-methods">Public Member Functions
</a> |
74 <a href=
"classboost_1_1locale_1_1boundary_1_1segment-members.html">List of all members
</a> </div>
75 <div class=
"headertitle">
76 <div class=
"title">boost::locale::boundary::segment
< IteratorType
> Class Template Reference
<div class=
"ingroups"><a class=
"el" href=
"group__boundary.html">Boundary Analysis
</a></div></div> </div>
78 <div class=
"contents">
80 <p>a segment object that represents a pair of two iterators that define the range where this segment exits and a rule that defines it.
81 <a href=
"classboost_1_1locale_1_1boundary_1_1segment.html#details">More...
</a></p>
83 <p><code>#include
<<a class=
"el" href=
"segment_8hpp_source.html">boost/locale/boundary/segment.hpp
</a>></code></p>
84 <div class=
"dynheader">
85 Inheritance diagram for boost::locale::boundary::segment
< IteratorType
>:
</div>
86 <div class=
"dyncontent">
88 <img src=
"classboost_1_1locale_1_1boundary_1_1segment.png" usemap=
"#boost::locale::boundary::segment< IteratorType >_map" alt=
""/>
89 <map id=
"boost::locale::boundary::segment< IteratorType >_map" name=
"boost::locale::boundary::segment< IteratorType >_map">
92 <table class=
"memberdecls">
93 <tr class=
"heading"><td colspan=
"2"><h2 class=
"groupheader"><a name=
"pub-types"></a>
94 Public Types
</h2></td></tr>
95 <tr class=
"memitem:ad3785355ea817c087bf428315a332169"><td class=
"memItemLeft" align=
"right" valign=
"top">typedef std::iterator_traits
<br class=
"typebreak"/>
96 < IteratorType
>::
<a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html#ab7ba55015262b4fb85bb531882a32ead">value_type
</a> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html#ad3785355ea817c087bf428315a332169">char_type
</a></td></tr>
97 <tr class=
"separator:ad3785355ea817c087bf428315a332169"><td class=
"memSeparator" colspan=
"2"> </td></tr>
98 <tr class=
"memitem:a795d3328ac4d1692294f172c8480da47"><td class=
"memItemLeft" align=
"right" valign=
"top">typedef std::basic_string
<br class=
"typebreak"/>
99 < <a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html#ad3785355ea817c087bf428315a332169">char_type
</a> > </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html#a795d3328ac4d1692294f172c8480da47">string_type
</a></td></tr>
100 <tr class=
"separator:a795d3328ac4d1692294f172c8480da47"><td class=
"memSeparator" colspan=
"2"> </td></tr>
101 <tr class=
"memitem:ab7ba55015262b4fb85bb531882a32ead"><td class=
"memItemLeft" align=
"right" valign=
"top">typedef
<a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html#ad3785355ea817c087bf428315a332169">char_type
</a> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html#ab7ba55015262b4fb85bb531882a32ead">value_type
</a></td></tr>
102 <tr class=
"separator:ab7ba55015262b4fb85bb531882a32ead"><td class=
"memSeparator" colspan=
"2"> </td></tr>
103 <tr class=
"memitem:a31960fd7b416715d012b686bc1f2c205"><td class=
"memItemLeft" align=
"right" valign=
"top">typedef IteratorType
 </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html#a31960fd7b416715d012b686bc1f2c205">iterator
</a></td></tr>
104 <tr class=
"separator:a31960fd7b416715d012b686bc1f2c205"><td class=
"memSeparator" colspan=
"2"> </td></tr>
105 <tr class=
"memitem:aa24dcd83aefe4925bfc11b0285e2517a"><td class=
"memItemLeft" align=
"right" valign=
"top">typedef IteratorType
 </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html#aa24dcd83aefe4925bfc11b0285e2517a">const_iterator
</a></td></tr>
106 <tr class=
"separator:aa24dcd83aefe4925bfc11b0285e2517a"><td class=
"memSeparator" colspan=
"2"> </td></tr>
107 <tr class=
"memitem:a79ee4d48248ffbc23f84a33355ca3b62"><td class=
"memItemLeft" align=
"right" valign=
"top">typedef std::iterator_traits
<br class=
"typebreak"/>
108 < IteratorType
><br class=
"typebreak"/>
109 ::
<a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html#a79ee4d48248ffbc23f84a33355ca3b62">difference_type
</a> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html#a79ee4d48248ffbc23f84a33355ca3b62">difference_type
</a></td></tr>
110 <tr class=
"separator:a79ee4d48248ffbc23f84a33355ca3b62"><td class=
"memSeparator" colspan=
"2"> </td></tr>
111 </table><table class=
"memberdecls">
112 <tr class=
"heading"><td colspan=
"2"><h2 class=
"groupheader"><a name=
"pub-methods"></a>
113 Public Member Functions
</h2></td></tr>
114 <tr class=
"memitem:a4e785bc97dba9e8e25f18b43957723e5"><td class=
"memItemLeft" align=
"right" valign=
"top"> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html#a4e785bc97dba9e8e25f18b43957723e5">segment
</a> ()
</td></tr>
115 <tr class=
"separator:a4e785bc97dba9e8e25f18b43957723e5"><td class=
"memSeparator" colspan=
"2"> </td></tr>
116 <tr class=
"memitem:aea72505bb4940b21bb00a3660fefb7b7"><td class=
"memItemLeft" align=
"right" valign=
"top"> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html#aea72505bb4940b21bb00a3660fefb7b7">segment
</a> (
<a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html#a31960fd7b416715d012b686bc1f2c205">iterator
</a> b,
<a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html#a31960fd7b416715d012b686bc1f2c205">iterator
</a> e,
<a class=
"el" href=
"group__boundary.html#ga25e193c81052ef1795f1b53b46bc2095">rule_type
</a> r)
</td></tr>
117 <tr class=
"separator:aea72505bb4940b21bb00a3660fefb7b7"><td class=
"memSeparator" colspan=
"2"> </td></tr>
118 <tr class=
"memitem:a5428ff79bc05b78989f56519b58a6d9c"><td class=
"memItemLeft" align=
"right" valign=
"top">void
 </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html#a5428ff79bc05b78989f56519b58a6d9c">begin
</a> (
<a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html#a31960fd7b416715d012b686bc1f2c205">iterator
</a> const
&v)
</td></tr>
119 <tr class=
"separator:a5428ff79bc05b78989f56519b58a6d9c"><td class=
"memSeparator" colspan=
"2"> </td></tr>
120 <tr class=
"memitem:aaedd7bb4760bae3dcdb165b330806261"><td class=
"memItemLeft" align=
"right" valign=
"top">void
 </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html#aaedd7bb4760bae3dcdb165b330806261">end
</a> (
<a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html#a31960fd7b416715d012b686bc1f2c205">iterator
</a> const
&v)
</td></tr>
121 <tr class=
"separator:aaedd7bb4760bae3dcdb165b330806261"><td class=
"memSeparator" colspan=
"2"> </td></tr>
122 <tr class=
"memitem:a445da30d993880a1bd6d998e78755a44"><td class=
"memItemLeft" align=
"right" valign=
"top">IteratorType
 </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html#a445da30d993880a1bd6d998e78755a44">begin
</a> () const
</td></tr>
123 <tr class=
"separator:a445da30d993880a1bd6d998e78755a44"><td class=
"memSeparator" colspan=
"2"> </td></tr>
124 <tr class=
"memitem:a7e36b7f1c88ad1f5756ba6e501454bc4"><td class=
"memItemLeft" align=
"right" valign=
"top">IteratorType
 </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html#a7e36b7f1c88ad1f5756ba6e501454bc4">end
</a> () const
</td></tr>
125 <tr class=
"separator:a7e36b7f1c88ad1f5756ba6e501454bc4"><td class=
"memSeparator" colspan=
"2"> </td></tr>
126 <tr class=
"memitem:a5230094b346bd26dc83529b47ca97153"><td class=
"memTemplParams" colspan=
"2">template
<class T , class A
> </td></tr>
127 <tr class=
"memitem:a5230094b346bd26dc83529b47ca97153"><td class=
"memTemplItemLeft" align=
"right" valign=
"top"> </td><td class=
"memTemplItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html#a5230094b346bd26dc83529b47ca97153">operator std::basic_string
< char_type, T, A
></a> () const
</td></tr>
128 <tr class=
"separator:a5230094b346bd26dc83529b47ca97153"><td class=
"memSeparator" colspan=
"2"> </td></tr>
129 <tr class=
"memitem:ac139eae8c07ed82ba8343fedfa76c2bf"><td class=
"memItemLeft" align=
"right" valign=
"top"><a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html#a795d3328ac4d1692294f172c8480da47">string_type
</a> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html#ac139eae8c07ed82ba8343fedfa76c2bf">str
</a> () const
</td></tr>
130 <tr class=
"separator:ac139eae8c07ed82ba8343fedfa76c2bf"><td class=
"memSeparator" colspan=
"2"> </td></tr>
131 <tr class=
"memitem:a45edfde079b2afe36c55043c7a00b438"><td class=
"memItemLeft" align=
"right" valign=
"top">size_t
 </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html#a45edfde079b2afe36c55043c7a00b438">length
</a> () const
</td></tr>
132 <tr class=
"separator:a45edfde079b2afe36c55043c7a00b438"><td class=
"memSeparator" colspan=
"2"> </td></tr>
133 <tr class=
"memitem:a84022afa120893d0716fc446816eb83f"><td class=
"memItemLeft" align=
"right" valign=
"top">bool
 </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html#a84022afa120893d0716fc446816eb83f">empty
</a> () const
</td></tr>
134 <tr class=
"separator:a84022afa120893d0716fc446816eb83f"><td class=
"memSeparator" colspan=
"2"> </td></tr>
135 <tr class=
"memitem:a5b36a522d7013306617dbcccc9919343"><td class=
"memItemLeft" align=
"right" valign=
"top"><a class=
"el" href=
"group__boundary.html#ga25e193c81052ef1795f1b53b46bc2095">rule_type
</a> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html#a5b36a522d7013306617dbcccc9919343">rule
</a> () const
</td></tr>
136 <tr class=
"separator:a5b36a522d7013306617dbcccc9919343"><td class=
"memSeparator" colspan=
"2"> </td></tr>
137 <tr class=
"memitem:a962c26b7e2024767ad25f2be080fd53a"><td class=
"memItemLeft" align=
"right" valign=
"top">void
 </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html#a962c26b7e2024767ad25f2be080fd53a">rule
</a> (
<a class=
"el" href=
"group__boundary.html#ga25e193c81052ef1795f1b53b46bc2095">rule_type
</a> r)
</td></tr>
138 <tr class=
"separator:a962c26b7e2024767ad25f2be080fd53a"><td class=
"memSeparator" colspan=
"2"> </td></tr>
139 <tr class=
"memitem:a9a30e70d41591b25c8c77961bff00057"><td class=
"memItemLeft" align=
"right" valign=
"top"><a class=
"anchor" id=
"a9a30e70d41591b25c8c77961bff00057"></a>
140 bool
 </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html#a9a30e70d41591b25c8c77961bff00057">operator==
</a> (
<a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html">segment
</a> const
&other)
</td></tr>
141 <tr class=
"memdesc:a9a30e70d41591b25c8c77961bff00057"><td class=
"mdescLeft"> </td><td class=
"mdescRight">Compare two segments.
<br/></td></tr>
142 <tr class=
"separator:a9a30e70d41591b25c8c77961bff00057"><td class=
"memSeparator" colspan=
"2"> </td></tr>
143 <tr class=
"memitem:a2e38c575af16843a3aa140a4332646a3"><td class=
"memItemLeft" align=
"right" valign=
"top"><a class=
"anchor" id=
"a2e38c575af16843a3aa140a4332646a3"></a>
144 bool
 </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html#a2e38c575af16843a3aa140a4332646a3">operator!=
</a> (
<a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html">segment
</a> const
&other)
</td></tr>
145 <tr class=
"memdesc:a2e38c575af16843a3aa140a4332646a3"><td class=
"mdescLeft"> </td><td class=
"mdescRight">Compare two segments.
<br/></td></tr>
146 <tr class=
"separator:a2e38c575af16843a3aa140a4332646a3"><td class=
"memSeparator" colspan=
"2"> </td></tr>
148 <a name=
"details" id=
"details"></a><h2 class=
"groupheader">Detailed Description
</h2>
149 <div class=
"textblock"><h3>template
<typename IteratorType
><br/>
150 class boost::locale::boundary::segment
< IteratorType
></h3>
152 <p>a segment object that represents a pair of two iterators that define the range where this segment exits and a rule that defines it.
</p>
153 <p>This type of object is dereferenced by the iterators of
<a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment__index.html" title=
"This class holds an index of segments in the text range and allows to iterate over them...">segment_index
</a>. Using a
<a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html#a5b36a522d7013306617dbcccc9919343">rule()
</a> member function you can get a specific rule this segment was selected with. For example, when you use word boundary analysis, you can check if the specific word contains Kana letters by checking (
<a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html#a5b36a522d7013306617dbcccc9919343">rule()
</a> & <a class=
"el" href=
"group__boundary.html#ga52d8c63e1f3f8c898c645352206a78ef">word_kana
</a>)!=
0 For a sentence analysis you can check if the sentence is selected because a sentence terminator is found (
<a class=
"el" href=
"group__boundary.html#ga3befefe67f79691c117bf5588741355b">sentence_term
</a>) or there is a line break (
<a class=
"el" href=
"group__boundary.html#gaf67883341dd3d8f786e7281d40790000">sentence_sep
</a>).
</p>
154 <p>This object can be automatically converted to std::basic_string with the same type of character. It is also valid range that has
<a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html#a5428ff79bc05b78989f56519b58a6d9c">begin()
</a> and
<a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html#aaedd7bb4760bae3dcdb165b330806261">end()
</a> member functions returning iterators on the location of the segment.
</p>
155 <dl class=
"section see"><dt>See Also
</dt><dd></dd></dl>
157 <li><a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment__index.html">segment_index
</a></li>
158 <li><a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1boundary__point.html">boundary_point
</a></li>
159 <li><a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1boundary__point__index.html">boundary_point_index
</a> </li>
161 </div><h2 class=
"groupheader">Member Typedef Documentation
</h2>
162 <a class=
"anchor" id=
"ad3785355ea817c087bf428315a332169"></a>
163 <div class=
"memitem">
164 <div class=
"memproto">
165 <div class=
"memtemplate">
166 template
<typename IteratorType
> </div>
167 <table class=
"memname">
169 <td class=
"memname">typedef std::iterator_traits
<IteratorType
>::
<a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html#ab7ba55015262b4fb85bb531882a32ead">value_type
</a> <a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html">boost::locale::boundary::segment
</a>< IteratorType
>::
<a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html#ad3785355ea817c087bf428315a332169">char_type
</a></td>
172 </div><div class=
"memdoc">
173 <p>The type of the underlying character
</p>
177 <a class=
"anchor" id=
"aa24dcd83aefe4925bfc11b0285e2517a"></a>
178 <div class=
"memitem">
179 <div class=
"memproto">
180 <div class=
"memtemplate">
181 template
<typename IteratorType
> </div>
182 <table class=
"memname">
184 <td class=
"memname">typedef IteratorType
<a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html">boost::locale::boundary::segment
</a>< IteratorType
>::
<a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html#aa24dcd83aefe4925bfc11b0285e2517a">const_iterator
</a></td>
187 </div><div class=
"memdoc">
188 <p>The iterator that allows to iterate the range
</p>
192 <a class=
"anchor" id=
"a79ee4d48248ffbc23f84a33355ca3b62"></a>
193 <div class=
"memitem">
194 <div class=
"memproto">
195 <div class=
"memtemplate">
196 template
<typename IteratorType
> </div>
197 <table class=
"memname">
199 <td class=
"memname">typedef std::iterator_traits
<IteratorType
>::
<a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html#a79ee4d48248ffbc23f84a33355ca3b62">difference_type
</a> <a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html">boost::locale::boundary::segment
</a>< IteratorType
>::
<a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html#a79ee4d48248ffbc23f84a33355ca3b62">difference_type
</a></td>
202 </div><div class=
"memdoc">
203 <p>The type that represent a difference between two iterators
</p>
207 <a class=
"anchor" id=
"a31960fd7b416715d012b686bc1f2c205"></a>
208 <div class=
"memitem">
209 <div class=
"memproto">
210 <div class=
"memtemplate">
211 template
<typename IteratorType
> </div>
212 <table class=
"memname">
214 <td class=
"memname">typedef IteratorType
<a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html">boost::locale::boundary::segment
</a>< IteratorType
>::
<a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html#a31960fd7b416715d012b686bc1f2c205">iterator
</a></td>
217 </div><div class=
"memdoc">
218 <p>The iterator that allows to iterate the range
</p>
222 <a class=
"anchor" id=
"a795d3328ac4d1692294f172c8480da47"></a>
223 <div class=
"memitem">
224 <div class=
"memproto">
225 <div class=
"memtemplate">
226 template
<typename IteratorType
> </div>
227 <table class=
"memname">
229 <td class=
"memname">typedef std::basic_string
<<a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html#ad3785355ea817c087bf428315a332169">char_type
</a>> <a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html">boost::locale::boundary::segment
</a>< IteratorType
>::
<a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html#a795d3328ac4d1692294f172c8480da47">string_type
</a></td>
232 </div><div class=
"memdoc">
233 <p>The type of the string it is converted to
</p>
237 <a class=
"anchor" id=
"ab7ba55015262b4fb85bb531882a32ead"></a>
238 <div class=
"memitem">
239 <div class=
"memproto">
240 <div class=
"memtemplate">
241 template
<typename IteratorType
> </div>
242 <table class=
"memname">
244 <td class=
"memname">typedef
<a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html#ad3785355ea817c087bf428315a332169">char_type
</a> <a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html">boost::locale::boundary::segment
</a>< IteratorType
>::
<a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html#ab7ba55015262b4fb85bb531882a32ead">value_type
</a></td>
247 </div><div class=
"memdoc">
248 <p>The value that iterators return - the character itself
</p>
252 <h2 class=
"groupheader">Constructor
& Destructor Documentation
</h2>
253 <a class=
"anchor" id=
"a4e785bc97dba9e8e25f18b43957723e5"></a>
254 <div class=
"memitem">
255 <div class=
"memproto">
256 <div class=
"memtemplate">
257 template
<typename IteratorType
> </div>
258 <table class=
"mlabels">
260 <td class=
"mlabels-left">
261 <table class=
"memname">
263 <td class=
"memname"><a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html">boost::locale::boundary::segment
</a>< IteratorType
>::
<a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html">segment
</a> </td>
265 <td class=
"paramname"></td><td>)
</td>
270 <td class=
"mlabels-right">
271 <span class=
"mlabels"><span class=
"mlabel">inline
</span></span> </td>
274 </div><div class=
"memdoc">
275 <p>Default constructor
</p>
279 <a class=
"anchor" id=
"aea72505bb4940b21bb00a3660fefb7b7"></a>
280 <div class=
"memitem">
281 <div class=
"memproto">
282 <div class=
"memtemplate">
283 template
<typename IteratorType
> </div>
284 <table class=
"mlabels">
286 <td class=
"mlabels-left">
287 <table class=
"memname">
289 <td class=
"memname"><a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html">boost::locale::boundary::segment
</a>< IteratorType
>::
<a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html">segment
</a> </td>
291 <td class=
"paramtype"><a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html#a31960fd7b416715d012b686bc1f2c205">iterator
</a> </td>
292 <td class=
"paramname"><em>b
</em>,
</td>
295 <td class=
"paramkey"></td>
297 <td class=
"paramtype"><a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html#a31960fd7b416715d012b686bc1f2c205">iterator
</a> </td>
298 <td class=
"paramname"><em>e
</em>,
</td>
301 <td class=
"paramkey"></td>
303 <td class=
"paramtype"><a class=
"el" href=
"group__boundary.html#ga25e193c81052ef1795f1b53b46bc2095">rule_type
</a> </td>
304 <td class=
"paramname"><em>r
</em> </td>
313 <td class=
"mlabels-right">
314 <span class=
"mlabels"><span class=
"mlabel">inline
</span></span> </td>
317 </div><div class=
"memdoc">
318 <p>Create a segment using two iterators and a rule that represents this point
</p>
322 <h2 class=
"groupheader">Member Function Documentation
</h2>
323 <a class=
"anchor" id=
"a5428ff79bc05b78989f56519b58a6d9c"></a>
324 <div class=
"memitem">
325 <div class=
"memproto">
326 <div class=
"memtemplate">
327 template
<typename IteratorType
> </div>
328 <table class=
"mlabels">
330 <td class=
"mlabels-left">
331 <table class=
"memname">
333 <td class=
"memname">void
<a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html">boost::locale::boundary::segment
</a>< IteratorType
>::begin
</td>
335 <td class=
"paramtype"><a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html#a31960fd7b416715d012b686bc1f2c205">iterator
</a> const
& </td>
336 <td class=
"paramname"><em>v
</em></td><td>)
</td>
341 <td class=
"mlabels-right">
342 <span class=
"mlabels"><span class=
"mlabel">inline
</span></span> </td>
345 </div><div class=
"memdoc">
346 <p>Set the start of the range
</p>
350 <a class=
"anchor" id=
"a445da30d993880a1bd6d998e78755a44"></a>
351 <div class=
"memitem">
352 <div class=
"memproto">
353 <div class=
"memtemplate">
354 template
<typename IteratorType
> </div>
355 <table class=
"mlabels">
357 <td class=
"mlabels-left">
358 <table class=
"memname">
360 <td class=
"memname">IteratorType
<a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html">boost::locale::boundary::segment
</a>< IteratorType
>::begin
</td>
362 <td class=
"paramname"></td><td>)
</td>
367 <td class=
"mlabels-right">
368 <span class=
"mlabels"><span class=
"mlabel">inline
</span></span> </td>
371 </div><div class=
"memdoc">
372 <p>Get the start of the range
</p>
376 <a class=
"anchor" id=
"a84022afa120893d0716fc446816eb83f"></a>
377 <div class=
"memitem">
378 <div class=
"memproto">
379 <div class=
"memtemplate">
380 template
<typename IteratorType
> </div>
381 <table class=
"mlabels">
383 <td class=
"mlabels-left">
384 <table class=
"memname">
386 <td class=
"memname">bool
<a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html">boost::locale::boundary::segment
</a>< IteratorType
>::empty
</td>
388 <td class=
"paramname"></td><td>)
</td>
393 <td class=
"mlabels-right">
394 <span class=
"mlabels"><span class=
"mlabel">inline
</span></span> </td>
397 </div><div class=
"memdoc">
398 <p>Check if the segment is empty
</p>
402 <a class=
"anchor" id=
"aaedd7bb4760bae3dcdb165b330806261"></a>
403 <div class=
"memitem">
404 <div class=
"memproto">
405 <div class=
"memtemplate">
406 template
<typename IteratorType
> </div>
407 <table class=
"mlabels">
409 <td class=
"mlabels-left">
410 <table class=
"memname">
412 <td class=
"memname">void
<a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html">boost::locale::boundary::segment
</a>< IteratorType
>::end
</td>
414 <td class=
"paramtype"><a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html#a31960fd7b416715d012b686bc1f2c205">iterator
</a> const
& </td>
415 <td class=
"paramname"><em>v
</em></td><td>)
</td>
420 <td class=
"mlabels-right">
421 <span class=
"mlabels"><span class=
"mlabel">inline
</span></span> </td>
424 </div><div class=
"memdoc">
425 <p>Set the end of the range
</p>
429 <a class=
"anchor" id=
"a7e36b7f1c88ad1f5756ba6e501454bc4"></a>
430 <div class=
"memitem">
431 <div class=
"memproto">
432 <div class=
"memtemplate">
433 template
<typename IteratorType
> </div>
434 <table class=
"mlabels">
436 <td class=
"mlabels-left">
437 <table class=
"memname">
439 <td class=
"memname">IteratorType
<a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html">boost::locale::boundary::segment
</a>< IteratorType
>::end
</td>
441 <td class=
"paramname"></td><td>)
</td>
446 <td class=
"mlabels-right">
447 <span class=
"mlabels"><span class=
"mlabel">inline
</span></span> </td>
450 </div><div class=
"memdoc">
451 <p>Set the end of the range
</p>
455 <a class=
"anchor" id=
"a45edfde079b2afe36c55043c7a00b438"></a>
456 <div class=
"memitem">
457 <div class=
"memproto">
458 <div class=
"memtemplate">
459 template
<typename IteratorType
> </div>
460 <table class=
"mlabels">
462 <td class=
"mlabels-left">
463 <table class=
"memname">
465 <td class=
"memname">size_t
<a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html">boost::locale::boundary::segment
</a>< IteratorType
>::length
</td>
467 <td class=
"paramname"></td><td>)
</td>
472 <td class=
"mlabels-right">
473 <span class=
"mlabels"><span class=
"mlabel">inline
</span></span> </td>
476 </div><div class=
"memdoc">
477 <p>Get the length of the text chunk
</p>
481 <a class=
"anchor" id=
"a5230094b346bd26dc83529b47ca97153"></a>
482 <div class=
"memitem">
483 <div class=
"memproto">
484 <div class=
"memtemplate">
485 template
<typename IteratorType
> </div>
486 <div class=
"memtemplate">
487 template
<class T , class A
> </div>
488 <table class=
"mlabels">
490 <td class=
"mlabels-left">
491 <table class=
"memname">
493 <td class=
"memname"><a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html">boost::locale::boundary::segment
</a>< IteratorType
>::operator std::basic_string
< <a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html#ad3785355ea817c087bf428315a332169">char_type
</a>, T, A
> </td>
495 <td class=
"paramname"></td><td>)
</td>
500 <td class=
"mlabels-right">
501 <span class=
"mlabels"><span class=
"mlabel">inline
</span></span> </td>
504 </div><div class=
"memdoc">
505 <p>Convert the range to a string automatically
</p>
509 <a class=
"anchor" id=
"a5b36a522d7013306617dbcccc9919343"></a>
510 <div class=
"memitem">
511 <div class=
"memproto">
512 <div class=
"memtemplate">
513 template
<typename IteratorType
> </div>
514 <table class=
"mlabels">
516 <td class=
"mlabels-left">
517 <table class=
"memname">
519 <td class=
"memname"><a class=
"el" href=
"group__boundary.html#ga25e193c81052ef1795f1b53b46bc2095">rule_type
</a> <a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html">boost::locale::boundary::segment
</a>< IteratorType
>::rule
</td>
521 <td class=
"paramname"></td><td>)
</td>
526 <td class=
"mlabels-right">
527 <span class=
"mlabels"><span class=
"mlabel">inline
</span></span> </td>
530 </div><div class=
"memdoc">
531 <p>Get the rule that is used for selection of this segment.
</p>
535 <a class=
"anchor" id=
"a962c26b7e2024767ad25f2be080fd53a"></a>
536 <div class=
"memitem">
537 <div class=
"memproto">
538 <div class=
"memtemplate">
539 template
<typename IteratorType
> </div>
540 <table class=
"mlabels">
542 <td class=
"mlabels-left">
543 <table class=
"memname">
545 <td class=
"memname">void
<a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html">boost::locale::boundary::segment
</a>< IteratorType
>::rule
</td>
547 <td class=
"paramtype"><a class=
"el" href=
"group__boundary.html#ga25e193c81052ef1795f1b53b46bc2095">rule_type
</a> </td>
548 <td class=
"paramname"><em>r
</em></td><td>)
</td>
553 <td class=
"mlabels-right">
554 <span class=
"mlabels"><span class=
"mlabel">inline
</span></span> </td>
557 </div><div class=
"memdoc">
558 <p>Set a rule that is used for segment selection
</p>
562 <a class=
"anchor" id=
"ac139eae8c07ed82ba8343fedfa76c2bf"></a>
563 <div class=
"memitem">
564 <div class=
"memproto">
565 <div class=
"memtemplate">
566 template
<typename IteratorType
> </div>
567 <table class=
"mlabels">
569 <td class=
"mlabels-left">
570 <table class=
"memname">
572 <td class=
"memname"><a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html#a795d3328ac4d1692294f172c8480da47">string_type
</a> <a class=
"el" href=
"classboost_1_1locale_1_1boundary_1_1segment.html">boost::locale::boundary::segment
</a>< IteratorType
>::str
</td>
574 <td class=
"paramname"></td><td>)
</td>
579 <td class=
"mlabels-right">
580 <span class=
"mlabels"><span class=
"mlabel">inline
</span></span> </td>
583 </div><div class=
"memdoc">
584 <p>Create a string from the range explicitly
</p>
588 <hr/>The documentation for this class was generated from the following file:
<ul>
589 <li>boost/locale/boundary/
<a class=
"el" href=
"segment_8hpp_source.html">segment.hpp
</a></li>
591 </div><!-- contents -->
592 </div><!-- doc-content -->
595 © 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.