Adaptive Framework  0.9.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Variables

Adaptive Function to_string<expression> More...

Variables

 afw_function_definition_bag_function
 Function definition bag<function>
 
 afw_function_definition_bag_size_function
 Adaptive Function bag<function> More...
 
 afw_function_definition_eq_function
 Adaptive Function bag_size<function> More...
 
 afw_function_definition_eqx_function
 Adaptive Function eq<function> More...
 
 afw_function_definition_function
 Adaptive Function eqx<function> More...
 
 afw_function_definition_ge_function
 Adaptive Function function More...
 
 afw_function_definition_gt_function
 Adaptive Function ge<function> More...
 
 afw_function_definition_is_function
 Adaptive Function gt<function> More...
 
 afw_function_definition_le_function
 Adaptive Function is<function> More...
 
 afw_function_definition_lt_function
 Adaptive Function le<function> More...
 
 afw_function_definition_ne_function
 Adaptive Function lt<function> More...
 
 afw_function_definition_nex_function
 Adaptive Function ne<function> More...
 

Detailed Description

Adaptive Function to_string<expression>

Parameters
xfunction execute parameter.

Converts expression value to string. For list values, the to_string() value for each entry is returned separated with commas.

This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.

Declaration:

function to_string<expression>(
value: expression
): string;

Parameters:

value - (expression) A expression value.

Returns:

(string) The string representation of the value.

Implemented by afw_function_execute_convert()


function adaptive functions.

Variable Documentation

◆ afw_function_definition_bag_size_function

afw_function_definition_bag_size_function

Adaptive Function bag<function>

Parameters
xfunction execute parameter.

Takes any number of function values and returns a list of list.

This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.

Declaration:

function bag<function>(
...values: (list of (list function))
): (list function);

Parameters:

values - (0 or more list function)

Returns:

(list function)

Implemented by afw_function_execute_bag()


Function definition bag_size<function>

Definition at line 11029 of file afw_function_bindings.h.

◆ afw_function_definition_eq_function

afw_function_definition_eq_function

Adaptive Function bag_size<function>

Parameters
xfunction execute parameter.

This returns the integer number of values in list.

This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.

Declaration:

function bag_size<function>(
value: (list function)
): integer;

Parameters:

value - (list function)

Returns:

(integer)

Implemented by afw_function_execute_bag_size()


Function definition eq<function>

Definition at line 11063 of file afw_function_bindings.h.

◆ afw_function_definition_eqx_function

afw_function_definition_eqx_function

Adaptive Function eq<function>

Parameters
xfunction execute parameter.

Determine if function arg1 is equal to the value of arg2 converted to the data type of arg1 then return the boolean result. Use "eqx" ("===") instead if you want false to be returned if arg1 and arg2's data type don't match.

This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.

Declaration:

function eq<function>(
arg1: function,
arg2: any
): boolean;

Parameters:

arg1 - (function)

arg2 - (any dataType)

Returns:

(boolean)

Errors thrown:

conversion - arg2 cannot be converted to the data type of arg1.

Implemented by afw_function_execute_eq()


Function definition eqx<function>

Definition at line 11106 of file afw_function_bindings.h.

◆ afw_function_definition_function

afw_function_definition_function

Adaptive Function eqx<function>

Parameters
xfunction execute parameter.

Determine if for function arg1 is equal to the value and data type of arg2 then return the boolean result. Use "eq" ("==") instead if you want arg2 to be converted to the data type of arg1 before comparison.

This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.

Declaration:

function eqx<function>(
arg1: function,
arg2: any
): boolean;

Parameters:

arg1 - (function)

arg2 - (any dataType)

Returns:

(boolean)

Implemented by afw_function_execute_eqx()


Function definition function

Definition at line 11145 of file afw_function_bindings.h.

◆ afw_function_definition_ge_function

afw_function_definition_ge_function

Adaptive Function function

Parameters
xfunction execute parameter.

Converts value to data type function returning function result.

This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.

Declaration:

function function(
value: any
): function;

Parameters:

value - (any dataType) Value to convert.

Returns:

(function) Converted value.

Errors thrown:

cast_error - value could not be converted

Implemented by afw_function_execute_convert()


Function definition ge<function>

Definition at line 11183 of file afw_function_bindings.h.

◆ afw_function_definition_gt_function

afw_function_definition_gt_function

Adaptive Function ge<function>

Parameters
xfunction execute parameter.

Checks for function arg1 is greater than or equal to function arg2 and return the boolean result.

This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.

Declaration:

function ge<function>(
arg1: function,
arg2: function
): boolean;

Parameters:

arg1 - (function)

arg2 - (function)

Returns:

(boolean)

Implemented by afw_function_execute_ge()


Function definition gt<function>

Definition at line 11221 of file afw_function_bindings.h.

◆ afw_function_definition_is_function

afw_function_definition_is_function

Adaptive Function gt<function>

Parameters
xfunction execute parameter.

Checks for function arg1 is greater than function arg2 and return the boolean result.

This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.

Declaration:

function gt<function>(
arg1: function,
arg2: function
): boolean;

Parameters:

arg1 - (function)

arg2 - (function)

Returns:

(boolean)

Implemented by afw_function_execute_gt()


Function definition is<function>

Definition at line 11259 of file afw_function_bindings.h.

◆ afw_function_definition_le_function

afw_function_definition_le_function

Adaptive Function is<function>

Parameters
xfunction execute parameter.

Checks whether value is dataType function and return the boolean result.

This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.

Declaration:

function is<function>(
value: any
): boolean;

Parameters:

value - (any dataType) Value to check.

Returns:

(boolean)

Implemented by afw_function_execute_is()


Function definition le<function>

Definition at line 11293 of file afw_function_bindings.h.

◆ afw_function_definition_lt_function

afw_function_definition_lt_function

Adaptive Function le<function>

Parameters
xfunction execute parameter.

Checks for function arg1 is less than or equal to function arg2 and return the boolean result.

This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.

Declaration:

function le<function>(
arg1: function,
arg2: any
): boolean;

Parameters:

arg1 - (function)

arg2 - (any dataType)

Returns:

(boolean)

Implemented by afw_function_execute_le()


Function definition lt<function>

Definition at line 11331 of file afw_function_bindings.h.

◆ afw_function_definition_ne_function

afw_function_definition_ne_function

Adaptive Function lt<function>

Parameters
xfunction execute parameter.

Checks for function arg1 is less that function arg2 and return the boolean result.

This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.

Declaration:

function lt<function>(
arg1: function,
arg2: function
): boolean;

Parameters:

arg1 - (function)

arg2 - (function)

Returns:

(boolean)

Implemented by afw_function_execute_lt()


Function definition ne<function>

Definition at line 11369 of file afw_function_bindings.h.

◆ afw_function_definition_nex_function

afw_function_definition_nex_function

Adaptive Function ne<function>

Parameters
xfunction execute parameter.

Determine if function arg1 is not equal to the value of arg2 converted to the data type of arg1 then return the boolean result. Use "nex" ("!==") instead if you want true to be returned if arg1 and arg2's data type don't match.

This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.

Declaration:

function ne<function>(
arg1: function,
arg2: any
): boolean;

Parameters:

arg1 - (function)

arg2 - (any dataType)

Returns:

(boolean)

Errors thrown:

conversion - arg2 cannot be converted to the data type of arg1.

Implemented by afw_function_execute_ne()


Function definition nex<function>

Definition at line 11413 of file afw_function_bindings.h.