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

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

Macros

#define AFW_DATA_TYPE_ID_Q_date   "date"
 Quoted data type id for date.
 
#define AFW_DATA_TYPE_ID_U_date   date
 Unquoted data type id for date.
 
#define AFW_DATA_TYPE_ID_S_date   afw_s_date
 String for data type id date.
 
#define AFW_DATA_TYPE_CTYPE_Q_date   "afw_date_t"
 Quoted c type for data type id date.
 
#define afw_data_type_is_date(A_DATA_TYPE)
 Macro to determine if data type is date. More...
 
#define afw_value_is_date(A_VALUE)
 Macro to determine if value is evaluated date. More...
 
#define afw_value_is_list_of_date(A_VALUE)
 Macro to determine if value is evaluated list of date. More...
 
#define afw_object_old_get_property_as_date(object, property_name, xctx)
 Get property function for data type date value. More...
 
#define afw_object_get_property_as_date(object, property_name, p, xctx)
 Get property function for data type date value. More...
 
#define afw_object_old_get_next_property_as_date(object, iterator, property_name, xctx)
 Get next property function for data type date value. More...
 
#define afw_object_get_next_property_as_date(object, iterator, property_name, p, xctx)
 Get next property function for data type date value. More...
 
#define afw_list_of_date_get_next(list, iterator, xctx)
 Get next value from list of date. More...
 

Functions

void afw_data_type_date_to_internal (afw_date_t *to_internal, const afw_utf8_t *from_utf8, const afw_pool_t *p, afw_xctx_t *xctx)
 Convert data type date string to afw_date_t *. More...
 
const afw_utf8_tafw_data_type_date_to_utf8 (const afw_date_t *internal, const afw_pool_t *p, afw_xctx_t *xctx)
 Convert data type date internal representation to utf-8. More...
 
const afw_date_tafw_value_as_date (const afw_value_t *value, afw_xctx_t *xctx)
 Typesafe cast of data type date. More...
 
afw_value_date_tafw_value_allocate_date (const afw_pool_t *p, afw_xctx_t *xctx)
 Allocate function for unmanaged data type date value. More...
 
const afw_value_tafw_value_create_date (const afw_date_t *internal, const afw_pool_t *p, afw_xctx_t *xctx)
 Create function for unmanaged data type date value. More...
 
afw_value_date_tafw_value_allocate_managed_date (const afw_pool_t *p, afw_xctx_t *xctx)
 Allocate function for managed data type date value. More...
 
const afw_value_tafw_value_create_managed_date (const afw_date_t *internal, const afw_pool_t *p, afw_xctx_t *xctx)
 Create function for managed data type date value. More...
 
afw_value_date_tafw_value_allocate_permanent_date (const afw_pool_t *p, afw_xctx_t *xctx)
 Allocate function for permanent data type date value. More...
 
const afw_value_tafw_value_create_permanent_date (const afw_date_t *internal, const afw_pool_t *p, afw_xctx_t *xctx)
 Create function for permanent data type date value. More...
 
const afw_date_tafw_object_get_property_as_date_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 date value. More...
 
const afw_date_tafw_object_get_next_property_as_date_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 date value. More...
 
void afw_object_set_property_as_date (const afw_object_t *object, const afw_utf8_t *property_name, const afw_date_t *internal, afw_xctx_t *xctx)
 Set property function for data type date values. More...
 
const afw_date_tafw_list_of_date_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 date. More...
 
void afw_list_of_date_add (const afw_list_t *instance, const afw_date_t *value, afw_xctx_t *xctx)
 Add value from list of date. More...
 
void afw_list_of_date_remove (const afw_list_t *instance, const afw_date_t *value, afw_xctx_t *xctx)
 Remove value from list of date. More...
 

Variables

 afw_data_type_date_id_value
 Adaptive string value for "date".
 
 afw_data_type_date
 Data type struct for date.
 
 afw_value_evaluated_date_inf
 Unmanaged evaluated value inf for data type date. More...
 
 afw_value_managed_date_inf
 Managed evaluated value inf for data type date. More...
 
 afw_value_permanent_date_inf
 Permanent managed (life of afw environment) value inf for data type date. More...
 
 afw_data_type_date_direct
 extern for data type date struct. More...
 
 afw_data_type_date_inf
 extern for data type date inf. More...
 

Detailed Description

Adaptive data type date header.

Definition in file afw_data_type_date_binding.h.