Description Usage Arguments Value Validation
The basis for all enum definitions, validate_enum_definition()
checks the enum arguments for internal consistency
validate_numeric_enum()
checks numeric enum arguments
for internal consistency with the numeric enum class
validate_generic_enum()
checks generic enums
for internal consistency with the generic enum class
1 2 3 4 5 | validate_enum_definition(.enum_data)
validate_numeric_enum(.enum_data)
validate_generic_enum(.enum_data)
|
.enum_data |
named list of arguments |
input data
input data
input data
validate_enum_definition()
checks that all values supplied have names.
validate_numeric_enum()
checks that, when evaluated,
all the enum members are unique,
and can be interpreted as numeric
validate_generic_enum()
check that all
arguments supplied to the constructor
have a unique name and value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.