std::error_category
Da 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. |
Definido no cabeçalho <system_error> | ||
class error_category; | (desde C++11) | |
std::error_category
serve como a classe base para os tipos de erro específicas da categoria, como std::system_category, std::iostream_category, etc Cada classe categoria específica define o error_code
- mapeamento error_condition
e prende as cordas explicativos para todos error_conditions. Os objetos de classes da categoria de erro são tratados como únicos, passado por referência.Original:
std::error_category
serves as the base class for specific error category types, such as std::system_category, std::iostream_category, etc. Each specific category class defines the error_code
- error_condition
mapping and holds the explanatory strings for all error_conditions. The objects of error category classes are treated as singletons, passed by reference.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.
[editar]Funções de membro
constrói uma error_category Original: constructs an error_category The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função pública membro) | |
[virtual] | destrói um error_category Original: destructs an error_category The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função pública virtual membro) |
operator= [excluída] | Não copie atribuível Original: not copy assignable The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função pública membro) |
[virtual] | obtém o nome da categoria Original: obtains the name of the category The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função pública virtual membro) |
[virtual] | maps error_code to error_condition (função pública virtual membro) |
[virtual] | compara error_code e error_condition para equivalênciaOriginal: compares error_code and error_condition for equivalenceThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função pública virtual membro) |
[virtual] | obtém a seqüência explicativa Original: obtains the explanatory string The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função pública virtual membro) |
compara duas categorias de erros Original: compares two error categories The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) |
[editar]Categorias de erro específicas
(C++11) | identifica a categoria de erro genérico Original: identifies the generic error category The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) |
(C++11) | identifica a categoria de erro do sistema operacional Original: identifies the operating system error category The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) |
(C++11) | identifica a categoria de erro iostream Original: identifies the iostream error category The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) |
(C++11) | identifica a categoria de erro futuro Original: identifies the future error category The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) |
(C++11) | possui um código de erro portátil Original: holds a portable error code The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (classe) |
(C++11) | possui um código de erro depende da plataforma Original: holds a platform-dependent error code The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (classe) |