Boost.Locale
|
This facet generates an index for boundary analysis for a given text. More...
#include <boost/locale/boundary/facets.hpp>
Public Member Functions | |
boundary_indexing (size_t refs=0) | |
virtual index_type | map (boundary_type t, Char const *begin, Char const *end) const =0 |
Static Public Attributes | |
static std::locale::id | id |
This facet generates an index for boundary analysis for a given text.
It is specialized for 4 types of characters char_t
, wchar_t
, char16_t
and char32_t
|
inline |
Default constructor typical for facets
|
pure virtual |
Create index for boundary type t for text in range [begin,end)
The returned value is an index of type index_type. Note that this index is never empty, even if the range [begin,end) is empty it consists of at least one boundary point with the offset 0.
|
static |
Identification of this facet