|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
#include "magic_enum/magic_enum.hpp"
Include dependency graph for EnumUtils.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Namespaces | |
| namespace | MayaFlux |
| Main namespace for the Maya Flux audio engine. | |
| namespace | MayaFlux::Utils |
Functions | |
| std::string | MayaFlux::Utils::to_lowercase (std::string_view str) |
| Convert string to lowercase. | |
| std::string | MayaFlux::Utils::to_uppercase (std::string_view str) |
| Convert string to uppercase. | |
| template<typename EnumType > | |
| std::string | MayaFlux::Utils::enum_to_lowercase_string (EnumType value) noexcept |
| Universal enum to lowercase string converter using magic_enum. | |
| template<typename EnumType > | |
| constexpr std::string_view | MayaFlux::Utils::enum_to_string (EnumType value) noexcept |
| Universal enum to string converter using magic_enum (original case) | |
| template<typename EnumType > | |
| std::optional< EnumType > | MayaFlux::Utils::string_to_enum_case_insensitive (std::string_view str) noexcept |
| Universal case-insensitive string to enum converter using magic_enum. | |
| template<typename EnumType > | |
| constexpr std::optional< EnumType > | MayaFlux::Utils::string_to_enum (std::string_view str) noexcept |
| Universal string to enum converter using magic_enum (exact case match) | |
| template<typename EnumType > | |
| std::vector< std::string > | MayaFlux::Utils::get_enum_names_lowercase () noexcept |
| Get all enum values as lowercase strings. | |
| template<typename EnumType > | |
| constexpr auto | MayaFlux::Utils::get_enum_names () noexcept |
| Get all enum values as strings (original case) | |
| template<typename EnumType > | |
| constexpr auto | MayaFlux::Utils::get_enum_values () noexcept |
| Get all enum values. | |
| template<typename EnumType > | |
| bool | MayaFlux::Utils::is_valid_enum_string_case_insensitive (std::string_view str) noexcept |
| Validate if string is a valid enum value (case-insensitive) | |
| template<typename EnumType > | |
| constexpr size_t | MayaFlux::Utils::enum_count () noexcept |
| Get enum count. | |
| template<typename EnumType > | |
| EnumType | MayaFlux::Utils::string_to_enum_or_throw_case_insensitive (std::string_view str, std::string_view context="") |
| Convert string to enum with exception on failure (case-insensitive) | |