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_template_binding.h File Reference

Adaptive data type template 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_template_s
 struct for data type template values. More...
 

Macros

#define AFW_DATA_TYPE_ID_Q_template   "template"
 Quoted data type id for template.
 
#define AFW_DATA_TYPE_ID_U_template   template
 Unquoted data type id for template.
 
#define AFW_DATA_TYPE_ID_S_template   afw_s_template
 String for data type id template.
 
#define AFW_DATA_TYPE_CTYPE_Q_template   "afw_utf8_t"
 Quoted c type for data type id template.
 
#define afw_data_type_is_template(A_DATA_TYPE)
 Macro to determine if data type is template. More...
 
#define afw_value_is_template(A_VALUE)
 Macro to determine if value is evaluated template. More...
 
#define afw_value_is_list_of_template(A_VALUE)
 Macro to determine if value is evaluated list of template. More...
 
#define afw_object_old_get_property_as_template(object, property_name, xctx)
 Get property function for data type template value. More...
 
#define afw_object_get_property_as_template(object, property_name, p, xctx)
 Get property function for data type template value. More...
 
#define afw_object_old_get_next_property_as_template(object, iterator, property_name, xctx)
 Get next property function for data type template value. More...
 
#define afw_object_get_next_property_as_template(object, iterator, property_name, p, xctx)
 Get next property function for data type template value. More...
 
#define afw_list_of_template_get_next(list, iterator, xctx)
 Get next value from list of template. More...
 

Functions

void afw_data_type_template_to_internal (afw_utf8_t *to_internal, const afw_utf8_t *from_utf8, const afw_pool_t *p, afw_xctx_t *xctx)
 Convert data type template string to afw_utf8_t *. More...
 
const afw_utf8_tafw_data_type_template_to_utf8 (const afw_utf8_t *internal, const afw_pool_t *p, afw_xctx_t *xctx)
 Convert data type template internal representation to utf-8. More...
 
const afw_utf8_tafw_value_as_template (const afw_value_t *value, afw_xctx_t *xctx)
 Typesafe cast of data type template. More...
 
afw_value_template_tafw_value_allocate_template (const afw_pool_t *p, afw_xctx_t *xctx)
 Allocate function for unmanaged data type template value. More...
 
const afw_value_tafw_value_create_template (const afw_utf8_t *internal, const afw_pool_t *p, afw_xctx_t *xctx)
 Create function for unmanaged data type template value. More...
 
afw_value_template_tafw_value_allocate_managed_template (const afw_pool_t *p, afw_xctx_t *xctx)
 Allocate function for managed data type template value. More...
 
const afw_value_tafw_value_create_managed_template (const afw_utf8_t *internal, const afw_pool_t *p, afw_xctx_t *xctx)
 Create function for managed data type template value. More...
 
afw_value_template_tafw_value_allocate_permanent_template (const afw_pool_t *p, afw_xctx_t *xctx)
 Allocate function for permanent data type template value. More...
 
const afw_value_tafw_value_create_permanent_template (const afw_utf8_t *internal, const afw_pool_t *p, afw_xctx_t *xctx)
 Create function for permanent data type template value. More...
 
const afw_utf8_tafw_object_get_property_as_template_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 template value. More...
 
const afw_utf8_tafw_object_get_next_property_as_template_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 template value. More...
 
void afw_object_set_property_as_template (const afw_object_t *object, const afw_utf8_t *property_name, const afw_utf8_t *internal, afw_xctx_t *xctx)
 Set property function for data type template values. More...
 
const afw_utf8_tafw_list_of_template_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 template. More...
 
void afw_list_of_template_add (const afw_list_t *instance, const afw_utf8_t *value, afw_xctx_t *xctx)
 Add value from list of template. More...
 
void afw_list_of_template_remove (const afw_list_t *instance, const afw_utf8_t *value, afw_xctx_t *xctx)
 Remove value from list of template. More...
 

Variables

 afw_data_type_template_id_value
 Adaptive string value for "template".
 
 afw_data_type_template
 Data type struct for template.
 
 afw_value_evaluated_template_inf
 Unmanaged evaluated value inf for data type template. More...
 
 afw_value_managed_template_inf
 Managed evaluated value inf for data type template. More...
 
 afw_value_permanent_template_inf
 Permanent managed (life of afw environment) value inf for data type template. More...
 
 afw_data_type_template_direct
 extern for data type template struct. More...
 
 afw_data_type_template_inf
 extern for data type template inf. More...
 

Detailed Description

Adaptive data type template header.

Definition in file afw_data_type_template_binding.h.