enum_stato {struct} | R Documentation |
A base class in the struct package. Should not be called directly.
enum_stato( name, description = character(0), type = "character", value = character(0), max_length = 1, allowed, stato_id )
name |
the name of the object |
description |
a description of the object |
type |
the type of the struct object |
value |
The value of the parameter/outputs |
max_length |
Maximum length of value vector (default 1) |
allowed |
A list of allowed values |
stato_id |
The STATO ID for the entity |
Extends the enum
class to include stato functionality.
an enum_stato object
Refer to enum
and stato
for further
info.
E = enum_stato( name='example', allowed=list('choice_1','choice_2'), value='choice_1', type='character', stato_id='XYZ000001' )