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

Adaptive Function regexp More...

Functions

const afw_value_tafw_function_execute_match_rfc822Name (afw_function_execute_t *x)
 Adaptive Function match<rfc822Name> More...
 

Variables

 afw_function_definition_at_least_one_member_of_rfc822Name
 Function definition at_least_one_member_of<rfc822Name>
 
 afw_function_definition_bag_rfc822Name
 Adaptive Function at_least_one_member_of<rfc822Name> More...
 
 afw_function_definition_bag_size_rfc822Name
 Adaptive Function bag<rfc822Name> More...
 
 afw_function_definition_eq_rfc822Name
 Adaptive Function bag_size<rfc822Name> More...
 
 afw_function_definition_eqx_rfc822Name
 Adaptive Function eq<rfc822Name> More...
 
 afw_function_definition_ge_rfc822Name
 Adaptive Function eqx<rfc822Name> More...
 
 afw_function_definition_gt_rfc822Name
 Adaptive Function ge<rfc822Name> More...
 
 afw_function_definition_intersection_rfc822Name
 Adaptive Function gt<rfc822Name> More...
 
 afw_function_definition_is_in_rfc822Name
 Adaptive Function intersection<rfc822Name> More...
 
 afw_function_definition_is_rfc822Name
 Adaptive Function is_in<rfc822Name> More...
 
 afw_function_definition_le_rfc822Name
 Adaptive Function is<rfc822Name> More...
 
 afw_function_definition_lt_rfc822Name
 Adaptive Function le<rfc822Name> More...
 
 afw_function_definition_match_rfc822Name
 Adaptive Function lt<rfc822Name> More...
 
 afw_function_definition_ne_rfc822Name
 Function definition ne<rfc822Name>
 
 afw_function_definition_nex_rfc822Name
 Adaptive Function ne<rfc822Name> More...
 
 afw_function_definition_one_and_only_rfc822Name
 Adaptive Function nex<rfc822Name> More...
 
 afw_function_definition_regexp_match_rfc822Name
 Adaptive Function one_and_only<rfc822Name> More...
 
 afw_function_definition_rfc822Name
 Adaptive Function regexp_match<rfc822Name> More...
 
 afw_function_definition_set_equals_rfc822Name
 Adaptive Function rfc822Name More...
 
 afw_function_definition_subset_rfc822Name
 Adaptive Function set_equals<rfc822Name> More...
 
 afw_function_definition_to_string_rfc822Name
 Adaptive Function subset<rfc822Name> More...
 
 afw_function_definition_union_rfc822Name
 Adaptive Function to_string<rfc822Name> More...
 

Detailed Description

Adaptive Function regexp

Parameters
xfunction execute parameter.

Converts value to data type regexp returning regexp 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 regexp(
value: any
): regexp;

Parameters:

value - (any dataType) Value to convert.

Returns:

(regexp) Converted value.

Errors thrown:

cast_error - value could not be converted

Implemented by afw_function_execute_convert()


rfc822Name adaptive functions.

Function Documentation

◆ afw_function_execute_match_rfc822Name()

const afw_value_t* afw_function_execute_match_rfc822Name ( afw_function_execute_t x)

Adaptive Function match<rfc822Name>

Parameters
xfunction execute parameter.

Returns true if arg1 matches some terminal sequence of RDNs from arg2 when compared using equal_rfc822Name.

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

Declaration:

function match<rfc822Name>(
arg1: rfc822Name,
arg2: string
): boolean;

Parameters:

arg1 - (rfc822Name)

arg2 - (string)

Returns:

(boolean)

Todo:
FIXME: Add code.

Definition at line 51 of file afw_function_rfc822Name.c.

Variable Documentation

◆ afw_function_definition_bag_rfc822Name

afw_function_definition_bag_rfc822Name

Adaptive Function at_least_one_member_of<rfc822Name>

Parameters
xfunction execute parameter.

Returns boolean true if at least one value in rfc822Name list1 is in rfc822Name list2.

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

Declaration:

function at_least_one_member_of<rfc822Name>(
list1: (list rfc822Name),
list2: (list rfc822Name)
): boolean;

Parameters:

list1 - (list rfc822Name) The first list.

list2 - (list rfc822Name) The second list.

Returns:

(boolean)

Implemented by afw_function_execute_at_least_one_member_of()


Function definition bag<rfc822Name>

Definition at line 24330 of file afw_function_bindings.h.

◆ afw_function_definition_bag_size_rfc822Name

afw_function_definition_bag_size_rfc822Name

Adaptive Function bag<rfc822Name>

Parameters
xfunction execute parameter.

Takes any number of rfc822Name 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<rfc822Name>(
...values: (list of (list rfc822Name))
): (list rfc822Name);

Parameters:

values - (0 or more list rfc822Name)

Returns:

(list rfc822Name)

Implemented by afw_function_execute_bag()


Function definition bag_size<rfc822Name>

Definition at line 24364 of file afw_function_bindings.h.

◆ afw_function_definition_eq_rfc822Name

afw_function_definition_eq_rfc822Name

Adaptive Function bag_size<rfc822Name>

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<rfc822Name>(
value: (list rfc822Name)
): integer;

Parameters:

value - (list rfc822Name)

Returns:

(integer)

Implemented by afw_function_execute_bag_size()


Function definition eq<rfc822Name>

Definition at line 24398 of file afw_function_bindings.h.

◆ afw_function_definition_eqx_rfc822Name

afw_function_definition_eqx_rfc822Name

Adaptive Function eq<rfc822Name>

Parameters
xfunction execute parameter.

Determine if rfc822Name 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<rfc822Name>(
arg1: rfc822Name,
arg2: any
): boolean;

Parameters:

arg1 - (rfc822Name)

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<rfc822Name>

Definition at line 24441 of file afw_function_bindings.h.

◆ afw_function_definition_ge_rfc822Name

afw_function_definition_ge_rfc822Name

Adaptive Function eqx<rfc822Name>

Parameters
xfunction execute parameter.

Determine if for rfc822Name 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<rfc822Name>(
arg1: rfc822Name,
arg2: any
): boolean;

Parameters:

arg1 - (rfc822Name)

arg2 - (any dataType)

Returns:

(boolean)

Implemented by afw_function_execute_eqx()


Function definition ge<rfc822Name>

Definition at line 24480 of file afw_function_bindings.h.

◆ afw_function_definition_gt_rfc822Name

afw_function_definition_gt_rfc822Name

Adaptive Function ge<rfc822Name>

Parameters
xfunction execute parameter.

Checks for rfc822Name arg1 is greater than or equal to rfc822Name 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<rfc822Name>(
arg1: rfc822Name,
arg2: rfc822Name
): boolean;

Parameters:

arg1 - (rfc822Name)

arg2 - (rfc822Name)

Returns:

(boolean)

Implemented by afw_function_execute_ge()


Function definition gt<rfc822Name>

Definition at line 24518 of file afw_function_bindings.h.

◆ afw_function_definition_intersection_rfc822Name

afw_function_definition_intersection_rfc822Name

Adaptive Function gt<rfc822Name>

Parameters
xfunction execute parameter.

Checks for rfc822Name arg1 is greater than rfc822Name 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<rfc822Name>(
arg1: rfc822Name,
arg2: rfc822Name
): boolean;

Parameters:

arg1 - (rfc822Name)

arg2 - (rfc822Name)

Returns:

(boolean)

Implemented by afw_function_execute_gt()


Function definition intersection<rfc822Name>

Definition at line 24556 of file afw_function_bindings.h.

◆ afw_function_definition_is_in_rfc822Name

afw_function_definition_is_in_rfc822Name

Adaptive Function intersection<rfc822Name>

Parameters
xfunction execute parameter.

Returns a list of rfc822Name with the values that are common to both list of rfc822Name 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:

function intersection<rfc822Name>(
list1: (list rfc822Name),
list2: (list rfc822Name)
): (list rfc822Name);

Parameters:

list1 - (list rfc822Name) The first list.

list2 - (list rfc822Name) The second list.

Returns:

(list rfc822Name)

Implemented by afw_function_execute_intersection()


Function definition is_in<rfc822Name>

Definition at line 24594 of file afw_function_bindings.h.

◆ afw_function_definition_is_rfc822Name

afw_function_definition_is_rfc822Name

Adaptive Function is_in<rfc822Name>

Parameters
xfunction execute parameter.

Checks whether rfc822Name value is in list of rfc822Name 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:

function is_in<rfc822Name>(
value: rfc822Name,
list: (list rfc822Name)
): boolean;

Parameters:

value - (rfc822Name)

list - (list rfc822Name)

Returns:

(boolean)

Implemented by afw_function_execute_is_in()


Function definition is<rfc822Name>

Definition at line 24632 of file afw_function_bindings.h.

◆ afw_function_definition_le_rfc822Name

afw_function_definition_le_rfc822Name

Adaptive Function is<rfc822Name>

Parameters
xfunction execute parameter.

Checks whether value is dataType rfc822Name 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<rfc822Name>(
value: any
): boolean;

Parameters:

value - (any dataType) Value to check.

Returns:

(boolean)

Implemented by afw_function_execute_is()


Function definition le<rfc822Name>

Definition at line 24666 of file afw_function_bindings.h.

◆ afw_function_definition_lt_rfc822Name

afw_function_definition_lt_rfc822Name

Adaptive Function le<rfc822Name>

Parameters
xfunction execute parameter.

Checks for rfc822Name arg1 is less than or equal to rfc822Name 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<rfc822Name>(
arg1: rfc822Name,
arg2: any
): boolean;

Parameters:

arg1 - (rfc822Name)

arg2 - (any dataType)

Returns:

(boolean)

Implemented by afw_function_execute_le()


Function definition lt<rfc822Name>

Definition at line 24704 of file afw_function_bindings.h.

◆ afw_function_definition_match_rfc822Name

afw_function_definition_match_rfc822Name

Adaptive Function lt<rfc822Name>

Parameters
xfunction execute parameter.

Checks for rfc822Name arg1 is less that rfc822Name 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<rfc822Name>(
arg1: rfc822Name,
arg2: rfc822Name
): boolean;

Parameters:

arg1 - (rfc822Name)

arg2 - (rfc822Name)

Returns:

(boolean)

Implemented by afw_function_execute_lt()


Function definition match<rfc822Name>

Definition at line 24742 of file afw_function_bindings.h.

◆ afw_function_definition_nex_rfc822Name

afw_function_definition_nex_rfc822Name

Adaptive Function ne<rfc822Name>

Parameters
xfunction execute parameter.

Determine if rfc822Name 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<rfc822Name>(
arg1: rfc822Name,
arg2: any
): boolean;

Parameters:

arg1 - (rfc822Name)

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<rfc822Name>

Definition at line 24823 of file afw_function_bindings.h.

◆ afw_function_definition_one_and_only_rfc822Name

afw_function_definition_one_and_only_rfc822Name

Adaptive Function nex<rfc822Name>

Parameters
xfunction execute parameter.

Determine if for rfc822Name 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:

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

Parameters:

arg1 - (rfc822Name)

arg2 - (any dataType)

Returns:

(boolean)

Implemented by afw_function_execute_nex()


Function definition one_and_only<rfc822Name>

Definition at line 24862 of file afw_function_bindings.h.

◆ afw_function_definition_regexp_match_rfc822Name

afw_function_definition_regexp_match_rfc822Name

Adaptive Function one_and_only<rfc822Name>

Parameters
xfunction execute parameter.

This converts a list of rfc822Name values that contains one value to a single rfc822Name value.

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

Declaration:

function one_and_only<rfc822Name>(
list: (list list)
): rfc822Name;

Parameters:

list - (list list)

Returns:

(rfc822Name)

Errors thrown:

arg_error - list does not contain exactly one value

Implemented by afw_function_execute_one_and_only()


Function definition regexp_match<rfc822Name>

Definition at line 24901 of file afw_function_bindings.h.

◆ afw_function_definition_rfc822Name

afw_function_definition_rfc822Name

Adaptive Function regexp_match<rfc822Name>

Parameters
xfunction execute parameter.

Checks whether rfc822Name 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:

function regexp_match<rfc822Name>(
value: rfc822Name,
regexp: string
): boolean;

Parameters:

value - (rfc822Name)

regexp - (string)

Returns:

(boolean)

Implemented by afw_function_execute_regexp_match()


Function definition rfc822Name

Definition at line 24939 of file afw_function_bindings.h.

◆ afw_function_definition_set_equals_rfc822Name

afw_function_definition_set_equals_rfc822Name

Adaptive Function rfc822Name

Parameters
xfunction execute parameter.

Converts value to data type rfc822Name returning rfc822Name 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 rfc822Name(
value: any
): rfc822Name;

Parameters:

value - (any dataType) Value to convert.

Returns:

(rfc822Name) Converted value.

Errors thrown:

cast_error - value could not be converted

Implemented by afw_function_execute_convert()


Function definition set_equals<rfc822Name>

Definition at line 24977 of file afw_function_bindings.h.

◆ afw_function_definition_subset_rfc822Name

afw_function_definition_subset_rfc822Name

Adaptive Function set_equals<rfc822Name>

Parameters
xfunction execute parameter.

Returns boolean true if rfc822Name list1 and rfc822Name 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:

function set_equals<rfc822Name>(
list1: (list rfc822Name),
list2: (list rfc822Name)
): boolean;

Parameters:

list1 - (list rfc822Name)

list2 - (list rfc822Name)

Returns:

(boolean)

Implemented by afw_function_execute_set_equals()


Function definition subset<rfc822Name>

Definition at line 25015 of file afw_function_bindings.h.

◆ afw_function_definition_to_string_rfc822Name

afw_function_definition_to_string_rfc822Name

Adaptive Function subset<rfc822Name>

Parameters
xfunction execute parameter.

Returns boolean true if the unique values in rfc822Name list1 are all in rfc822Name list2.

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

Declaration:

function subset<rfc822Name>(
list1: (list rfc822Name),
list2: (list rfc822Name)
): boolean;

Parameters:

list1 - (list rfc822Name) The first list.

list2 - (list rfc822Name) The second list.

Returns:

(boolean)

Implemented by afw_function_execute_subset()


Function definition to_string<rfc822Name>

Definition at line 25053 of file afw_function_bindings.h.

◆ afw_function_definition_union_rfc822Name

afw_function_definition_union_rfc822Name

Adaptive Function to_string<rfc822Name>

Parameters
xfunction execute parameter.

Converts rfc822Name 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<rfc822Name>(
value: rfc822Name
): string;

Parameters:

value - (rfc822Name) A rfc822Name value.

Returns:

(string) The string representation of the value.

Implemented by afw_function_execute_convert()


Function definition union<rfc822Name>

Definition at line 25088 of file afw_function_bindings.h.