xtd - Reference Guide
0.1.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
Toggle main menu visibility
Home
Categories
Documentation
Namespaces
Classes
Class List
Class Index
Class Hierarchy
Files
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Modules
Pages
Loading...
Searching...
No Matches
xtd.forms
include
xtd
forms
boot_mode.h
Go to the documentation of this file.
1
4
#pragma once
5
#include <
xtd/ustring.h
>
6
8
namespace
xtd
{
10
namespace
forms
{
20
enum class
boot_mode
{
22
normal
= 0,
24
fail_safe
= 1,
26
fail_safe_with_network
= 2,
27
};
28
30
inline
std::ostream& operator<<(std::ostream& os,
boot_mode
value) {
return
os <<
to_string
(value, {{
boot_mode::normal
,
"normal"
}, {
boot_mode::fail_safe
,
"fail_safe"
}, {
boot_mode::fail_safe_with_network
,
"fail_safe_with_network"
}});}
31
inline
std::wostream& operator<<(std::wostream& os,
boot_mode
value) {
return
os <<
to_string
(value, {{
boot_mode::normal
, L
"normal"
}, {
boot_mode::fail_safe
, L
"fail_safe"
}, {
boot_mode::fail_safe_with_network
, L
"fail_safe_with_network"
}});}
33
}
34
}
xtd::to_string
std::string to_string(const value_t &value, const std::string &fmt, const std::locale &loc)
Convert a specified value into a string with specified format and locale.
Definition:
to_string.h:37
xtd::forms::boot_mode
boot_mode
Specifies the mode to start the computer in.
Definition:
boot_mode.h:20
xtd::forms::boot_mode::fail_safe
@ fail_safe
Starts the computer by using only the basic files and drivers.
xtd::forms::boot_mode::fail_safe_with_network
@ fail_safe_with_network
Starts the computer by using the basic files, drivers and the services and drivers necessary to start...
xtd::forms::boot_mode::normal
@ normal
Starts the computer in standard mode.
xtd::forms::appearance::normal
@ normal
The default appearance defined by the control class.
xtd::forms
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition:
about_box.h:13
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition:
system_report.h:17
ustring.h
Contains xtd::ustring class.
Generated on Sat Jan 28 2023 18:12:25 for xtd - Reference Guide by
Gammasoft
. All rights reserved.