xtd 0.2.0
Loading...
Searching...
No Matches
enum_register.h
Go to the documentation of this file.
1
4#pragma once
5#include "enum_collection.h"
6#include "types.h"
7#define __XTD_CORE_INTERNAL__
8#include "internal/__enum_introspection.h"
9#include "internal/__enum_definition_to_enum_collection.h"
10#undef __XTD_CORE_INTERNAL__
11
13namespace xtd {
35 template<typename enum_t>
53 explicit operator auto() const noexcept {return xtd::enum_collection<enum_t> {};}
54 };
55}
Contains xtd::enum_collection.
std::vector< std::pair< enum_t, xtd::ustring > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition enum_collection.h:19
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10
Provides the registration struct for enumerations.
Definition enum_register.h:36
Contains xtd fundamental types.