xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.core
include
xtd
target_id.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include "
enum.hpp
"
6
#include "
target_id_definitions.hpp
"
7
9
namespace
xtd
{
17
enum class
target_id
{
19
unknown
= __XTD_TARGET_ID_UNKNOWN__,
21
console_application
= __XTD_TARGET_ID_CONSOLE_APPLICATION__,
23
gui_application
= __XTD_TARGET_ID_GUI_APPLICATION__,
25
test_application
= __XTD_TARGET_ID_TEST_APPLICATION__,
27
interface_library
= __XTD_TARGET_ID_INTERFACE_LIBRARY__,
29
module_library
= __XTD_TARGET_ID_MODULE_LIBRARY__,
31
shared_library
= __XTD_TARGET_ID_SHARED_LIBRARY__,
33
static_library
= __XTD_TARGET_ID_STATIC_LIBRARY__,
35
custom_target
= __XTD_TARGET_ID_CUSTOM_TARGET__,
36
};
37
}
38
40
template
<>
struct
xtd::enum_register
<
xtd
::
target_id
> {
41
static
auto
values
()
noexcept
{
return
xtd::enum_collection<xtd::target_id>
{{
xtd::target_id::unknown
,
"unknown"
}, {
xtd::target_id::console_application
,
"console_application"
}, {
xtd::target_id::gui_application
,
"gui_application"
}, {
xtd::target_id::test_application
,
"test_application"
}, {
xtd::target_id::interface_library
,
"interface_library"
}, {
xtd::target_id::module_library
,
"module_library"
}, {
xtd::target_id::shared_library
,
"shared_library"
}, {
xtd::target_id::static_library
,
"static_library"
}, {
xtd::target_id::custom_target
,
"custom_target"
}};}
42
};
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::target_id
target_id
Identifies the target, supported by an assembly.
Definition
target_id.hpp:17
xtd::target_id::static_library
@ static_library
The target is static library.
Definition
target_id.hpp:33
xtd::target_id::custom_target
@ custom_target
The target is custom target.
Definition
target_id.hpp:35
xtd::target_id::test_application
@ test_application
The target is test application.
Definition
target_id.hpp:25
xtd::target_id::module_library
@ module_library
The target is module library.
Definition
target_id.hpp:29
xtd::target_id::shared_library
@ shared_library
The target is shared library.
Definition
target_id.hpp:31
xtd::target_id::gui_application
@ gui_application
The target is gui application.
Definition
target_id.hpp:23
xtd::target_id::unknown
@ unknown
The target is unknown.
Definition
target_id.hpp:19
xtd::target_id::interface_library
@ interface_library
The target is interface library.
Definition
target_id.hpp:27
xtd::target_id::console_application
@ console_application
The target is console application.
Definition
target_id.hpp:21
xtd::architecture_id::unknown
@ unknown
The processor architecture is unknown.
Definition
architecture_id.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
target_id_definitions.hpp
Contains target id definitions.
Generated on
for xtd by
Gammasoft
. All rights reserved.