Adaptive Framework
0.9.0
|
anyURI adaptive functions.
afw_function_definition_at_least_one_member_of_anyURI |
Adaptive Function anyURI
x | function execute parameter. |
Converts value to data type anyURI returning anyURI result.
This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.
Declaration:
Parameters:
value - (any dataType) Value to convert.
Returns:
(anyURI) Converted value.
Errors thrown:
cast_error - value could not be converted
Implemented by afw_function_execute_convert()
Function definition at_least_one_member_of<anyURI>
Definition at line 2048 of file afw_function_bindings.h.
afw_function_definition_bag_anyURI |
Adaptive Function at_least_one_member_of<anyURI>
x | function execute parameter. |
Returns boolean true if at least one value in anyURI list1 is in anyURI list2.
This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.
Declaration:
Parameters:
list1 - (list anyURI) The first list.
list2 - (list anyURI) The second list.
Returns:
(boolean)
Implemented by afw_function_execute_at_least_one_member_of()
Function definition bag<anyURI>
Definition at line 2086 of file afw_function_bindings.h.
afw_function_definition_bag_size_anyURI |
Adaptive Function bag<anyURI>
x | function execute parameter. |
Takes any number of anyURI 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:
Parameters:
values - (0 or more list anyURI)
Returns:
(list anyURI)
Implemented by afw_function_execute_bag()
Function definition bag_size<anyURI>
Definition at line 2120 of file afw_function_bindings.h.
afw_function_definition_ends_with_anyURI |
Adaptive Function bag_size<anyURI>
x | function 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:
Parameters:
value - (list anyURI)
Returns:
(integer)
Implemented by afw_function_execute_bag_size()
Function definition ends_with<anyURI>
Definition at line 2154 of file afw_function_bindings.h.
afw_function_definition_eq_anyURI |
Adaptive Function ends_with<anyURI>
x | function execute parameter. |
Checks whether anyURI value ends with a anyURI 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:
Parameters:
value - (anyURI)
subString - (string)
Returns:
(boolean)
Implemented by afw_function_execute_ends_with()
Function definition eq<anyURI>
Definition at line 2192 of file afw_function_bindings.h.
afw_function_definition_eqx_anyURI |
Adaptive Function eq<anyURI>
x | function execute parameter. |
Determine if anyURI 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:
Parameters:
arg1 - (anyURI)
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<anyURI>
Definition at line 2235 of file afw_function_bindings.h.
afw_function_definition_ge_anyURI |
Adaptive Function eqx<anyURI>
x | function execute parameter. |
Determine if for anyURI 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:
Parameters:
arg1 - (anyURI)
arg2 - (any dataType)
Returns:
(boolean)
Implemented by afw_function_execute_eqx()
Function definition ge<anyURI>
Definition at line 2274 of file afw_function_bindings.h.
afw_function_definition_gt_anyURI |
Adaptive Function ge<anyURI>
x | function execute parameter. |
Checks for anyURI arg1 is greater than or equal to anyURI 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:
Parameters:
arg1 - (anyURI)
arg2 - (anyURI)
Returns:
(boolean)
Implemented by afw_function_execute_ge()
Function definition gt<anyURI>
Definition at line 2312 of file afw_function_bindings.h.
afw_function_definition_includes_anyURI |
Adaptive Function gt<anyURI>
x | function execute parameter. |
Checks for anyURI arg1 is greater than anyURI 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:
Parameters:
arg1 - (anyURI)
arg2 - (anyURI)
Returns:
(boolean)
Implemented by afw_function_execute_gt()
Function definition includes<anyURI>
Definition at line 2350 of file afw_function_bindings.h.
afw_function_definition_index_of_anyURI |
Adaptive Function includes<anyURI>
x | function execute parameter. |
Checks whether the anyURI value includes a string 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:
Parameters:
searchString - (anyURI) The anyURI to search.
subString - (string) Substring to find.
position - (optional integer) Zero-based position in the search string to start search.
Returns:
(boolean) Indicates if the substring is contained in the search string.
Implemented by afw_function_execute_includes()
Function definition index_of<anyURI>
Definition at line 2392 of file afw_function_bindings.h.
afw_function_definition_intersection_anyURI |
Adaptive Function index_of<anyURI>
x | function execute parameter. |
Returns the zero-based index into anyURI value of subString. If subString is not found, -1 is returned.
This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.
Declaration:
Parameters:
value - (anyURI) The anyURI value to search.
subString - (string) Substring to search for.
startIndex - (optional integer) Optional start index for search if different than start of string.
Returns:
(integer) Zero-based index of subString or -1 if not found.
Implemented by afw_function_execute_index_of()
Function definition intersection<anyURI>
Definition at line 2434 of file afw_function_bindings.h.
afw_function_definition_is_anyURI |
Adaptive Function intersection<anyURI>
x | function execute parameter. |
Returns a list of anyURI with the values that are common to both list of anyURI list1 and list2.
This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.
Declaration:
Parameters:
list1 - (list anyURI) The first list.
list2 - (list anyURI) The second list.
Returns:
(list anyURI)
Implemented by afw_function_execute_intersection()
Function definition is<anyURI>
Definition at line 2472 of file afw_function_bindings.h.
afw_function_definition_is_in_anyURI |
Adaptive Function is<anyURI>
x | function execute parameter. |
Checks whether value is dataType anyURI 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:
Parameters:
value - (any dataType) Value to check.
Returns:
(boolean)
Implemented by afw_function_execute_is()
Function definition is_in<anyURI>
Definition at line 2506 of file afw_function_bindings.h.
afw_function_definition_last_index_of_anyURI |
Adaptive Function is_in<anyURI>
x | function execute parameter. |
Checks whether anyURI value is in list of anyURI list and returns 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:
Parameters:
value - (anyURI)
list - (list anyURI)
Returns:
(boolean)
Implemented by afw_function_execute_is_in()
Function definition last_index_of<anyURI>
Definition at line 2544 of file afw_function_bindings.h.
afw_function_definition_le_anyURI |
Adaptive Function last_index_of<anyURI>
x | function execute parameter. |
Returns the zero-based index into anyURI value of the last occurrence of a subString. If subString is not found, -1 is returned.
This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.
Declaration:
Parameters:
value - (anyURI) The anyURI value to search.
subString - (string) Substring to search for.
startIndex - (optional integer) Optional start index for search if different than start of string.
Returns:
(integer) Zero-based index of subString or -1 if not found.
Implemented by afw_function_execute_last_index_of()
Function definition le<anyURI>
Definition at line 2586 of file afw_function_bindings.h.
afw_function_definition_length_anyURI |
Adaptive Function le<anyURI>
x | function execute parameter. |
Checks for anyURI arg1 is less than or equal to anyURI 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:
Parameters:
arg1 - (anyURI)
arg2 - (any dataType)
Returns:
(boolean)
Implemented by afw_function_execute_le()
Function definition length<anyURI>
Definition at line 2624 of file afw_function_bindings.h.
afw_function_definition_lt_anyURI |
Adaptive Function length<anyURI>
x | function execute parameter. |
This is a polymorphic function where anyURI can be any of the supported data types. Return the integer number of entries in datatype list or codepoints in others.
This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.
Declaration:
Parameters:
value - (anyURI) Returns the number of entries in a list or code points in others.
Returns:
(integer)
Implemented by afw_function_execute_length()
Function definition lt<anyURI>
Definition at line 2661 of file afw_function_bindings.h.
afw_function_definition_ne_anyURI |
Adaptive Function lt<anyURI>
x | function execute parameter. |
Checks for anyURI arg1 is less that anyURI 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:
Parameters:
arg1 - (anyURI)
arg2 - (anyURI)
Returns:
(boolean)
Implemented by afw_function_execute_lt()
Function definition ne<anyURI>
Definition at line 2699 of file afw_function_bindings.h.
afw_function_definition_nex_anyURI |
Adaptive Function ne<anyURI>
x | function execute parameter. |
Determine if anyURI 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:
Parameters:
arg1 - (anyURI)
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<anyURI>
Definition at line 2742 of file afw_function_bindings.h.
afw_function_definition_one_and_only_anyURI |
Adaptive Function nex<anyURI>
x | function execute parameter. |
Determine if for anyURI arg1 is not equal to the value or data type of arg2 then return the boolean result. Use "ne" ("!=") 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:
Parameters:
arg1 - (anyURI)
arg2 - (any dataType)
Returns:
(boolean)
Implemented by afw_function_execute_nex()
Function definition one_and_only<anyURI>
Definition at line 2781 of file afw_function_bindings.h.
afw_function_definition_regexp_index_of_anyURI |
Adaptive Function one_and_only<anyURI>
x | function execute parameter. |
This converts a list of anyURI values that contains one value to a single anyURI value.
This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.
Declaration:
Parameters:
list - (list list)
Returns:
(anyURI)
Errors thrown:
arg_error - list does not contain exactly one value
Implemented by afw_function_execute_one_and_only()
Function definition regexp_index_of<anyURI>
Definition at line 2820 of file afw_function_bindings.h.
afw_function_definition_regexp_match_anyURI |
Adaptive Function regexp_index_of<anyURI>
x | function execute parameter. |
Search anyURI value for a regular expression and return index. If not found, -1 is returned.
This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.
Declaration:
Parameters:
value - (anyURI) The anyURI value to search.
regexp - (string) A regular expression to use for search.
Returns:
(integer) Zero-based index of subString or -1 if not found.
Implemented by afw_function_execute_regexp_index_of()
Function definition regexp_match<anyURI>
Definition at line 2858 of file afw_function_bindings.h.
afw_function_definition_regexp_replace_anyURI |
Adaptive Function regexp_match<anyURI>
x | function execute parameter. |
Checks whether anyURI value matches the regular expression regexp 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:
Parameters:
value - (anyURI)
regexp - (string)
Returns:
(boolean)
Implemented by afw_function_execute_regexp_match()
Function definition regexp_replace<anyURI>
Definition at line 2896 of file afw_function_bindings.h.
afw_function_definition_repeat_anyURI |
Adaptive Function regexp_replace<anyURI>
x | function execute parameter. |
Replace matched values for a regular expression in a anyURI value.
This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.
Declaration:
Parameters:
value - (anyURI) The original anyURI value.
regexp - (string) A regular expression to use for search.
replacement - (string) The replacement string.
limit - (optional integer) This is the maximum times to replace. The default is 1. Specify -1 to replace all occurrences.
Returns:
(anyURI) A anyURI value with the matched string(s) replaced.
Implemented by afw_function_execute_regexp_replace()
Function definition repeat<anyURI>
Definition at line 2940 of file afw_function_bindings.h.
afw_function_definition_replace_anyURI |
Adaptive Function repeat<anyURI>
x | function execute parameter. |
Repeat a anyURI value a specified number of times.
This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.
Declaration:
Parameters:
value - (anyURI) The anyURI value to repeat.
times - (integer) The number of times to repeat the value.
Returns:
(anyURI) The repeated anyURI value.
Implemented by afw_function_execute_repeat()
Function definition replace<anyURI>
Definition at line 2977 of file afw_function_bindings.h.
afw_function_definition_set_equals_anyURI |
Adaptive Function replace<anyURI>
x | function execute parameter. |
Replace string(s) in a anyURI value.
This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.
Declaration:
Parameters:
value - (anyURI) The original anyURI value.
match - (string) The string to replace.
replacement - (string) The replacement string.
limit - (optional integer) This is the maximum times to replace. The default is 1. Specify -1 to replace all occurrences.
Returns:
(anyURI) A anyURI value with the matched string(s) replaced.
Implemented by afw_function_execute_replace()
Function definition set_equals<anyURI>
Definition at line 3021 of file afw_function_bindings.h.
afw_function_definition_split_anyURI |
Adaptive Function set_equals<anyURI>
x | function execute parameter. |
Returns boolean true if anyURI list1 and anyURI list2 are subsets of each other 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:
Parameters:
list1 - (list anyURI)
list2 - (list anyURI)
Returns:
(boolean)
Implemented by afw_function_execute_set_equals()
Function definition split<anyURI>
Definition at line 3059 of file afw_function_bindings.h.
afw_function_definition_starts_with_anyURI |
Adaptive Function split<anyURI>
x | function execute parameter. |
Split anyURI value into an list of strings using a separator.
This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.
Declaration:
Parameters:
value - (anyURI) The anyURI value to split.
separator - (optional string) The separator to use. If this is an empty string or separator is not specified, the value is split between characters.
limit - (optional integer) This is the maximum number of splits. Any remaining part of value is ignored.
Returns:
(list) An list of strings.
Implemented by afw_function_execute_split()
Function definition starts_with<anyURI>
Definition at line 3102 of file afw_function_bindings.h.
afw_function_definition_subset_anyURI |
Adaptive Function starts_with<anyURI>
x | function execute parameter. |
Checks whether anyURI value starts with a subString 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:
Parameters:
value - (anyURI)
subString - (string)
Returns:
(boolean)
Implemented by afw_function_execute_starts_with()
Function definition subset<anyURI>
Definition at line 3140 of file afw_function_bindings.h.
afw_function_definition_substring_anyURI |
Adaptive Function subset<anyURI>
x | function execute parameter. |
Returns boolean true if the unique values in anyURI list1 are all in anyURI list2.
This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.
Declaration:
Parameters:
list1 - (list anyURI) The first list.
list2 - (list anyURI) The second list.
Returns:
(boolean)
Implemented by afw_function_execute_subset()
Function definition substring<anyURI>
Definition at line 3178 of file afw_function_bindings.h.
afw_function_definition_to_string_anyURI |
Adaptive Function substring<anyURI>
x | function execute parameter. |
Returns the anyURI substring of value beginning at zero-based position integer startIndex and ending at the position before integer endIndex. Specify -1 or omitting endIndex to return up to end of anyURI.
This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.
Declaration:
Parameters:
string - (anyURI)
startIndex - (integer)
endIndex - (optional integer)
Returns:
(anyURI)
Errors thrown:
arg_error - startIndex or endIndex is out of range
Implemented by afw_function_execute_substring()
Function definition to_string<anyURI>
Definition at line 3224 of file afw_function_bindings.h.
afw_function_definition_union_anyURI |
Adaptive Function to_string<anyURI>
x | function execute parameter. |
Converts anyURI 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:
Parameters:
value - (anyURI) A anyURI value.
Returns:
(string) The string representation of the value.
Implemented by afw_function_execute_convert()
Function definition union<anyURI>
Definition at line 3259 of file afw_function_bindings.h.
afw_function_definition_url_encode_anyURI |
Adaptive Function union<anyURI>
x | function execute parameter. |
Returns a list of anyURI contains all of the unique values in two or more list of anyURI values.
This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.
Declaration:
Parameters:
lists - (2 or more list anyURI) Two or more lists.
Returns:
(list anyURI)
Implemented by afw_function_execute_union()
Function definition url_encode<anyURI>
Definition at line 3296 of file afw_function_bindings.h.