Adaptive Framework  0.9.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Data Structures | Macros | Functions | Variables
afw_data_type_function_binding.h File Reference

Adaptive data type function header. More...

#include "afw_minimal.h"
#include "afw_data_type_typedefs.h"
#include "afw_declare_helpers.h"

Go to the source code of this file.

Data Structures

struct  afw_value_function_s
 struct for data type function values. More...
 

Macros

#define AFW_DATA_TYPE_ID_Q_function   "function"
 Quoted data type id for function.
 
#define AFW_DATA_TYPE_ID_U_function   function
 Unquoted data type id for function.
 
#define AFW_DATA_TYPE_ID_S_function   afw_s_function
 String for data type id function.
 
#define AFW_DATA_TYPE_CTYPE_Q_function   "const afw_value_t *"
 Quoted c type for data type id function.
 
#define afw_data_type_is_function(A_DATA_TYPE)
 Macro to determine if data type is function. More...
 
#define afw_value_is_function(A_VALUE)
 Macro to determine if value is evaluated function. More...
 
#define afw_value_is_list_of_function(A_VALUE)
 Macro to determine if value is evaluated list of function. More...
 
#define afw_object_old_get_property_as_function(object, property_name, xctx)
 Get property function for data type function value. More...
 
#define afw_object_get_property_as_function(object, property_name, p, xctx)
 Get property function for data type function value. More...
 
#define afw_object_old_get_next_property_as_function(object, iterator, property_name, xctx)
 Get next property function for data type function value. More...
 
#define afw_object_get_next_property_as_function(object, iterator, property_name, p, xctx)
 Get next property function for data type function value. More...
 
#define afw_list_of_function_get_next(list, iterator, xctx)
 Get next value from list of function. More...
 

Functions

void afw_data_type_function_to_internal (const afw_value_t **to_internal, const afw_utf8_t *from_utf8, const afw_pool_t *p, afw_xctx_t *xctx)
 Convert data type function string to const afw_value_t * *. More...
 
const afw_utf8_tafw_data_type_function_to_utf8 (const afw_value_t *internal, const afw_pool_t *p, afw_xctx_t *xctx)
 Convert data type function internal representation to utf-8. More...
 
const afw_value_tafw_value_as_function (const afw_value_t *value, afw_xctx_t *xctx)
 Typesafe cast of data type function. More...
 
afw_value_function_tafw_value_allocate_function (const afw_pool_t *p, afw_xctx_t *xctx)
 Allocate function for unmanaged data type function value. More...
 
const afw_value_tafw_value_create_function (const afw_value_t *internal, const afw_pool_t *p, afw_xctx_t *xctx)
 Create function for unmanaged data type function value. More...
 
afw_value_function_tafw_value_allocate_managed_function (const afw_pool_t *p, afw_xctx_t *xctx)
 Allocate function for managed data type function value. More...
 
const afw_value_tafw_value_create_managed_function (const afw_value_t *internal, const afw_pool_t *p, afw_xctx_t *xctx)
 Create function for managed data type function value. More...
 
afw_value_function_tafw_value_allocate_permanent_function (const afw_pool_t *p, afw_xctx_t *xctx)
 Allocate function for permanent data type function value. More...
 
const afw_value_tafw_value_create_permanent_function (const afw_value_t *internal, const afw_pool_t *p, afw_xctx_t *xctx)
 Create function for permanent data type function value. More...
 
const afw_value_tafw_object_get_property_as_function_source (const afw_object_t *object, const afw_utf8_t *property_name, const afw_utf8_z_t *source_z, const afw_pool_t *p, afw_xctx_t *xctx)
 Get property function for data type function value. More...
 
const afw_value_tafw_object_get_next_property_as_function_source (const afw_object_t *object, const afw_iterator_t **iterator, const afw_utf8_t **property_name, const afw_utf8_z_t *source_z, const afw_pool_t *p, afw_xctx_t *xctx)
 Get property function for data type function value. More...
 
void afw_object_set_property_as_function (const afw_object_t *object, const afw_utf8_t *property_name, const afw_value_t *internal, afw_xctx_t *xctx)
 Set property function for data type function values. More...
 
const afw_value_tafw_list_of_function_get_next_source (const afw_list_t *instance, const afw_iterator_t **iterator, const afw_utf8_z_t *source_z, afw_xctx_t *xctx)
 Get next value from list of function. More...
 
void afw_list_of_function_add (const afw_list_t *instance, const afw_value_t *value, afw_xctx_t *xctx)
 Add value from list of function. More...
 
void afw_list_of_function_remove (const afw_list_t *instance, const afw_value_t *value, afw_xctx_t *xctx)
 Remove value from list of function. More...
 

Variables

 afw_data_type_function_id_value
 Adaptive string value for "function".
 
 afw_data_type_function
 Data type struct for function.
 
 afw_value_evaluated_function_inf
 Unmanaged evaluated value inf for data type function. More...
 
 afw_value_managed_function_inf
 Managed evaluated value inf for data type function. More...
 
 afw_value_permanent_function_inf
 Permanent managed (life of afw environment) value inf for data type function. More...
 
 afw_data_type_function_direct
 extern for data type function struct. More...
 
 afw_data_type_function_inf
 extern for data type function inf. More...
 

Detailed Description

Adaptive data type function header.

Definition in file afw_data_type_function_binding.h.