xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.core
include
xtd
month_of_year.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include "
enum.hpp
"
6
8
namespace
xtd
{
21
enum class
month_of_year
{
23
january
= 1,
25
february
,
27
march
,
29
april
,
31
may
,
33
june
,
35
july
,
37
august
,
39
september
,
41
october
,
43
november
,
45
december
46
};
47
}
48
50
template
<>
struct
xtd::enum_register
<
xtd
::
month_of_year
> {
51
static
auto
values
()
noexcept
{
return
xtd::enum_collection<xtd::month_of_year>
{{
xtd::month_of_year::january
,
"january"
}, {
xtd::month_of_year::february
,
"february"
}, {
xtd::month_of_year::march
,
"march"
}, {
xtd::month_of_year::april
,
"april"
}, {
xtd::month_of_year::may
,
"may"
}, {
xtd::month_of_year::june
,
"june"
}, {
xtd::month_of_year::july
,
"july"
}, {
xtd::month_of_year::august
,
"august"
}, {
xtd::month_of_year::september
,
"september"
}, {
xtd::month_of_year::october
,
"october"
}, {
xtd::month_of_year::november
,
"november"
}, {
xtd::month_of_year::december
,
"december"
}};}
52
};
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::month_of_year
month_of_year
Specifies the month of the year.
Definition
month_of_year.hpp:21
xtd::month_of_year::september
@ september
Indicates september.
Definition
month_of_year.hpp:39
xtd::month_of_year::june
@ june
Indicates june.
Definition
month_of_year.hpp:33
xtd::month_of_year::july
@ july
Indicates july.
Definition
month_of_year.hpp:35
xtd::month_of_year::april
@ april
Indicates april.
Definition
month_of_year.hpp:29
xtd::month_of_year::march
@ march
Indicates march.
Definition
month_of_year.hpp:27
xtd::month_of_year::january
@ january
Indicates january.
Definition
month_of_year.hpp:23
xtd::month_of_year::november
@ november
Indicates november.
Definition
month_of_year.hpp:43
xtd::month_of_year::august
@ august
Indicates august.
Definition
month_of_year.hpp:37
xtd::month_of_year::february
@ february
Indicates february.
Definition
month_of_year.hpp:25
xtd::month_of_year::may
@ may
Indicates may.
Definition
month_of_year.hpp:31
xtd::month_of_year::october
@ october
Indicates october.
Definition
month_of_year.hpp:41
xtd::month_of_year::december
@ december
Indicates december.
Definition
month_of_year.hpp:45
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.