xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.core
include
xtd
environment_variable_target.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include "
enum.hpp
"
6
8
namespace
xtd
{
15
enum class
environment_variable_target
{
17
process
= 0,
19
user
= 1,
21
machine
= 2,
22
};
23
}
24
26
template
<>
struct
xtd::enum_register
<
xtd
::
environment_variable_target
> {
27
static
auto
values
()
noexcept
{
return
xtd::enum_collection<xtd::environment_variable_target>
{{
xtd::environment_variable_target::process
,
"process"
}, {
xtd::environment_variable_target::user
,
"user"
}, {
xtd::environment_variable_target::machine
,
"machine"
}};}
28
};
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::environment_variable_target
environment_variable_target
Specifies the location where an environment variable is stored or retrieved in a set or get operation...
Definition
environment_variable_target.hpp:15
xtd::environment_variable_target::machine
@ machine
The environment variable is stored or retrieved from the HKEY_LOCAL_MACHINE\System\CurrentControlSet\...
Definition
environment_variable_target.hpp:21
xtd::environment_variable_target::process
@ process
The environment variable is stored or retrieved from the environment block associated with the curren...
Definition
environment_variable_target.hpp:17
xtd::environment_variable_target::user
@ user
The environment variable is stored or retrieved from the HKEY_CURRENT_USER\Environment key in the Win...
Definition
environment_variable_target.hpp:19
xtd::console_key::process
@ process
The IME PROCESS key.
Definition
console_key.hpp:290
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.