xtd 0.2.0
day.h
Go to the documentation of this file.
1 #pragma once
5 #include <xtd/enum>
6 
8 namespace xtd {
10  namespace forms {
19  enum class day {
21  monday,
23  tuesday,
25  wednesday,
27  thursday,
29  friday,
31  saturday,
33  sunday,
36  };
37  }
38 }
39 
41 template<> struct xtd::enum_register<xtd::forms::day> {
42  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"}};}
43 };
The day friday.
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
The day wednesday.
The day sunday.
std::vector< std::pair< enum_t, xtd::ustring > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition: enum_collection.h:19
The day monday.
day
Specifies the day of the week.
Definition: day.h:19
The day saturday.
The day thursday.
A default day of the week specified by the application.
The day tuesday.
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition: about_box.h:13
Provides the registration struct for enumerations.
Definition: enum_register.h:36