次の方法で共有


codecvt Members

The following tables list the members of the codecvt Class. For a list of members inherited by the codecvt class, see codecvt_base Class.

Reference

Constructors

codecvt

The constructor for objects of class codecvt that serves as a locale facet to handle conversions.

Typedefs

extern_type

A character type that is used for external representations.

intern_type

A character type that is used for internal representations.

state_type

A character type that is used to represent intermediate states during conversions between internal and external representations.

Member Functions

always_noconv

Tests whether no conversions need be done.

do_always_noconv

A virtual function called to test whether no conversions need be done.

do_encoding

A virtual function that tests if the encoding of the Byte stream is state dependent, whether the ratio between the Bytes used and the CharTypes produced is constant, and, if so, determines the value of that ratio.

do_in

A virtual function called to convert a sequence of internal Bytes to a sequence of external CharTypes.

do_length

A virtual function that determines how many Bytes from a given sequence of external Bytes produce not more than a given number of internal CharTypes and returns that number of Bytes.

do_max_length

A virtual function that returns the maximum number of external Bytes necessary to produce one internal CharType.

do_out

A virtual function called to convert a sequence of internal CharTypes to a sequence of external Bytes.

do_unshift

A virtual function called to provide the Bytes needed in a state-dependent conversion to complete the last character in a sequence of Bytes.

encoding

Tests if the encoding of the Byte stream is state dependent, whether the ratio between the Bytes used and the CharTypes produced is constant, and, if so, determines the value of that ratio.

in

Converts an external representation of a sequence of Bytes to an internal representation of a sequence of CharTypes.

length

Determines how many Bytes from a given sequence of external Bytes produce not more than a given number of internal CharTypes and returns that number of Bytes.

max_length

Returns the maximum number of external Bytes necessary to produce one internal CharType.

out

Converts a sequence of internal CharTypes to a sequence of external Bytes.

unshift

Provides the external Bytes needed in a state-dependent conversion to complete the last character in the sequence of Bytes.

See Also

Concepts

codecvt Class

codecvt_base Class

Thread Safety in the Standard C++ Library