Adaptive Framework
0.9.0
|
Modules | |
afw_data_type | |
Data Structures | |
struct | afw_data_type_s |
Interface afw_data_type public struct. More... | |
struct | afw_data_type_inf_s |
Interface afw_data_type_inf_s struct. More... | |
Macros | |
#define | AFW_DATA_TYPE_INTERFACE_NAME "afw_data_type" |
define for interface afw_data_type name. | |
#define | afw_data_type_internal_to_utf8(instance, from_internal, p, xctx) |
Call method internal_to_utf8 of interface afw_data_type. More... | |
#define | afw_data_type_utf8_to_internal(instance, to_internal, from_utf8, p, xctx) |
Call method utf8_to_internal of interface afw_data_type. More... | |
#define | afw_data_type_compare_internal(instance, internal1, internal2, xctx) |
Call method compare_internal of interface afw_data_type. More... | |
#define | afw_data_type_convert_internal(instance, to_internal, from_internal, to_data_type, p, xctx) |
Call method convert_internal of interface afw_data_type. More... | |
#define | afw_data_type_clone_internal(instance, to_internal, from_internal, p, xctx) |
Call method clone_internal of interface afw_data_type. More... | |
#define | afw_data_type_value_compiler_listing(instance, writer, value, xctx) |
Call method value_compiler_listing of interface afw_data_type. More... | |
#define | afw_data_type_write_as_expression(instance, writer, from_internal, xctx) |
Call method write_as_expression of interface afw_data_type. More... | |
Typedefs | |
typedef const afw_utf8_t *(* | afw_data_type_internal_to_utf8_t) (const afw_data_type_t *instance, const void *from_internal, const afw_pool_t *p, afw_xctx_t *xctx) |
typedef void(* | afw_data_type_utf8_to_internal_t) (const afw_data_type_t *instance, void *to_internal, const afw_utf8_t *from_utf8, const afw_pool_t *p, afw_xctx_t *xctx) |
typedef int(* | afw_data_type_compare_internal_t) (const afw_data_type_t *instance, const void *internal1, const void *internal2, afw_xctx_t *xctx) |
typedef void(* | afw_data_type_convert_internal_t) (const afw_data_type_t *instance, void *to_internal, const void *from_internal, const afw_data_type_t *to_data_type, const afw_pool_t *p, afw_xctx_t *xctx) |
typedef void(* | afw_data_type_clone_internal_t) (const afw_data_type_t *instance, void *to_internal, const void *from_internal, const afw_pool_t *p, afw_xctx_t *xctx) |
typedef void(* | afw_data_type_value_compiler_listing_t) (const afw_data_type_t *instance, const afw_writer_t *writer, const afw_value_t *value, afw_xctx_t *xctx) |
typedef void(* | afw_data_type_write_as_expression_t) (const afw_data_type_t *instance, const afw_writer_t *writer, const void *from_internal, afw_xctx_t *xctx) |
Adaptive Data Type.
#define afw_data_type_clone_internal | ( | instance, | |
to_internal, | |||
from_internal, | |||
p, | |||
xctx | |||
) |
Call method clone_internal of interface afw_data_type.
instance | Pointer to this data type instance. |
to_internal | The address of the place to return result. This place must be the correct size based on data type (c_type_size) of to_data_type. |
from_internal | Value of correct cType to of this data type to convert. |
p | Pool to use to hold returned value. |
xctx | This is the caller's xctx. |
Definition at line 2289 of file afw_interface.h.
#define afw_data_type_compare_internal | ( | instance, | |
internal1, | |||
internal2, | |||
xctx | |||
) |
Call method compare_internal of interface afw_data_type.
instance | Pointer to this data type instance. |
internal1 | First value of correct cType to compare. |
internal2 | Second value of correct cType to compare. |
xctx | This is the caller's xctx. |
Definition at line 2238 of file afw_interface.h.
#define afw_data_type_convert_internal | ( | instance, | |
to_internal, | |||
from_internal, | |||
to_data_type, | |||
p, | |||
xctx | |||
) |
Call method convert_internal of interface afw_data_type.
instance | Pointer to this data type instance. |
to_internal | The address of the place to return result. This place must be the correct size based on data type (c_type_size) of to_data_type. |
from_internal | Value of correct cType to of this data type to convert. |
to_data_type | Data type of to value. |
p | Pool to use to hold returned value. |
xctx | This is the caller's xctx. |
Definition at line 2262 of file afw_interface.h.
#define afw_data_type_internal_to_utf8 | ( | instance, | |
from_internal, | |||
p, | |||
xctx | |||
) |
Call method internal_to_utf8 of interface afw_data_type.
instance | Pointer to this data type instance. |
from_internal | Internal representation of this data type of correct cType to convert. |
p | Pool to use to hold returned value. |
xctx | This is the caller's xctx. |
Definition at line 2194 of file afw_interface.h.
#define afw_data_type_utf8_to_internal | ( | instance, | |
to_internal, | |||
from_utf8, | |||
p, | |||
xctx | |||
) |
Call method utf8_to_internal of interface afw_data_type.
instance | Pointer to this data type instance. |
to_internal | The address of the place to return result. This place must be the correct size based on data type (c_type_size). |
from_utf8 | NFC UTF-8 representation for of this data type. |
p | Pool to use to hold returned value. |
xctx | This is the caller's xctx. |
Definition at line 2216 of file afw_interface.h.
#define afw_data_type_value_compiler_listing | ( | instance, | |
writer, | |||
value, | |||
xctx | |||
) |
Call method value_compiler_listing of interface afw_data_type.
instance | Pointer to this data type instance. |
writer | Writer instance to use. |
value | Value to write to compiler listing. |
xctx | This is the caller's xctx. |
Definition at line 2311 of file afw_interface.h.
#define afw_data_type_write_as_expression | ( | instance, | |
writer, | |||
from_internal, | |||
xctx | |||
) |
Call method write_as_expression of interface afw_data_type.
instance | Pointer to this data type instance. |
writer | Writer instance to use. |
from_internal | Value of correct cType to of this data type to convert. |
xctx | This is the caller's xctx. |
Definition at line 2331 of file afw_interface.h.
typedef void(* afw_data_type_clone_internal_t) (const afw_data_type_t *instance, void *to_internal, const void *from_internal, const afw_pool_t *p, afw_xctx_t *xctx) |
Definition at line 2150 of file afw_interface.h.
typedef int(* afw_data_type_compare_internal_t) (const afw_data_type_t *instance, const void *internal1, const void *internal2, afw_xctx_t *xctx) |
Definition at line 2132 of file afw_interface.h.
typedef void(* afw_data_type_convert_internal_t) (const afw_data_type_t *instance, void *to_internal, const void *from_internal, const afw_data_type_t *to_data_type, const afw_pool_t *p, afw_xctx_t *xctx) |
Definition at line 2140 of file afw_interface.h.
typedef const afw_utf8_t*(* afw_data_type_internal_to_utf8_t) (const afw_data_type_t *instance, const void *from_internal, const afw_pool_t *p, afw_xctx_t *xctx) |
Definition at line 2115 of file afw_interface.h.
typedef void(* afw_data_type_utf8_to_internal_t) (const afw_data_type_t *instance, void *to_internal, const afw_utf8_t *from_utf8, const afw_pool_t *p, afw_xctx_t *xctx) |
Definition at line 2123 of file afw_interface.h.
typedef void(* afw_data_type_value_compiler_listing_t) (const afw_data_type_t *instance, const afw_writer_t *writer, const afw_value_t *value, afw_xctx_t *xctx) |
Definition at line 2159 of file afw_interface.h.
typedef void(* afw_data_type_write_as_expression_t) (const afw_data_type_t *instance, const afw_writer_t *writer, const void *from_internal, afw_xctx_t *xctx) |
Definition at line 2167 of file afw_interface.h.