thrust
Public Member Functions | List of all members
thrust::system::error_category Class Referenceabstract

The class error_category serves as a base class for types used to identify the source and encoding of a particular category of error code. Classes may be derived from error_category to support categories of errors in addition to those defined in the C++ International Standard. More...

#include <thrust/system/error_code.h>

Public Member Functions

virtual ~error_category (void)
 
virtual const char * name (void) const =0
 
virtual error_condition default_error_condition (int ev) const
 
virtual bool equivalent (int code, const error_condition &condition) const
 
virtual bool equivalent (const error_code &code, int condition) const
 
virtual std::string message (int ev) const =0
 
bool operator== (const error_category &rhs) const
 
bool operator!= (const error_category &rhs) const
 
bool operator< (const error_category &rhs) const
 

Detailed Description

The class error_category serves as a base class for types used to identify the source and encoding of a particular category of error code. Classes may be derived from error_category to support categories of errors in addition to those defined in the C++ International Standard.


The documentation for this class was generated from the following file: