Boost.Locale
boost::locale::boundary::break_info Struct Reference

This structure is used for representing boundary points that follow the offset. More...

#include <boost/locale/boundary/facets.hpp>

Public Member Functions

 break_info ()
 Create empty break point at beginning.
 
 break_info (size_t v)
 
bool operator< (const break_info &other) const
 

Public Attributes

size_t offset
 Offset from the beginning of the text where a break occurs.
 
rule_type rule
 

Detailed Description

This structure is used for representing boundary points that follow the offset.

Constructor & Destructor Documentation

◆ break_info()

boost::locale::boundary::break_info::break_info ( size_t  v)
inline

Create an empty break point at offset v. it is useful for order comparison with other points.

Member Function Documentation

◆ operator<()

bool boost::locale::boundary::break_info::operator< ( const break_info other) const
inline

Compare two break points' offset. Allows to search with standard algorithms over the index.

Member Data Documentation

◆ rule

rule_type boost::locale::boundary::break_info::rule

The identification of this break point according to various break types


The documentation for this struct was generated from the following file: