template<>
Corrade::Utility::ConfigurationValue<Magnum::DebugTools::FrameProfilerGL::Values> struct new in 2020.06

Configuration value parser and writer.

Public static functions

static auto toString(Magnum::DebugTools::FrameProfilerGL::Values value, ConfigurationValueFlags) -> Containers::String
Writes enum set value as a string.
static auto fromString(Containers::StringView stringValue, ConfigurationValueFlags) -> Magnum::DebugTools::FrameProfilerGL::Values
Reads enum set value as a string.

Function documentation

template<>
static Containers::String Corrade::Utility::ConfigurationValue<Magnum::DebugTools::FrameProfilerGL::Values>::toString(Magnum::DebugTools::FrameProfilerGL::Values value, ConfigurationValueFlags)

Writes enum set value as a string.

Writes the enum set as a sequence of flag names separated by spaces. If the value is invalid, returns an empty string.

template<>
static Magnum::DebugTools::FrameProfilerGL::Values Corrade::Utility::ConfigurationValue<Magnum::DebugTools::FrameProfilerGL::Values>::fromString(Containers::StringView stringValue, ConfigurationValueFlags)

Reads enum set value as a string.

Assumes the string is a sequence of flag names separated by spaces. If the value is invalid, returns an empty set.