Espaços nominais
Variantes
Acções

std::wctrans

Da cppreference.com
< cpp‎ | string‎ | wide

 
 
Biblioteca cordas
Strings terminadas
Original:
Null-terminated strings
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Cadeias de bytes
Multibyte cordas
Cordas de largura
Classes
Original:
Classes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_string
char_traits
 
Strings terminadas largura
Funções
Original:
Functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Manipulação personagem
Original:
Character manipulation
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Conversões para formatos numéricos
Original:
Conversions to numeric formats
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Manipulação de cadeia
Original:
String manipulation
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Manipulação matriz
Original:
Array manipulation
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
wmemcpy
wmemmove
wmemcmp
wmemchr
wmemset
 
Defined in header <cwctype>
std::wctrans_t wctrans( const char* str );
Constrói um valor de std::wctrans_t tipo que descreve uma categoria LC_CTYPE de mapeamento de caracteres de largura. Pode ser um dos mapeamentos padrão ou um mapeamento específica para cada caso, tal como "tojhira" ou "tojkana".
Original:
Constructs a value of type std::wctrans_t that describes a LC_CTYPE category of wide character mapping. It may be one of the standard mappings, or a locale-specific mapping, such as "tojhira" or "tojkana".
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Parâmetros

str -
C string com o nome do mapeamento desejado.

Os seguintes valores de str são suportados em todos os locais C:

Valor de str
Original:
Value of str
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Effect
"toupper"
identifica o mapeamento utilizada por towupper
Original:
identifies the mapping used by towupper
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
"tolower"
identifica o mapeamento utilizada por towlower
Original:
identifies the mapping used by towlower
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Original:
C string holding the name of the desired mapping.

The following values of str are supported in all C locales:

Valor de str
Original:
Value of str
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Effect
"toupper"
identifica o mapeamento utilizada por towupper
Original:
identifies the mapping used by towupper
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
"tolower"
identifica o mapeamento utilizada por towlower
Original:
identifies the mapping used by towlower
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Valor de retorno

std::wctrans_t objecto adequado para uso com std::towctrans para mapear caracteres de largura de acordo com o mapeamento de nome da localidade actual C ou zero se str não indicar um mapeamento suportado pela localidade actual C.
Original:
std::wctrans_t object suitable for use with std::towctrans to map wide characters according to the named mapping of the current C locale or zero if str does not name a mapping supported by the current C locale.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Veja também

realiza o mapeamento de caracteres de acordo com a categoria especificada LC_CTYPE mapeamento
Original:
performs character mapping according to the specified LC_CTYPE mapping category
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
C documentation for wctrans