Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Code Block
languagecpp
themeConfluence
FUNCTION xpfStringToEnumeration (enumId     : GENERIC;
                                 aString     : STRING)
                                 enumeration : GENERIC;
                

This function returns enumeration element

...

 value. The value of the given STRING is placed within the given target enumeration instance.                                    

Arguments

...

 

Insert excerpt
US:_a_enumId
US:_a_enumId
nopaneltrue
Insert excerpt
US:_a_String
US:_a_String
nopaneltrue

...

Options

...

 

 

Example

...

express
Code Block
language
enum_id := xpfGetDefinedType(XPXTARGETMODELID, enum_name);
enum_element := xpfStringToEnumeration(enum_id, enum_element_name); 

...