8 #ifndef BOOST_LOCALE_BOUNDARY_TYPES_HPP_INCLUDED
9 #define BOOST_LOCALE_BOUNDARY_TYPES_HPP_INCLUDED
11 #include <boost/locale/config.hpp>
12 #include <boost/cstdint.hpp>
13 #include <boost/assert.hpp>
15 # pragma warning(push)
16 # pragma warning(disable : 4275 4251 4231 4660)
static const rule_type character_any
Not in use, just for consistency.
Analyse the text for positions suitable for line breaks.
static const rule_type sentence_sep
The sentence does not contain terminator like ".", "!" but ended with hard separator like CR...
static const rule_type word_letter
Word that contains letters, excluding kana and ideographic characters.
static const rule_type word_any
Any word including numbers, 0 is special flag, equivalent to 15.
static const rule_type line_any
Soft or Hard line break.
Flags used with word boundary analysis – the type of the word, line or sentence boundary found...
static const rule_type line_hard
Hard line break: like break is required (as per CR/LF)
static const rule_type sentence_term
The sentence was terminated with a sentence terminator like ".", "!" possible followed by hard separa...
static const rule_type line_mask
Select all types of line breaks.
static const rule_type word_ideo
Word that contains ideographic characters.
static const rule_type word_letters
Any word, excluding numbers but including letters, kana and ideograms.
rule_type boundary_rule(boundary_type t)
static const rule_type sentence_mask
Select all sentence breaking points.
Analyse the text for character boundaries.
static const rule_type word_number
Word that appear to be a number.
static const rule_type line_soft
Soft line break: optional but not required.
static const rule_type word_kana
Word that contains kana characters.
Analyse the text for Find sentence boundaries.
static const rule_type word_none
Not a word, like white space or punctuation mark.
static const rule_type character_mask
Select all character breaking points.
Analyse the text for word boundaries.
static const rule_type word_mask
static const rule_type word_kana_ideo
Word that includes kana or ideographic characters.
static const rule_type sentence_any
Either first or second sentence break type;.