stlencoders  1.1.3
Public Types | Static Public Member Functions | List of all members
stlencoders::upper_char_encoding_traits< traits > Struct Template Reference

A character encoding traits adaptor that uses the uppercase alphabet of an underlying encoding traits class. More...

Inheritance diagram for stlencoders::upper_char_encoding_traits< traits >:

Public Types

typedef traits::char_type 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 char_type to_char_type (const int_type &c)
 Converts an integral value to an uppercase character in the encoding alphabet. More...
 

Detailed Description

template<class traits>
struct stlencoders::upper_char_encoding_traits< traits >

A character encoding traits adaptor that uses the uppercase alphabet of an underlying encoding traits class.

Template Parameters
traitsthe character encoding traits class from which this class is derived

Member Typedef Documentation

template<class traits >
typedef traits::char_type stlencoders::upper_char_encoding_traits< traits >::char_type

The encoding character type.

template<class traits >
typedef traits::int_type stlencoders::upper_char_encoding_traits< traits >::int_type

An integral type representing an octet.

Member Function Documentation

template<class traits >
static char_type stlencoders::upper_char_encoding_traits< traits >::to_char_type ( const int_type c)
inlinestatic

Converts an integral value to an uppercase character in the encoding alphabet.

Parameters
can integral value
Returns
the uppercase character representing c