std::money_base
De cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
<metanoindex/>
<tbody> </tbody>| Definido no cabeçalho <locale>
|
||
class money_base; |
||
O std::money_base classe fornece constantes que são herdados e utilizados pelos std::moneypunct, std::money_get e std::money_put facetas.
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.
Tipos de membro
Tipo de membro
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 };
|
tipo de enumeração sem escopo
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]; };
|
o tipo de formato monetário
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. |
Enumeração constante
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
|
espaço em branco é permitido, mas não obrigatório, exceto na última posição, onde os espaços em branco não é permitido
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
|
um ou mais caracteres de espaço são necessários
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
|
a seqüência de caracteres retornados pela moneypunct :: curr_symbol é necessária
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
|
o primeiro dos caracteres retornados por moneypunct :: positive_sign ou moneypunct :: negative_sign é necessária
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
|
o valor numérico absoluto monetária é necessária
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. |
Notas
O formato monetário é um conjunto de quatro
chars conversíveis em std::money_base::part. Em que a sequência, cada um dos symbol, sign e value aparece apenas uma vez, e um ou outro ou space none aparece na posição remanescente. O formato padrão, retornado por especializações padrão de 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.
}
Veja também
define parâmetros de formatação monetários utilizados por std::money_get e 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. (modelo de classe) | |
analisa e constrói um valor monetário a partir de uma seqüência de caracteres de entrada 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. (modelo de classe) | |
formatos de valor monetário para a saída como uma seqüência de caracteres 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. (modelo de classe) | |