SmartEnumCore.indexOf

Looks up the index of a description in the enum (ie description is for the nth code in the enum).

  1. size_t* indexOf(BaseType code)
  2. size_t* indexOf(cstring description)
    template SmartEnumCore(BaseType)
    static
    size_t*
    indexOf

Parameters

description cstring

description to get index for

Return Value

Type: size_t*

pointer to description's index, or null if description not in enum

Meta