Description Usage Arguments Details Value Examples
A base class in the struct package. Not normally called directly.
1 2 3 4 5 6 7 8 9 10 11 |
name |
the name of the object |
description |
a description of the object |
type |
the type of the struct object |
value |
value of the enum |
max_length |
Maximum length of value vector (default 1) |
allowed |
A list of allowed values |
obj |
an enum object |
An enum object is a special type of entity object that ensures the value must be one from a list of allowed values.
Enum objects are usually defined in the prototype of another object, but
can be extracted using param_obj
and output_obj
.
an enum object
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.