EnumBase.opIn_r

Looks up an enum member's value from its name.

  1. Name* opIn_r(Value v)
  2. Value* opIn_r(Name n)
    template EnumBase(T...)
    override
    opIn_r

Parameters

n Name

name to look up

Return Value

Type: Value*

pointer to corresponding value, or null if name doesn't exist in enum

Meta