xtd - Reference Guide  0.2.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
assert_dialog_result.h
Go to the documentation of this file.
1 #pragma once
5 #include "../ustring.h"
6 
8 namespace xtd {
10  namespace diagnostics {
21  enum class assert_dialog_result {
23  abort = 3,
25  retry = 4,
27  ignore = 5,
28  };
29 
31  inline std::ostream& operator<<(std::ostream& os, assert_dialog_result value) {return os << to_string(value, {{assert_dialog_result::abort, "abort"}, {assert_dialog_result::retry, "retry"}, {assert_dialog_result::ignore, "ignore"}});}
32  inline std::wostream& operator<<(std::wostream& os, assert_dialog_result value) {return os << to_string(value, {{assert_dialog_result::abort, L"abort"}, {assert_dialog_result::retry, L"retry"}, {assert_dialog_result::ignore, L"ignore"}});}
34  }
35 }
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
std::string to_string(const date_time &value, const std::string &fmt, const std::locale &loc)
Convert a specified value into a string with specified format and locale.
Definition: date_time.h:1110
The assert dialog return value is Abort (usually sent from a button labeled Abort).
assert_dialog_result
Specifies identifiers to indicate the return value of an assert dialog box.
Definition: assert_dialog_result.h:21
The assert dialog return value is Retry (usually sent from a button labeled Retry).
The assert dialog return value is Ignore (usually sent from a button labeled Ignore).