Realistic 3D camera system
3D camera system components
|
Class to represent an error code value. More...
#include <error_code.hpp>
Classes | |
struct | unspecified_bool_type_t |
Public Types | |
typedef void(* | unspecified_bool_type) (unspecified_bool_type_t) |
Public Member Functions | |
error_code () | |
Default constructor. More... | |
error_code (int v, const error_category &c) | |
Construct with specific error code and category. More... | |
template<typename ErrorEnum > | |
error_code (ErrorEnum e) | |
Construct from an error code enum. More... | |
int | value () const |
Get the error value. More... | |
const error_category & | category () const |
Get the error category. More... | |
std::string | message () const |
Get the message associated with the error. More... | |
operator unspecified_bool_type () const | |
Operator returns non-null if there is a non-success error code. More... | |
bool | operator! () const |
Operator to test if the error represents success. More... | |
Static Public Member Functions | |
static void | unspecified_bool_true (unspecified_bool_type_t) |
Friends | |
bool | operator== (const error_code &e1, const error_code &e2) |
Equality operator to compare two error objects. More... | |
bool | operator!= (const error_code &e1, const error_code &e2) |
Inequality operator to compare two error objects. More... | |
Class to represent an error code value.
Definition at line 80 of file error_code.hpp.
typedef void(* asio::error_code::unspecified_bool_type) (unspecified_bool_type_t) |
Definition at line 126 of file error_code.hpp.
|
inline |
Default constructor.
Definition at line 84 of file error_code.hpp.
|
inline |
Construct with specific error code and category.
Definition at line 91 of file error_code.hpp.
|
inline |
Construct from an error code enum.
Definition at line 99 of file error_code.hpp.
|
inline |
Get the error category.
Definition at line 111 of file error_code.hpp.
|
inline |
Get the message associated with the error.
Definition at line 117 of file error_code.hpp.
|
inline |
Operator returns non-null if there is a non-success error code.
Definition at line 131 of file error_code.hpp.
|
inline |
Operator to test if the error represents success.
Definition at line 140 of file error_code.hpp.
|
inlinestatic |
Definition at line 128 of file error_code.hpp.
|
inline |
Get the error value.
Definition at line 105 of file error_code.hpp.
|
friend |
Inequality operator to compare two error objects.
Definition at line 152 of file error_code.hpp.
|
friend |
Equality operator to compare two error objects.
Definition at line 146 of file error_code.hpp.