名前空間
変種
操作

「cpp/string/wide/wctrans」の版間の差分

提供: cppreference.com
< cpp‎ | string‎ | wide
(r2.7.3) (ロボットによる 追加: de, en, es, fr, it, pt, ru, zh)
(Use {{lc}}. Update links. Various fixes.)
9行: 9行:
  
 
===パラメータ===
 
===パラメータ===
{{param list begin}}
+
{{begin}}
{{param list item | str |{{tr| Cの文字列は、目的のマッピングの名前を保持している。
+
{{| str |{{tr| Cの文字列は、目的のマッピングの名前を保持している。
 
{{tt|str}}の次の値は、すべてのCロケールでサポートされています。
 
{{tt|str}}の次の値は、すべてのCロケールでサポートされています。
{{dcl list begin}}
+
{{begin}}
{{dcl list hitem |{{tr| {{tt|str}}の値  | Value of {{tt|str}}  }}| Effect  }}
+
{{hitem |{{tr| {{tt|str}}の値  | Value of {{tt|str}}  }}| Effect  }}
{{dcl list item | {{tt|"toupper"}} |{{tr| {{c|towupper}}によって使用されるマッピングを識別します | identifies the mapping used by {{c|towupper}} }}}}
+
{{| {{tt|"toupper"}} |{{tr| {{c|towupper}}によって使用されるマッピングを識別します | identifies the mapping used by {{c|towupper}} }}}}
{{dcl list item | {{tt|"tolower"}} |{{tr| {{c|towlower}}によって使用されるマッピングを識別します | identifies the mapping used by {{c|towlower}} }}}}
+
{{| {{tt|"tolower"}} |{{tr| {{c|towlower}}によって使用されるマッピングを識別します | identifies the mapping used by {{c|towlower}} }}}}
{{dcl list end}}
+
{{end}}
 
| C string holding the name of the desired mapping.
 
| C string holding the name of the desired mapping.
 
The following values of {{tt|str}} are supported in all C locales:
 
The following values of {{tt|str}} are supported in all C locales:
{{dcl list begin}}
+
{{begin}}
{{dcl list hitem |{{tr| {{tt|str}}の値  | Value of {{tt|str}}  }}| Effect  }}
+
{{hitem |{{tr| {{tt|str}}の値  | Value of {{tt|str}}  }}| Effect  }}
{{dcl list item | {{tt|"toupper"}} |{{tr| {{c|towupper}}によって使用されるマッピングを識別します | identifies the mapping used by {{c|towupper}} }}}}
+
{{| {{tt|"toupper"}} |{{tr| {{c|towupper}}によって使用されるマッピングを識別します | identifies the mapping used by {{c|towupper}} }}}}
{{dcl list item | {{tt|"tolower"}} |{{tr| {{c|towlower}}によって使用されるマッピングを識別します | identifies the mapping used by {{c|towlower}} }}}}
+
{{| {{tt|"tolower"}} |{{tr| {{c|towlower}}によって使用されるマッピングを識別します | identifies the mapping used by {{c|towlower}} }}}}
{{dcl list end}}
+
{{end}}
 
}}}}
 
}}}}
{{dcl list end}}
+
{{end}}
  
 
===値を返します===
 
===値を返します===
{{tr|{{c|std::wctrans_t}}{{c|std::towctrans}}は、現在のCロケールでサポートされているマッピングを指定していない場合は、現在のCロケールまたはゼロの名前マッピングに従ってワイド文字をマップする{{tt|str}}での使用に適したオブジェクト.|{{c|std::wctrans_t}} object suitable for use with {{c|std::towctrans}} to map wide characters according to the named mapping of the current C locale or zero if {{tt|str}} does not name a mapping supported by the current C locale.}}
+
{{tr|{{c|std::wctrans_t}}{{|std::towctrans}}は、現在のCロケールでサポートされているマッピングを指定していない場合は、現在のCロケールまたはゼロの名前マッピングに従ってワイド文字をマップする{{tt|str}}での使用に適したオブジェクト.|{{c|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 {{tt|str}} does not name a mapping supported by the current C locale.}}
  
 
===も参照してください===
 
===も参照してください===
{{dcl list begin}}
+
{{begin}}
{{dcl list template | cpp/string/wide/dcl list towctrans}}
+
{{| cpp/string/wide/towctrans}}
{{dcl list see c | c/string/wide/wctrans}}
+
{{see c | c/string/wide/wctrans}}
{{dcl list end}}
+
{{end}}
  
 
[[de:cpp/string/wide/wctrans]]
 
[[de:cpp/string/wide/wctrans]]

2013年7月2日 (火) 16:03時点における版

ヘッダ <cwctype> で定義
std::wctrans_t wctrans( const char* str );
ワイド文字マッピングのLC_CTYPEカテゴリを記述するタイプstd::wctrans_tの値を構築します。これは、標準的なマッピングのいずれか、またはそのような"tojhira"または"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.

パラメータ

str -
Cの文字列は、目的のマッピングの名前を保持している。

strの次の値は、すべてのCロケールでサポートされています。

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"
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"
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:

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"
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"
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.

値を返します

std::wctrans_tstd::towctransは、現在のCロケールでサポートされているマッピングを指定していない場合は、現在のCロケールまたはゼロの名前マッピングに従ってワイド文字をマップするstrでの使用に適したオブジェクト.
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.

も参照してください

指定された LC_CTYPE マッピングカテゴリに従って文字マッピングを行います
(関数) [edit]