Parameter Loop Expression Tokens

 

CodeGen includes parameter loop expressions are expressions that can only be used within the context of a parameter loop. CodeGen supports parameter loop expressions via the <IF expression> and </IF [expression]> tags. Note that loop utility expressions can also be used within parameter loops.

 

Expression

Description

<IF ALPHA>

 

The parameter type is ALPHA.

<IF BINARY_HANDLE>

 

The parameter type is BINARY HANDLE.

<IF COLLECTION>

 

The parameter exposes a collection.

<IF COLLECTION_ARRAY>

 

The parameter exposes a collection via an array.

<IF COLLECTION_HANDLE>

 

The parameter exposes a collection via a dynamic memory handle.

<IF COLLECTION_ARRAYLIST>

 

The parameter exposes a collection via an ArrayList.

<IF COERCE>

 

The parameter type is coerced to a different type.

<IF COERCE_BOOLEAN>

 

The parameter type is coerced to type BOOLEAN.

<IF COERCE_BYTE>

 

The parameter type is coerced to type BYTE.

<IF COERCE_DATETIME>

 

The parameter type is coerced to type DATETIME.

<IF COERCE_DATETIME_NULLABLE>

 

The parameter type is coerced to type NULLABLE DATETIME.

<IF COERCE_DECIMAL>

 

The parameter type is coerced to type DECIMAL.

<IF COERCE_DECIMAL_NULLABLE>

 

The parameter type is coerced to type NULLABLE DECIMAL.

<IF COERCE_DOUBLE>

 

The parameter type is coerced to type DOUBLE.

<IF COERCE_FLOAT>

 

The parameter type is coerced to type FLOAT.

<IF COERCE_INT>

 

The parameter type is coerced to type INT.

<IF COERCE_LONG>

 

The parameter type is coerced to type LONG.

<IF COERCE_SBYTE>

 

The parameter type is coerced to type SBYTE.

<IF COERCE_SHORT>

 

The parameter type is coerced to type SHORT.

<IF COERCE_UINT>

 

The parameter type is coerced to type UINT.

<IF COERCE_ULONG>

The parameter type is coerced to type ULONG.

<IF COERCE_USHORT>

 

The parameter type is coerced to type USHORT.

<IF COMMENT>

 

The method has an associated comment.

<IF CUSTOM_PARAMETER_expression>

 

Custom parameter loop expressions allow you to test custom conditions based on custom parameter expressions defined in a method catalog extensions file. Note that custom expressions are not case sensitive, always being converted to uppercase for comparison.

 

<IF DATATABLE>

 

The parameter is exposed as a DataTable.

<IF DATE>

 

The parameter is a DATE.

<IF DATE_YYYYMMDD>

 

The parameter is a YYYYMMDD date.

<IF DATE_YYMMDD>

 

The parameter is a YYMMDD date.

<IF DATE_YYJJJ>

 

The parameter is a YYJJJ date.

<IF DATE_YYYYJJJ>

 

The parameter is a YYYYJJJ date.

<IF DATE_YYYYMMDDHHMMSS>

 

The parameter is a YYYYMMDDHHMMSS date/time.

<IF DATEORTIME>

 

The parameter is a date or time. Valid types are YYMMDD, YYYYMMDD, YYYYMMDDHHMISS, YYJJ, YYYJJ, HMM and HHMMSS.

<IF DECIMAL>

 

The parameter type is DECIMAL.

<IF DESCRIPTOR>

 

The parameter is passed by descriptor.

<IF ENUM>

 

The parameter type is ENUM.

<IF FIRST_INSTANCE_OF_ENUM>

 

The enumeration parameter being processed refers to an enumeration that has not previously been encountered in this loop.

 

<IF FIRST_INSTANCE_OF_STRUCTURE>

 

The structure parameter being processed refers to a structure that has not previously been encountered in the current parameter loop.

 

<IF FIRST_INSTANCE_OF_STRUCTURE2>

 

The structure parameter being processed refers to a structure that has not previously been encountered in the current parameter loops outer method loop. In other words, this is the first time the structure has been referenced by any method in the interface.

 

<IF HANDLE>

 

The parameter type is HANDLE.

<IF IMPLIED>

 

The parameter type is IMPLIED DECIMAL.

<IF IN>

 

The parameter is an IN parameter.

<IF INOUT>

 

The parameter is an INOUT parameter.

<IF IN_OR_INOUT>

 

The parameter is an IN or INOUT parameter.

<IF INTEGER>

 

The parameter type is INTEGER.

<IF OPTIONAL>

 

The parameter is OPTIONAL.

<IF OUT>

 

The parameter is an OUT parameter.

<IF OUT_OR_INOUT>

 

The parameter is an OUT or INOUT parameter.

<IF MORE_IN_OR_INOUT>

 

There are more IN or INOUT parameters still to be processed.

<IF MORE_OUT_OR_INOUT>

 

There are more OUT or INOUT parameters still to be processed.

<IF REFERENCE>

 

The parameter is passed by REFERENCE.

<IF PARAM_NAME_IS_name>

 

Tests whether the name of the parameter being processed matches the name in the tag. Parameter names are NOT case sensitive when processed by this feature.

 

<IF REQUIRED>

 

The parameter is REQUIRED.

<IF STRING>

 

The parameter type is STRING.

<IF STRUCTURE>

 

The parameter type is STRUCTURE.

<IF TIME>

 

The parameter is a TIME.

<IF TIME_HHMM>

 

The parameter is an HHMM time.

<IF TIME_HHMMSS>

 

The parameter is an HHMMSS time.

<IF VALUE>

 

The parameter is passed by VALUE.

 

 

 

 


Copyright © 2021  Synergex International, Inc.