xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.core
include
xtd
enum_register.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include "
enum_collection.hpp
"
6
#include "
types.hpp
"
7
#define __XTD_CORE_INTERNAL__
8
#include "internal/__enum_introspection.hpp"
9
#include "
internal/__enum_definition_to_enum_collection.hpp
"
10
#undef __XTD_CORE_INTERNAL__
11
13
namespace
xtd
{
37
template
<
typename
enum_t>
38
struct
enum_register
{
55
static
auto
values
() noexcept {
return
xtd::enum_collection<enum_t>
{};}
56
};
57
}
__enum_definition_to_enum_collection.hpp
enum_collection.hpp
Contains xtd::enum_collection.
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
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
types.hpp
Contains xtd fundamental types.
Generated on
for xtd by
Gammasoft
. All rights reserved.