xtd 0.2.0
Loading...
Searching...
No Matches
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"
10#undef __XTD_CORE_INTERNAL__
11
13namespace xtd {
37 template<typename enum_t>
55 explicit operator auto() const noexcept {return xtd::enum_collection<enum_t> {};}
56 };
57}
Contains enum_definition_to_enum_collection method.
Contains xtd::enum_collection.
std::vector< xtd::collections::generic::key_value_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:22
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
Provides the registration struct for enumerations.
Definition enum_register.hpp:38
Contains xtd fundamental types.