std::error_category
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. |
| Definido en la cabecera <system_error>
|
||
| class error_category; |
(desde C++11) | |
std::error_category sirve como clase base para determinados tipos de error de categoría, como std::system_category, std::iostream_category, etc Cada clase define la categoría específica error_code - mapas error_condition y tiene las cadenas explicativas para todos error_conditions. Los objetos de clases categoría de error son tratados como simple se pasa por referencia .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] Las funciones miembro
| construye un error_categoryOriginal: constructs an error_categoryThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (función miembro público) | |
| [virtual] |
destructs un error_categoryOriginal: destructs an error_categoryThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (función miembro público virtual) |
| operator= [eliminada] |
No copie asignable 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. (función miembro público) |
| [virtual] |
obtiene el nombre de la categoría 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. (función miembro público virtual) |
| [virtual] |
maps error_code to error_condition (función miembro público virtual) |
| [virtual] |
compara error_code y error_condition de equivalenciaOriginal: 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. (función miembro público virtual) |
| [virtual] |
obtiene la cadena de motivos 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. (función miembro público virtual) |
| compara dos categorías de errores 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. (función) |
[editar] Categorías especiales de error
| (C++11) |
identifica la categoría de error 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. (función) |
| (C++11) |
identifica la categoría de error del sistema operativo 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. (función) |
| (C++11) |
identifica la categoría de error 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. (función) |
| (C++11) |
identifica la categoría de error en el 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. (función) |
[editar] Ver también
| (C++11) |
tiene un código de error 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. (clase) |
| (C++11) |
tiene un código de error dependiente de la 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. (clase) |

