DictionaryHandle :: LookupCode - Lookup enumeration code by string
The function returns the code (number) for an enumerated value identified by name.
Return value: Enumerator value ( int32 )
The enumerator value is the code (value) of an enumerator as being defined in an enumeration. CS_U is a reserved value indication an invalid enumerator value.
Implementation overview
- - internal feature (not documented)
DictionaryHandle :: LookupCode ( bnf_data ) - - internal feature (not documented)
DictionaryHandle :: LookupCode ( scoped_name, enum_string )
Implementation details
-
- internal feature (not documented)
int32 DictionaryHandle  :: LookupCode ( BNFData *bnf_data )
- bnf_data
- Expression in BNF format
An expression can be converted from a string into BNF format by calling the dictionary function ParseExpression().
to list
- bnf_data
- Expression in BNF format
-
- internal feature (not documented)
int32 DictionaryHandle  :: LookupCode ( NString &scoped_name, NString &enum_string )
- scoped_name
- Scoped type or property name
my_namespace::Person
- enum_string
- Enumerator name
The enumerator name is the string value (name) for an enumerator in an enumeration. Enumerator names must not exceed 40 characters.
to list
- scoped_name
- Scoped type or property name