xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.core
include
xtd
day_of_week.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include "
enum.hpp
"
6
8
namespace
xtd
{
25
enum class
day_of_week
{
27
sunday
,
29
monday
,
31
tuesday
,
33
wednesday
,
35
thursday
,
37
friday
,
39
saturday
40
};
41
}
42
44
template
<>
struct
xtd::enum_register
<
xtd
::
day_of_week
> {
45
static
auto
values
()
noexcept
{
return
xtd::enum_collection<xtd::day_of_week>
{{
xtd::day_of_week::sunday
,
"sunday"
}, {
xtd::day_of_week::monday
,
"monday"
}, {
xtd::day_of_week::tuesday
,
"tuesday"
}, {
xtd::day_of_week::wednesday
,
"wednesday"
}, {
xtd::day_of_week::thursday
,
"thursday"
}, {
xtd::day_of_week::friday
,
"friday"
}, {
xtd::day_of_week::saturday
,
"saturday"
}};}
46
};
enum.hpp
Contains enum_ and enum_ut_ keywords.
xtd::enum_collection
std::vector< std::pair< enum_t, xtd::string > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition
enum_collection.hpp:24
xtd::day_of_week
day_of_week
Specifies the day of the week.
Definition
day_of_week.hpp:25
xtd::day_of_week::tuesday
@ tuesday
Indicates tuesday.
Definition
day_of_week.hpp:31
xtd::day_of_week::saturday
@ saturday
Indicates saturday.
Definition
day_of_week.hpp:39
xtd::day_of_week::sunday
@ sunday
Indicates sunday.
Definition
day_of_week.hpp:27
xtd::day_of_week::monday
@ monday
Indicates monday.
Definition
day_of_week.hpp:29
xtd::day_of_week::wednesday
@ wednesday
Indicates wednesday.
Definition
day_of_week.hpp:33
xtd::day_of_week::thursday
@ thursday
Indicates thursday.
Definition
day_of_week.hpp:35
xtd::day_of_week::friday
@ friday
Indicates friday.
Definition
day_of_week.hpp:37
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
xtd::enum_register
Provides the registration struct for enumerations.
Definition
enum_register.hpp:38
xtd::enum_register::values
static auto values() noexcept
Definition
enum_register.hpp:55
Generated on
for xtd by
Gammasoft
. All rights reserved.