This namespae contains all operations required for boundary analysis of text. More...
Classes | |
singleton | boundary_indexing |
class | boundary_indexing< char > |
class | boundary_indexing< wchar_t > |
class | boundary_point |
This class represents a boundary point in the text. More... | |
class | boundary_point_index |
This class holds an index of boundary points and allows iterating over them. More... | |
struct | break_info |
This structure is used for representing boundary point that follows the offset. More... | |
class | segment |
a segment object that represents a pair of two iterators that define the range where this segment exits and a rule that defines it. More... | |
class | segment_index |
This class holds an index of segments in the text range and allows to iterate over them. More... | |
Typedefs | |
typedef boundary_point < std::string::const_iterator > | sboundary_point |
convenience typedef More... | |
typedef boundary_point < std::wstring::const_iterator > | wsboundary_point |
convenience typedef More... | |
typedef boundary_point< char const * > | cboundary_point |
convenience typedef More... | |
typedef boundary_point < wchar_t const * > | wcboundary_point |
convenience typedef More... | |
typedef std::vector< break_info > | index_type |
This type holds the analysis of the text - all its break points with marks. More... | |
typedef segment_index < std::string::const_iterator > | ssegment_index |
convenience typedef More... | |
typedef segment_index < std::wstring::const_iterator > | wssegment_index |
convenience typedef More... | |
typedef segment_index< char const * > | csegment_index |
convenience typedef More... | |
typedef segment_index< wchar_t const * > | wcsegment_index |
convenience typedef More... | |
typedef boundary_point_index < std::string::const_iterator > | sboundary_point_index |
convenience typedef More... | |
typedef boundary_point_index < std::wstring::const_iterator > | wsboundary_point_index |
convenience typedef More... | |
typedef boundary_point_index < char const * > | cboundary_point_index |
convenience typedef More... | |
typedef boundary_point_index < wchar_t const * > | wcboundary_point_index |
convenience typedef More... | |
typedef segment < std::string::const_iterator > | ssegment |
convenience typedef More... | |
typedef segment < std::wstring::const_iterator > | wssegment |
convenience typedef More... | |
typedef segment< char const * > | csegment |
convenience typedef More... | |
typedef segment< wchar_t const * > | wcsegment |
convenience typedef More... | |
typedef uint32_t | rule_type |
Flags used with word boundary analysis – the type of the word, line or sentence boundary found. More... | |
Enumerations | |
enum | boundary_type { character, word, sentence, line } |
This type describes a possible boundary analysis alternatives. More... | |
Functions | |
template<typename BaseIterator > | |
bool | operator== (BaseIterator const &l, boundary_point< BaseIterator > const &r) |
Check if the boundary point r points to same location as an iterator l. More... | |
template<typename BaseIterator > | |
bool | operator!= (BaseIterator const &l, boundary_point< BaseIterator > const &r) |
Check if the boundary point r points to different location from an iterator l. More... | |
template<typename IteratorL , typename IteratorR > | |
bool | operator== (segment< IteratorL > const &l, segment< IteratorR > const &r) |
Compare two segments. More... | |
template<typename IteratorL , typename IteratorR > | |
bool | operator!= (segment< IteratorL > const &l, segment< IteratorR > const &r) |
Compare two segments. More... | |
template<typename IteratorL , typename IteratorR > | |
bool | operator< (segment< IteratorL > const &l, segment< IteratorR > const &r) |
Compare two segments. More... | |
template<typename IteratorL , typename IteratorR > | |
bool | operator<= (segment< IteratorL > const &l, segment< IteratorR > const &r) |
Compare two segments. More... | |
template<typename IteratorL , typename IteratorR > | |
bool | operator> (segment< IteratorL > const &l, segment< IteratorR > const &r) |
Compare two segments. More... | |
template<typename IteratorL , typename IteratorR > | |
bool | operator>= (segment< IteratorL > const &l, segment< IteratorR > const &r) |
Compare two segments. More... | |
template<typename CharType , typename Traits , typename Alloc , typename IteratorR > | |
bool | operator== (std::basic_string< CharType, Traits, Alloc > const &l, segment< IteratorR > const &r) |
Compare string and segment. More... | |
template<typename CharType , typename Traits , typename Alloc , typename IteratorR > | |
bool | operator!= (std::basic_string< CharType, Traits, Alloc > const &l, segment< IteratorR > const &r) |
Compare string and segment. More... | |
template<typename CharType , typename Traits , typename Alloc , typename IteratorR > | |
bool | operator< (std::basic_string< CharType, Traits, Alloc > const &l, segment< IteratorR > const &r) |
Compare string and segment. More... | |
template<typename CharType , typename Traits , typename Alloc , typename IteratorR > | |
bool | operator<= (std::basic_string< CharType, Traits, Alloc > const &l, segment< IteratorR > const &r) |
Compare string and segment. More... | |
template<typename CharType , typename Traits , typename Alloc , typename IteratorR > | |
bool | operator> (std::basic_string< CharType, Traits, Alloc > const &l, segment< IteratorR > const &r) |
Compare string and segment. More... | |
template<typename CharType , typename Traits , typename Alloc , typename IteratorR > | |
bool | operator>= (std::basic_string< CharType, Traits, Alloc > const &l, segment< IteratorR > const &r) |
Compare string and segment. More... | |
template<typename Iterator , typename CharType , typename Traits , typename Alloc > | |
bool | operator== (segment< Iterator > const &l, std::basic_string< CharType, Traits, Alloc > const &r) |
Compare string and segment. More... | |
template<typename Iterator , typename CharType , typename Traits , typename Alloc > | |
bool | operator!= (segment< Iterator > const &l, std::basic_string< CharType, Traits, Alloc > const &r) |
Compare string and segment. More... | |
template<typename Iterator , typename CharType , typename Traits , typename Alloc > | |
bool | operator< (segment< Iterator > const &l, std::basic_string< CharType, Traits, Alloc > const &r) |
Compare string and segment. More... | |
template<typename Iterator , typename CharType , typename Traits , typename Alloc > | |
bool | operator<= (segment< Iterator > const &l, std::basic_string< CharType, Traits, Alloc > const &r) |
Compare string and segment. More... | |
template<typename Iterator , typename CharType , typename Traits , typename Alloc > | |
bool | operator> (segment< Iterator > const &l, std::basic_string< CharType, Traits, Alloc > const &r) |
Compare string and segment. More... | |
template<typename Iterator , typename CharType , typename Traits , typename Alloc > | |
bool | operator>= (segment< Iterator > const &l, std::basic_string< CharType, Traits, Alloc > const &r) |
Compare string and segment. More... | |
template<typename CharType , typename IteratorR > | |
bool | operator== (CharType const *l, segment< IteratorR > const &r) |
Compare C string and segment. More... | |
template<typename CharType , typename IteratorR > | |
bool | operator!= (CharType const *l, segment< IteratorR > const &r) |
Compare C string and segment. More... | |
template<typename CharType , typename IteratorR > | |
bool | operator< (CharType const *l, segment< IteratorR > const &r) |
Compare C string and segment. More... | |
template<typename CharType , typename IteratorR > | |
bool | operator<= (CharType const *l, segment< IteratorR > const &r) |
Compare C string and segment. More... | |
template<typename CharType , typename IteratorR > | |
bool | operator> (CharType const *l, segment< IteratorR > const &r) |
Compare C string and segment. More... | |
template<typename CharType , typename IteratorR > | |
bool | operator>= (CharType const *l, segment< IteratorR > const &r) |
Compare C string and segment. More... | |
template<typename Iterator , typename CharType > | |
bool | operator== (segment< Iterator > const &l, CharType const *r) |
Compare C string and segment. More... | |
template<typename Iterator , typename CharType > | |
bool | operator!= (segment< Iterator > const &l, CharType const *r) |
Compare C string and segment. More... | |
template<typename Iterator , typename CharType > | |
bool | operator< (segment< Iterator > const &l, CharType const *r) |
Compare C string and segment. More... | |
template<typename Iterator , typename CharType > | |
bool | operator<= (segment< Iterator > const &l, CharType const *r) |
Compare C string and segment. More... | |
template<typename Iterator , typename CharType > | |
bool | operator> (segment< Iterator > const &l, CharType const *r) |
Compare C string and segment. More... | |
template<typename Iterator , typename CharType > | |
bool | operator>= (segment< Iterator > const &l, CharType const *r) |
Compare C string and segment. More... | |
template<typename CharType , typename TraitsType , typename Iterator > | |
std::basic_ostream< CharType, TraitsType > & | operator<< (std::basic_ostream< CharType, TraitsType > &out, segment< Iterator > const &tok) |
Write the segment to the stream character by character. More... | |
rule_type | boundary_rule (boundary_type t) |
This function returns the mask that covers all variants for specific boundary type. More... | |
This namespae contains all operations required for boundary analysis of text.
This namespase contains all operations required for boundary analysis of text.
typedef boundary_point<char const *> boost::locale::boundary::cboundary_point |
convenience typedef
typedef boundary_point<std::string::const_iterator> boost::locale::boundary::sboundary_point |
convenience typedef
typedef boundary_point<wchar_t const *> boost::locale::boundary::wcboundary_point |
convenience typedef
typedef boundary_point<std::wstring::const_iterator> boost::locale::boundary::wsboundary_point |
convenience typedef