...
...
...
represent the following description: xpfStringToEnumeration (modelId: GENERIC; aString: STRING) enumeration : GENERIC;
with explanation: To be completed ... The xpfStringToEnumeration function converts the specified string to an aggregate
Code Block | ||||
---|---|---|---|---|
| ||||
FUNCTION xpfStringToEnumeration (enumId : GENERIC;
aString : STRING)
enumeration : GENERIC;
|
This function returns enumeration element value and (2) expects not id of target model, but id of target enumeration, that could be received e.g. in call to xpfGetDefinedType, like the following:
Arguments
...
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Return Value
...
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Options
...
Example
...
Code Block | ||
---|---|---|
| ||
enum_id := |
...
xpfGetDefinedType(XPXTARGETMODELID, enum_name); |
...
enum_element := xpfStringToEnumeration(enum_id, enum_element_name); |
See also
Filter by label (Content by label) | ||||||
---|---|---|---|---|---|---|
|