This structure is used for representing boundary point that follows the offset. More...
#include <facets.hpp>
Public Member Functions | |
break_info () | |
Create empty break point at beginning. More... | |
break_info (size_t v) | |
Create empty break point at offset v. More... | |
bool | operator< (break_info const &other) const |
Compare two break points' offset. More... | |
Public Attributes | |
size_t | offset |
Offset from the beggining of the text where a break occurs. More... | |
rule_type | rule |
The identification of this break point according to various break types. More... | |
This structure is used for representing boundary point that follows the offset.
|
inline |
Create empty break point at beginning.
|
inline |
Create empty break point at offset v.
it is useful for order comparison with other points.
|
inline |
Compare two break points' offset.
Allows to search with standard algorithms over the index.
References offset.
size_t boost::locale::boundary::break_info::offset |
Offset from the beggining of the text where a break occurs.
Referenced by operator<().
rule_type boost::locale::boundary::break_info::rule |
The identification of this break point according to various break types.