stub regex_traits for non-char data More...
#include <xpressive_fwd.hpp>
Public Types | |
| typedef Elem | char_type |
| typedef std::vector< char_type > | string_type |
| typedef detail::not_a_locale | locale_type |
| typedef int | char_class_type |
| typedef regex_traits_version_1_tag | version_tag |
Public Member Functions | |
| null_regex_traits (locale_type=locale_type()) | |
| Initialize a null_regex_traits object. More... | |
| bool | operator== (null_regex_traits< char_type > const &that) const |
| Checks two null_regex_traits objects for equality. More... | |
| bool | operator!= (null_regex_traits< char_type > const &that) const |
| Checks two null_regex_traits objects for inequality. More... | |
| char_type | widen (char ch) const |
| Convert a char to a Elem. More... | |
Static Public Member Functions | |
| static unsigned char | hash (char_type ch) |
| Returns a hash value for a Elem in the range [0, UCHAR_MAX]. More... | |
| static char_type | translate (char_type ch) |
| No-op. More... | |
| static char_type | translate_nocase (char_type ch) |
| No-op. More... | |
| static bool | in_range (char_type first, char_type last, char_type ch) |
| Checks to see if a character is within a character range. More... | |
| static bool | in_range_nocase (char_type first, char_type last, char_type ch) |
| Checks to see if a character is within a character range. More... | |
| template<typename FwdIter > | |
| static string_type | transform (FwdIter begin, FwdIter end) |
| Returns a sort key for the character sequence designated by the iterator range [F1, F2) such that if the character sequence [G1, G2) sorts before the character sequence [H1, H2) then v.transform(G1, G2) < v.transform(H1, H2). More... | |
| template<typename FwdIter > | |
| static string_type | transform_primary (FwdIter begin, FwdIter end) |
| Returns a sort key for the character sequence designated by the iterator range [F1, F2) such that if the character sequence [G1, G2) sorts before the character sequence [H1, H2) when character case is not considered then v.transform_primary(G1, G2) < v.transform_primary(H1, H2). More... | |
| template<typename FwdIter > | |
| static string_type | lookup_collatename (FwdIter begin, FwdIter end) |
| Returns a sequence of characters that represents the collating element consisting of the character sequence designated by the iterator range [F1, F2). More... | |
| template<typename FwdIter > | |
| static char_class_type | lookup_classname (FwdIter begin, FwdIter end, bool icase) |
| The null_regex_traits does not have character classifications, so lookup_classname() is unused. More... | |
| static bool | isctype (char_type ch, char_class_type mask) |
| The null_regex_traits does not have character classifications, so isctype() is unused. More... | |
| static int | value (char_type ch, int radix) |
| The null_regex_traits recognizes no elements as digits, so value() is unused. More... | |
| static locale_type | imbue (locale_type loc) |
| Not used. More... | |
| static locale_type | getloc () |
| Returns locale_type(). More... | |
stub regex_traits for non-char data
| typedef int boost::xpressive::null_regex_traits< Elem >::char_class_type |
| typedef Elem boost::xpressive::null_regex_traits< Elem >::char_type |
| typedef detail::not_a_locale boost::xpressive::null_regex_traits< Elem >::locale_type |
| typedef std::vector<char_type> boost::xpressive::null_regex_traits< Elem >::string_type |
| typedef regex_traits_version_1_tag boost::xpressive::null_regex_traits< Elem >::version_tag |
|
inline |
Initialize a null_regex_traits object.
|
inlinestatic |
Returns locale_type().
|
inlinestatic |
Returns a hash value for a Elem in the range [0, UCHAR_MAX].
| ch | The source character. |
|
inlinestatic |
Not used.
| loc | not used |
|
inlinestatic |
Checks to see if a character is within a character range.
| first | The bottom of the range, inclusive. |
| last | The top of the range, inclusive. |
| ch | The source character. |
References boost::last.
|
inlinestatic |
Checks to see if a character is within a character range.
| first | The bottom of the range, inclusive. |
| last | The top of the range, inclusive. |
| ch | The source character. |
References boost::last.
|
inlinestatic |
The null_regex_traits does not have character classifications, so isctype() is unused.
| ch | not used |
| mask | not used |
References boost::ignore_unused().
|
inlinestatic |
The null_regex_traits does not have character classifications, so lookup_classname() is unused.
| begin | not used |
| end | not used |
| icase | not used |
References boost::ignore_unused().
|
inlinestatic |
Returns a sequence of characters that represents the collating element consisting of the character sequence designated by the iterator range [F1, F2).
Returns an empty string if the character sequence is not a valid collating element.
References boost::ignore_unused().
|
inline |
Checks two null_regex_traits objects for inequality.
References boost::ignore_unused().
|
inline |
|
inlinestatic |
Returns a sort key for the character sequence designated by the iterator range [F1, F2) such that if the character sequence [G1, G2) sorts before the character sequence [H1, H2) then v.transform(G1, G2) < v.transform(H1, H2).
|
inlinestatic |
Returns a sort key for the character sequence designated by the iterator range [F1, F2) such that if the character sequence [G1, G2) sorts before the character sequence [H1, H2) when character case is not considered then v.transform_primary(G1, G2) < v.transform_primary(H1, H2).
|
inlinestatic |
No-op.
| ch | The source character. |
|
inlinestatic |
No-op.
| ch | The source character. |
|
inlinestatic |
The null_regex_traits recognizes no elements as digits, so value() is unused.
| ch | not used |
| radix | not used |
References boost::ignore_unused().
|
inline |
Convert a char to a Elem.
| ch | The source character. |