Namensräume
Varianten
Aktionen

std::ctype_byname

Aus cppreference.com
< cpp‎ | locale

 
 
Lokalisierungen Bibliothek
Locales und Facetten
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.
locale
Buchstaben-Klassifikation
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.
Conversions
Original:
Conversions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Facet Kategorie Basisklassen
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.
Facet Kategorien
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.
Locale-spezifische Facetten
Original:
Locale-specific facets
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Code-Konvertierung Facetten
Original:
Code conversion facets
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
codecvt_utf8(C++11)
codecvt_utf16(C++11)
C locale
Original:
C locale
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
Defined in header <locale>
template< class CharT >
class ctype_byname : public std::ctype<CharT>;
std::ctype_byname ist ein std::ctype Facette, die Charakter Klassifizierungsregeln des Gebietsschemas an seiner Erstellung spezifiziert kapselt .
Original:
std::ctype_byname is a std::ctype facet which encapsulates character classification rules of the locale specified at its construction.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Zwei Spezialisierungen werden durch die Standard-Bibliothek zur Verfügung gestellt
Original:
Two specializations are provided by the standard library
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Defined in header <locale>
std::ctype_byname<char>
bietet schmalen Charakter Klassifizierung. Diese Spezialisierung verwendet Lookup-Tabelle für Zeichen Klassifizierung
Original:
provides narrow character classification. This specialization uses table lookup for character classification
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
std::ctype_byname<wchar_t>
bietet Breitzeichen Klassifizierung
Original:
provides wide character classification
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Inhaltsverzeichnis

[Bearbeiten] Mitglied Typen

Mitglied Typ
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
mask ctype<charT>::mask

[Bearbeiten] Member-Funktionen

baut eine neue ctype_byname Facette
Original:
constructs a new ctype_byname facet
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(öffentliche Elementfunktion)
zerstört sich eine ctype_byname Facette
Original:
destructs a ctype_byname facet
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(geschützt Member-Funktion)

Inherited from std::ctype<CharT>

Member types

Mitglied Typ
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
char_type CharT

Member objects

Member name
Original:
Member name
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Type
id (statisch) std::locale::id

Member functions

Beruft do_is
Original:
invokes do_is
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(öffentliche Elementfunktion of std::ctype) [edit]
Beruft do_scan_is
Original:
invokes do_scan_is
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(öffentliche Elementfunktion of std::ctype) [edit]
Beruft do_scan_not
Original:
invokes do_scan_not
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(öffentliche Elementfunktion of std::ctype) [edit]
Beruft do_toupper
Original:
invokes do_toupper
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(öffentliche Elementfunktion of std::ctype) [edit]
Beruft do_tolower
Original:
invokes do_tolower
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(öffentliche Elementfunktion of std::ctype) [edit]
Beruft do_widen
Original:
invokes do_widen
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(öffentliche Elementfunktion of std::ctype) [edit]
Beruft do_narrow
Original:
invokes do_narrow
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(öffentliche Elementfunktion of std::ctype) [edit]

Protected member functions

[virtuell]
stuft ein Zeichen oder eine Zeichenfolge
Original:
classifies a character or 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.

(virtuellen geschützten Member-Funktion of std::ctype) [edit]
[virtuell]
ortet das erste Zeichen in einer Sequenz, die zu bestimmten Klassifizierung entspricht
Original:
locates the first character in a sequence that conforms to given classification
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(virtuellen geschützten Member-Funktion of std::ctype) [edit]
[virtuell]
findet das erste Zeichen in einer Sequenz, die givne Klassifizierung ausfällt
Original:
locates the first character in a sequence that fails givne classification
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(virtuellen geschützten Member-Funktion of std::ctype) [edit]
[virtuell]
wandelt ein oder mehrere Zeichen in Großbuchstaben
Original:
converts a character or characters to uppercase
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(virtuellen geschützten Member-Funktion of std::ctype) [edit]
[virtuell]
wandelt ein oder mehrere Zeichen in Kleinbuchstaben
Original:
converts a character or characters to lowercase
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(virtuellen geschützten Member-Funktion of std::ctype) [edit]
[virtuell]
wandelt ein Zeichen oder Zeichen aus char um charT
Original:
converts a character or characters from char to charT
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(virtuellen geschützten Member-Funktion of std::ctype) [edit]
[virtuell]
wandelt ein Zeichen oder Zeichen aus charT um char
Original:
converts a character or characters from charT to char
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(virtuellen geschützten Member-Funktion of std::ctype) [edit]

Inherited from std::ctype_base

Member types

Type
Original:
Type
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Definition
mask
unbestimmte Bitmaske Typ (Aufzählung, Integer-Typ oder bitset)
Original:
unspecified bitmask type (enumeration, integer type, or bitset)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Member constants

space
[statisch]
der Wert mask Identifizieren Leerzeichen Klassifizierung
Original:
the value of mask identifying whitespace character classification
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(public static Mitglied konstanten)
print
[statisch]
der Wert mask identifizieren druckbare Zeichen Klassifizierung
Original:
the value of mask identifying printable character classification
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(public static Mitglied konstanten)
cntrl
[statisch]
der Wert mask identifizieren Steuerzeichen Klassifizierung
Original:
the value of mask identifying control character classification
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(public static Mitglied konstanten)
upper
[statisch]
der Wert mask identifizieren Großbuchstaben Klassifizierung
Original:
the value of mask identifying uppercase character classification
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(public static Mitglied konstanten)
lower
[statisch]
der Wert mask identifizieren Kleinbuchstaben Klassifizierung
Original:
the value of mask identifying lowercase character classification
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(public static Mitglied konstanten)
alpha
[statisch]
der Wert mask identifizieren Buchstaben Klassifizierung
Original:
the value of mask identifying alphabetic character classification
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(public static Mitglied konstanten)
digit
[statisch]
der Wert mask identifizieren Ziffernzeichen Klassifizierung
Original:
the value of mask identifying digit character classification
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(public static Mitglied konstanten)
punct
[statisch]
der Wert mask identifizieren Satzzeichen Klassifizierung
Original:
the value of mask identifying punctuation character classification
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(public static Mitglied konstanten)
xdigit
[statisch]
der Wert mask identifizieren Hexadezimalziffer Charakter Klassifizierung
Original:
the value of mask identifying hexadecimal digit character classification
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(public static Mitglied konstanten)
blank
[statisch] (C++11)
der Wert mask identifizieren Leerzeichen Klassifizierung
Original:
the value of mask identifying blank character classification
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(public static Mitglied konstanten)
alnum
[statisch]
alpha | digit
(public static Mitglied konstanten)
graph
[statisch]
alnum | punct
(public static Mitglied konstanten)

[Bearbeiten] Beispiel

#include <iostream>
#include <locale>
 
int main()
{
    wchar_t c = L'\u00de'; // capital letter thorn
 
    std::locale loc("C");
 
    std::cout << "isupper('Þ', C locale) returned "
               << std::boolalpha << std::isupper(c, loc) << '\n';
 
    loc = std::locale(loc, new std::ctype_byname<wchar_t>("en_US.utf8"));
 
    std::cout << "isupper('Þ', C locale with Unicode ctype) returned "
              << std::boolalpha << std::isupper(c, loc) << '\n';
}

Output:

isupper('Þ', C locale) returned false
isupper('Þ', C locale with Unicode ctype) returned true

[Bearbeiten] Siehe auch

definiert Charakter Klassifizierung Tabellen
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.

(Klassen-Template) [edit]
Spezialisierung std::ctype für Typ char
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.

(class Template-Spezialisierung) [edit]