xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.core
include
xtd
build_type.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include "
enum.hpp
"
6
8
namespace
xtd
{
20
enum class
build_type
{
22
debug
= 0,
24
release
,
25
};
26
}
27
29
template
<>
struct
xtd::enum_register
<
xtd
::
build_type
> {
30
static
auto
values
()
noexcept
{
return
xtd::enum_collection<xtd::build_type>
{{
xtd::build_type::debug
,
"debug"
}, {
xtd::build_type::release
,
"release"
}};}
31
};
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::build_type
build_type
Identifies the build type.
Definition
build_type.hpp:20
xtd::build_type::release
@ release
Build type release.
Definition
build_type.hpp:24
xtd::build_type::debug
@ debug
Build type debug.
Definition
build_type.hpp:22
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.