|
stlencoders
1.1.3
|
A character encoding traits adaptor that converts an underlying encoding traits class for type char to type wchar_t.
More...
Public Types | |
| typedef wchar_t | char_type |
| The encoding character type. More... | |
| typedef traits::int_type | int_type |
| An integral type representing an octet. More... | |
Static Public Member Functions | |
| static bool | eq (const char_type &lhs, const char_type &rhs) |
| Returns whether the character lhs is to be treated equal to the character rhs. More... | |
| static bool | eq_int_type (const int_type &lhs, const int_type &rhs) |
| Returns whether the integral value lhs is to be treated equal to rhs. More... | |
| static char_type | to_char_type (const int_type &c) |
| Converts an integral value to a character in the encoding alphabet. More... | |
| static char_type | to_char_type_lower (const int_type &c) |
| Converts an integral value to a lowercase character in the encoding alphabet. More... | |
| static char_type | to_char_type_upper (const int_type &c) |
| Converts an integral value to an uppercase character in the encoding alphabet. More... | |
| static int_type | to_int_type (const char_type &c) |
| Converts a character to an integral value. More... | |
| static char_type | pad () |
| Returns the character used to perform padding at the end of a character sequence. More... | |
| static int_type | inv () |
| Returns an integral value represented by no character in the encoding alphabet. More... | |
A character encoding traits adaptor that converts an underlying encoding traits class for type char to type wchar_t.
A portable encoding traits class' encoding alphabet must only use characters from the basic execution character set:
| traits | the underlying character encoding traits class with character type char |
| typedef wchar_t stlencoders::portable_wchar_encoding_traits< traits >::char_type |
The encoding character type.
| typedef traits::int_type stlencoders::portable_wchar_encoding_traits< traits >::int_type |
An integral type representing an octet.
|
inlinestatic |
Returns whether the character lhs is to be treated equal to the character rhs.
|
inlinestatic |
Returns whether the integral value lhs is to be treated equal to rhs.
|
inlinestatic |
Returns an integral value represented by no character in the encoding alphabet.
|
inlinestatic |
Returns the character used to perform padding at the end of a character sequence.
|
inlinestatic |
Converts an integral value to a character in the encoding alphabet.
| c | an integral value |
|
inlinestatic |
Converts an integral value to a lowercase character in the encoding alphabet.
| c | an integral value |
|
inlinestatic |
Converts an integral value to an uppercase character in the encoding alphabet.
| c | an integral value |
|
inlinestatic |
Converts a character to an integral value.
| c | a character |
1.8.4