SmartEnumCore.opIndex

Gets the description of a code.

  1. istring opIndex(BaseType code)
    template SmartEnumCore(BaseType)
    static
    opIndex
    (
    BaseType code
    )
  2. BaseType opIndex(cstring description)

Parameters

code BaseType

code to look up

Return Value

Type: istring

code's description

Throws

if code is not in the map

Meta