EnumParseHelper

EnumParseHelper struct

Helper class that provides functionality of converting a string representation of enum consnant into equivalent enum value.

template<class E,class G,class Guard>class EnumParseHelper

Template parameters

ParameterDescription
EThe type of the enum with which the class’ methods operate
GSecond formal argument of System::Enum to use.
GuardFormal template argument to select parsing algorithm available.

Methods

MethodDescription
static E Parse(const String&, bool)Converts the specfied string into equivalent enum constant value.

See Also