Namensräume
Varianten
Aktionen

std::regex_traits

Aus cppreference.com
< cpp‎ | regex

 
 
Reguläre Ausdrücke Bibliothek
Classes
Original:
Classes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_regex(C++11)
sub_match(C++11)
match_results(C++11)
Algorithmen
Original:
Algorithms
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
regex_match(C++11)
regex_search(C++11)
regex_replace(C++11)
Iteratoren
Original:
Iterators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
regex_iterator(C++11)
regex_token_iterator(C++11)
Ausnahmen
Original:
Exceptions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
regex_error(C++11)
Traits
Original:
Traits
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
regex_traits(C++11)
Konstanten
Original:
Constants
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
syntax_option_type(C++11)
match_flag_type(C++11)
error_type(C++11)
 
 
Defined in header <regex>
template< class CharT >
class regex_traits;
(seit C++11)
Die Art Merkmal Vorlage regex_traits liefert std::basic_regex mit dem Satz von Typen und Funktionen notwendig, von der Art CharT betreiben .
Original:
The type trait template regex_traits supplies std::basic_regex with the set of types and functions necessary to operate on the type CharT.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Da viele der regex Operationen locale-empfindlich sind (wenn std::regex_constants::collate Flag gesetzt ist), die regex_traits Klasse hält in der Regel eine Instanz einer std::locale als private Mitglied .
Original:
Since many of regex operations are locale-sensitive (when std::regex_constants::collate flag is set), the regex_traits class typically holds an instance of a std::locale as a private member.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[Bearbeiten] Standard Spezialisierungen

Zwei Spezialisierungen std::regex_traits werden von der Standard-Bibliothek definiert:
Original:
Two specializations of std::regex_traits are defined 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.
std::regex_traits<char>
std::regex_traits<wchar_t>
Diese Spezialisierungen machen es möglich, std::basic_regex<char> (aka std::regex) und std::basic_regex<wchar_t> (aka std::wregex), aber um zu bedienen, beispielsweise std::basic_regex<char32_t> muss vom Benutzer bereitgestellten specializtion std::regex_traits<char32_t> definiert werden .
Original:
These specializations make it possible to use std::basic_regex<char> (aka std::regex) and std::basic_regex<wchar_t> (aka std::wregex), but in order to use, for example, std::basic_regex<char32_t>, user-provided specializtion std::regex_traits<char32_t> needs to be defined.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[Bearbeiten] Mitglied Typen

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
char_type CharT
string_type std::basic_string<CharT>
locale_type
Das Gebietsschema für lokalisierte Verhalten im regulären Ausdruck verwendet. Muss CopyConstructible sein
Original:
The locale used for localized behavior in the regular expression. Must be CopyConstructible
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
char_class_type
Stellt ein Zeichen Klassifizierung und ist fähig, eine Implementierung spezifischen Satz von lookup_classname zurückgegeben. Muss ein BitmaskType sein .
Original:
Represents a character classification and is capable of holding an implementation specific set returned by lookup_classname. Must be a BitmaskType.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[Bearbeiten] Member-Funktionen

baut die regex_traits Objekt
Original:
constructs the regex_traits object
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(öffentliche Elementfunktion)
[statisch]
berechnet die Länge eines Null-terminierte Zeichenkette
Original:
calculates the length of a null-terminated character string
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(public static Elementfunktion)
bestimmt die Gleichwertigkeit Schlüssel für einen Charakter
Original:
determines the equivalence key for a character
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(öffentliche Elementfunktion)
bestimmt die Groß-und Kleinschreibung Gleichwertigkeit Schlüssel für einen Charakter
Original:
determines the case-insensitive equivalence key for a character
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(öffentliche Elementfunktion)
bestimmt die Art Schlüssel für die angegebene Zeichenfolge verwendet, um Sortierreihenfolge bieten
Original:
determines the sort key for the given string, used to provide collation order
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(öffentliche Elementfunktion)
bestimmt die primäre Sortierschlüssel für die Zeichenfolge verwendet, um die Gleichwertigkeit Klasse zu bestimmen
Original:
determines the primary sort key for the character sequence, used to determine equivalence class
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(öffentliche Elementfunktion)
erhält eine Sortierung Element mit Namen
Original:
gets a collation element by name
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(öffentliche Elementfunktion)
bekommt einen Charakter-Klasse mit Namen
Original:
gets a character class by name
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(öffentliche Elementfunktion)
zeigt die Mitgliedschaft in einer lokalisierten Charakter-Klasse
Original:
indicates membership in a localized character class
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(öffentliche Elementfunktion)
übersetzt das Zeichen repräsentiert eine numerische Ziffer in einem ganzzahligen Wert
Original:
translates the character representing a numeric digit into an integral value
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(öffentliche Elementfunktion)
Setzt die Locale
Original:
sets the locale
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(öffentliche Elementfunktion)
bekommt die locale
Original:
gets the locale
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(öffentliche Elementfunktion)