std::money_base
提供: cppreference.com
|
|
このページは、Google 翻訳を使って英語版から機械翻訳されました。
翻訳には誤りや奇妙な言い回しがあるかもしれません。文章の上にポインタをおくと、元の文章が見れます。誤りを修正して翻訳を改善する手助けをしてください。翻訳についての説明は、ここをクリックしてください。 |
| Defined in header <locale>
|
||
| class money_base; |
||
クラスstd::money_baseはstd::moneypunct、std::money_getとstd::money_putファセットによって継承され、使用されている定数を提供しています.
Original:
The class std::money_base provides constants which are inherited and used by the std::moneypunct, std::money_get and std::money_put facets.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[編集] メンバータイプ
| メンバー·タイプ
Original: Member type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Definition |
| enum part { none, space, symbol, sign, value }; | 対象範囲外の列挙型
Original: unscoped enumeration type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| struct pattern { char field[4]; }; | 金銭的な形式のタイプです
Original: the monetary format type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| 列挙定数
Original: Enumeration constant The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Definition |
none
|
空白は空白は許可されていない最後の位置を除いて許可されますが、必須ではありません
Original: whitespace is permitted but not required except in the last position, where whitespace is not permitted The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
space
|
1つ以上の空白文字が必要です
Original: one or more whitespace characters are required The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
symbol
|
moneypunct :: curr_symbolによって返された文字のシーケンスが必要です
Original: the sequence of characters returned by moneypunct::curr_symbol is required The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
sign
|
moneypunct :: positive_signまたはmoneypunctによって返された文字の最初のものは:: negative_signが必要です
Original: the first of the characters returned by moneypunct::positive_sign or moneypunct::negative_sign is required The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
value
|
絶対数値貨幣価値が必要です
Original: the absolute numeric monetary value is required The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[編集] ノート
金銭的なフォーマットはcharに転換4std::money_base::partsの配列です。そのシーケンスでは、
}
symbolの各々は、sign、そしてvalueが正確に1回だけ表示され、どちらspaceまたはnone残りの位置に表示されます。 std::moneypunctの標準的な特殊化によって返されるデフォルトの形式は、}{symbol, sign, none, valueですOriginal:
The monetary format is an array of four chars convertible to std::money_base::part. In that sequence, each of
symbol, sign, and value appears exactly once, and either space or none appears in the remaining position. The default format, returned by the standard specializations of std::moneypunct is {symbol, sign, none, valueThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[編集] 参照
| std::money_getとstd::money_putによって使用される通貨形式のパラメータを定義します Original: defines monetary formatting parameters used by std::money_get and std::money_put The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (クラステンプレート) | |
| 入力文字シーケンスからの金銭的価値を解析し、構築します Original: parses and constructs a monetary value from an input character sequence The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (クラステンプレート) | |
| フォーマット文字シーケンスとして出力するための金銭的価値 Original: formats a monetary value for output as a character sequence The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (クラステンプレート) | |