wren
Vulkan-based game engine
Loading...
Searching...
No Matches
wren::utils Namespace Reference

Namespaces

namespace  fs
 

Classes

class  BinaryReader
 
class  StringReader
 

Functions

template<class E >
auto enum_to_string (E e) -> std::string
 
template<typename E >
auto string_to_enum (const std::string_view &name, bool case_sensitive=false) -> std::optional< E >
 
auto split (const std::string &input, const char c) -> std::vector< std::string >
 

Function Documentation

◆ enum_to_string()

template<class E >
auto wren::utils::enum_to_string ( E e) -> std::string
Here is the caller graph for this function:

◆ split()

auto wren::utils::split ( const std::string & input,
const char c ) -> std::vector<std::string>

◆ string_to_enum()

template<typename E >
auto wren::utils::string_to_enum ( const std::string_view & name,
bool case_sensitive = false ) -> std::optional<E>