Localization library
Da cppreference.com.
< cpp
![]() | Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate. La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
La struttura locale include il supporto di internazionalizzazione per la classificazione dei caratteri e delle regole di confronto di stringa, numerico, monetaria, e data / ora di formattazione e l'analisi e il recupero dei messaggi. Impostazioni internazionali controllano il comportamento del flusso di I / O, libreria di espressione regolare, e gli altri componenti della libreria C + + standard.
Original:
The locale facility includes internationalization support for character classification and string collation, numeric, monetary, and date/time formatting and parsing, and message retrieval. Locale settings control the behavior of stream I/O, regular expression library, and other components of the C++ standard library.
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.
[modifica]Versioni locali
Definizione nell'header <locale> | |
Original: Locales and facets The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
serie di aspetti polimorfi che incapsulano le differenze culturali Original: set of polymorphic facets that encapsulate cultural differences The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (classe) | |
ottiene un aspetto da un locale Original: obtains a facet from a locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (funzione di modello) | |
Verifica se un locale implementa un determinato aspetto Original: checks if a locale implements a specific facet The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (funzione di modello) | |
Original: Character classification The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
controlla se un personaggio è classificato come spazi da un locale Original: checks if a character is classified as whitespace by a locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (funzione di modello) | |
(C++11) | checks if a character is classified as a blank character by a locale (funzione di modello) |
Verifica se un carattere è classificato come un carattere di controllo da un locale Original: checks if a character is classified as a control character by a locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (funzione di modello) | |
Verifica se un carattere è classificato come lettere maiuscole da un locale Original: checks if a character is classified as uppercase by a locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (funzione di modello) | |
Verifica se un carattere è classificato come minuscola da un locale Original: checks if a character is classified as lowercase by a locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (funzione di modello) | |
Verifica se un carattere è classificato come alfabetico da un locale Original: checks if a character is classified as alphabetic by a locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (funzione di modello) | |
Verifica se un carattere è classificato come una cifra da un locale Original: checks if a character is classified as a digit by a locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (funzione di modello) | |
Verifica se un carattere è classificato come la punteggiatura da un locale Original: checks if a character is classified as punctuation by a locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (funzione di modello) | |
Verifica se un carattere è classificato come una cifra esadecimale da un locale Original: checks if a character is classified as a hexadecimal digit by a locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (funzione di modello) | |
Verifica se un carattere è classificato come alfanumerico da un locale Original: checks if a character is classified as alphanumeric by a locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (funzione di modello) | |
Verifica se un carattere è classificato come stampare da un locale Original: checks if a character is classified as printable by a locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (funzione di modello) | |
Verifica se un personaggio è classfied come grafica da un locale Original: checks if a character is classfied as graphical by a locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (funzione di modello) | |
Original: Character conversions The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
converte un carattere in maiuscolo utilizzando il facet CType di un locale Original: converts a character to uppercase using the ctype facet of a locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (funzione di modello) | |
converts a character to lowercase using the ctype facet of a locale (funzione di modello) | |
Original: String and stream conversions The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
(C++11) | esegue conversioni tra una stringa di larghezza e una stringa di byte Original: performs conversions between a wide string and a byte string The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (classe template) |
(C++11) | esegue la conversione tra un buffer di flusso di byte e un buffer ampio filone Original: performs conversion between a byte stream buffer and a wide stream buffer The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (classe template) |
Original: Facet category base classes The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
definisce le categorie di classificazione dei caratteri Original: defines character classification categories The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (classe) | |
definisce errori di conversione dei caratteri Original: defines character conversion errors The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (classe) | |
definisce il catalogo messaggi tipo Original: defines messages catalog type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (classe) | |
definisce le costanti di formato di data Original: defines date format constants The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (classe) | |
definisce modelli di formattazione monetarie Original: defines monetary formatting patterns The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (classe) | |
Original: Facet categories The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
definisce le tabelle di classificazione dei caratteri Original: defines character classification tables The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (classe template) | |
specializzazione di std::ctype per char tipo Original: specialization of std::ctype for type char The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (classe modello di specializzazione) | |
converte tra codifiche dei caratteri, tra cui UTF-8, UTF-16, UTF-32 Original: converts between character encodings, including UTF-8, UTF-16, UTF-32 The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (classe template) | |
definisce il confronto lessicografico e hashing delle stringhe Original: defines lexicographical comparison and hashing of strings The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (classe template) | |
attua il recupero di stringhe da cataloghi dei messaggi Original: implements retrieval of strings from message catalogs The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (classe template) | |
analizza ora / data valori da una sequenza di input di caratteri in structstd::tm Original: parses time/date values from an input character sequence into structstd::tm The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (classe template) | |
formati contenuto di structstd::tm per l'output come sequenza di caratteri Original: formats contents of structstd::tm for output as character sequence The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (classe template) | |
parses numeric values from an input character sequence (classe template) | |
valori formati numerici per l'uscita come sequenza di caratteri Original: formats numeric values for output as character sequence The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (classe template) | |
definisce le regole di punteggiatura numerici Original: defines numeric punctuation rules The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (classe template) | |
analizza e costruisce un valore monetario da una sequenza di caratteri di input 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. (classe template) | |
formati di un valore monetario per l'uscita come una sequenza di caratteri 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. (classe template) | |
definisce i parametri di formattazione monetari utilizzati da 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. (classe template) | |
Original: Locale-specific facet categories The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
rappresenta il sistema fornita std::ctype per la versione locale di nome Original: represents the system-supplied std::ctype for the named locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (classe template) | |
rappresenta il sistema fornita std::ctype<char> per la versione locale di nome Original: represents the system-supplied std::ctype<char> for the named locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (classe modello di specializzazione) | |
rappresenta il sistema fornita std::codecvt per la versione locale di nome Original: represents the system-supplied std::codecvt for the named locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (classe template) | |
rappresenta il sistema fornita std::messages per la versione locale di nome Original: represents the system-supplied std::messages for the named locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (classe template) | |
rappresenta il sistema fornita std::collate per la versione locale di nome Original: represents the system-supplied std::collate for the named locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (classe template) | |
rappresenta il sistema fornita std::time_get per la versione locale di nome Original: represents the system-supplied std::time_get for the named locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (classe template) | |
rappresenta il sistema fornita std::time_put per la versione locale di nome Original: represents the system-supplied std::time_put for the named locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (classe template) | |
rappresenta il sistema fornita std::numpunct per la versione locale di nome Original: represents the system-supplied std::numpunct for the named locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (classe template) | |
rappresenta il sistema fornita std::moneypunct per la versione locale di nome Original: represents the system-supplied std::moneypunct for the named locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (classe template) |
[modifica]Locale indipendenti sfaccettature di conversione unicode
Definizione nell'header <codecvt> | |
(C++11) | converte tra UTF-8 e UCS2/UCS4 Original: converts between UTF-8 and UCS2/UCS4 The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (classe template) |
(C++11) | converte tra UTF-16 e UCS2/UCS4 Original: converts between UTF-16 and UCS2/UCS4 The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (classe template) |
(C++11) | converts between UTF-8 and UTF-16 (classe template) |
(C++11) | tag per alterare il comportamento delle faccette codecvt standard Original: tags to alter behavior of the standard codecvt facets The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (classe) |
[modifica]C biblioteche locali
Definizione nell'header <clocale> | |
ottiene e imposta la localizzazione corrente C Original: gets and sets 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. (funzione) | |
le categorie di locale per std::setlocale Original: locale categories for std::setlocale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (macro costante) | |
interroga dettagli di formattazione numerici e monetari del locale corrente Original: queries numeric and monetary formatting details of the current locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (funzione) | |
dettagli di formattazione, restituiti da std::localeconv Original: formatting details, returned by std::localeconv The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (classe) |