|
Logger System 0.1.3
High-performance C++20 thread-safe logging system with asynchronous capabilities
|
#include <error_codes.h>

Public Member Functions | |
| Result ()=default | |
| Result (T value) | |
| Result (error_info info) | |
| bool | has_value () const |
| bool | has_error () const |
| T & | value () |
| const T & | value () const |
| error_info & | error () |
| const error_info & | error () const |
Private Attributes | |
| std::optional< T > | value_ |
| std::optional< error_info > | error_ |
Definition at line 70 of file error_codes.h.
|
default |
|
inlineexplicit |
Definition at line 74 of file error_codes.h.
|
inlineexplicit |
Definition at line 77 of file error_codes.h.
|
inline |
Definition at line 97 of file error_codes.h.
References kcenon::common::Result< T >::error_.
Referenced by kcenon::common::get_error(), and kcenon::common::get_error().

|
inline |
Definition at line 104 of file error_codes.h.
References kcenon::common::Result< T >::error_.
|
inline |
Definition at line 81 of file error_codes.h.
References kcenon::common::Result< T >::error_.
Referenced by kcenon::common::is_error().

|
inline |
Definition at line 80 of file error_codes.h.
References kcenon::common::Result< T >::value_.
Referenced by kcenon::common::is_ok().

|
inline |
Definition at line 83 of file error_codes.h.
References kcenon::common::Result< T >::value_.
Referenced by kcenon::common::get_value(), and kcenon::common::get_value().

|
inline |
Definition at line 90 of file error_codes.h.
References kcenon::common::Result< T >::value_.
|
private |
Definition at line 113 of file error_codes.h.
Referenced by kcenon::common::Result< T >::error(), kcenon::common::Result< T >::error(), and kcenon::common::Result< T >::has_error().
|
private |
Definition at line 112 of file error_codes.h.
Referenced by kcenon::common::Result< T >::has_value(), kcenon::common::Result< T >::value(), and kcenon::common::Result< T >::value().