xtd 0.2.0
Loading...
Searching...
No Matches
day.h
Go to the documentation of this file.
1
4#pragma once
5#include <xtd/enum>
6
8namespace xtd {
10 namespace forms {
21 enum class day {
23 monday,
25 tuesday,
31 friday,
35 sunday,
38 };
39 }
40}
41
43template<> struct xtd::enum_register<xtd::forms::day> {
44 explicit operator auto() const noexcept {return xtd::enum_collection<xtd::forms::day> {{xtd::forms::day::monday, "monday"}, {xtd::forms::day::tuesday, "tuesday"}, {xtd::forms::day::wednesday, "wednesday"}, {xtd::forms::day::thursday, "thursday"}, {xtd::forms::day::friday, "friday"}, {xtd::forms::day::saturday, "saturday"}, {xtd::forms::day::sunday, "sunday"}, {xtd::forms::day::default_day, "default_day"}};}
45};
std::vector< xtd::collections::generic::key_value_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.h:22
day
Specifies the day of the week.
Definition day.h:21
@ tuesday
The day tuesday.
@ saturday
The day saturday.
@ sunday
The day sunday.
@ monday
The day monday.
@ wednesday
The day wednesday.
@ default_day
A default day of the week specified by the application.
@ thursday
The day thursday.
@ friday
The day friday.
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition xtd_about_box.h:12
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10
Provides the registration struct for enumerations.
Definition enum_register.h:38