xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.core
include
xtd
enum.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include "
enum_attribute.hpp
"
6
#include "
enum_collection.hpp
"
7
#include "
enum_object.hpp
"
8
#include "
enum_register.hpp
"
9
#include "
enum_set_attribute.hpp
"
10
#include "
flags_attribute.hpp
"
11
#include "
globalization/culture_info.hpp
"
12
31
#define enum_ut_(namespace_name, enum_t, underlying_t, ...) \
32
namespace namespace_name {enum enum_t : underlying_t {__VA_ARGS__};} \
33
__enum_introspection__(namespace_name, enum_t, underlying_t, __VA_ARGS__) \
34
template<> struct xtd::enum_register<namespace_name::enum_t> {static auto values() noexcept {return __enum_definition_to_enum_collection__<namespace_name::enum_t>(#__VA_ARGS__);}}
35
53
#define enum_(namespace_name, enum_t, ...) \
54
enum_ut_(namespace_name, enum_t, xtd::int32, __VA_ARGS__)
55
culture_info.hpp
Contains xtd::globalization::culture_info class.
enum_attribute.hpp
Contains xtd::enum_attribute enum class.
enum_collection.hpp
Contains xtd::enum_collection.
enum_object.hpp
Contains xtd::enum_object struct.
enum_register.hpp
Contains xtd::enum_register.
enum_set_attribute.hpp
Contains xtd::enum_set_attribute strcut.
flags_attribute.hpp
Contains flags_attribute_ keyword.
Generated on
for xtd by
Gammasoft
. All rights reserved.