template<>
Corrade::Utility::ConfigurationValue<Magnum::MeshIndexType> struct

Configuration value parser and writer.

Public static functions

static auto toString(Magnum::MeshIndexType value, ConfigurationValueFlags) -> Containers::String
Write enum value as string.
static auto fromString(Containers::StringView stringValue, ConfigurationValueFlags) -> Magnum::MeshIndexType
Read enum value as string.

Function documentation

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

Write enum value as string.

If the value is invalid, returns empty string.

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

Read enum value as string.

If the value is invalid, returns a zero (invalid) type.