Adaptive Framework
0.9.0
|
Files | |
file | afw_model_internal.h |
Internal header for Adaptive Framework model. | |
Data Structures | |
struct | afw_model_internal_context_s |
Internal struct used by afw_model* functions. More... | |
struct | afw_model_internal_object_type_s |
Struct for afw_model_object_type_t property_type_other member. More... | |
struct | afw_model_internal_property_type_s |
struct | afw_model_internal_adaptor_self_s |
struct | afw_model_internal_adaptor_session_self_s |
struct | afw_model_internal_object_cb_context_s |
Macros | |
#define | AFW_MODEL_ON_MAP(XX) |
Typedefs | |
typedef struct afw_model_internal_object_cb_context_s | afw_model_internal_object_cb_context_t |
Enumerations | |
enum | afw_model_on_map_enum_t { afw_model_on_map_count } |
Functions | |
AFW_ASSOCIATIVE_ARRAY_TEMPLATE (afw_model_associative_array, afw_model_object_type_t) struct afw_model_internal_s | |
Define afw_model_internal_object_type_associative_array template. More... | |
void | afw_model_internal_register_context_type_model (afw_xctx_t *xctx) |
afw_model_internal_create_basic_to_adaptor_mapped_object (afw_model_internal_context_t *ctx, afw_xctx_t *xctx) | |
afw_model_internal_create_skeleton_context (afw_runtime_object_indirect_t *runtime_object_level_skeleton, const afw_context_cb_variable_t *const *current_variables, afw_model_internal_adaptor_session_self_t *self_session, const afw_adaptor_impl_request_t *impl_request, const afw_model_object_type_t *model_object_type, const afw_pool_t *p, afw_xctx_t *xctx) | |
afw_model_internal_create_to_adaptor_skeleton_context (afw_model_internal_adaptor_session_self_t *self, afw_runtime_object_indirect_t *runtime_object_level_skeleton, const afw_model_t *model, const afw_adaptor_impl_request_t *impl_request, const afw_utf8_t *object_type_id, const afw_utf8_t *object_id, afw_xctx_t *xctx) | |
afw_model_internal_complete_ctx_default_add_object (afw_model_internal_context_t *ctx, afw_xctx_t *xctx) | |
afw_model_internal_complete_ctx_default_delete_object (afw_model_internal_context_t *ctx, afw_xctx_t *xctx) | |
afw_model_internal_complete_ctx_default_modify_object (afw_model_internal_context_t *ctx, afw_xctx_t *xctx) | |
afw_model_internal_complete_ctx_default_replace_object (afw_model_internal_context_t *ctx, afw_xctx_t *xctx) | |
afw_model_internal_convert_property (const afw_model_object_type_t *object_type, afw_model_adapt_t adapt_type, const afw_utf8_t **to_property_name, const afw_value_t **to_value, const afw_utf8_t *from_property_name, const afw_value_t *from_value, const afw_object_t *const *variable_objects, const afw_pool_t *p, afw_xctx_t *xctx) | |
afw_model_internal_convert_property_name (const afw_model_object_type_t *object_type, afw_model_adapt_t adapt_type, const afw_utf8_t **to_property_name, const afw_utf8_t *from_property_name, const afw_object_t *const *variable_objects, const afw_pool_t *p, afw_xctx_t *xctx) | |
afw_model_internal_convert_query_criteria (const afw_model_object_type_t *model_object_type, const afw_query_criteria_t *criteria, const afw_pool_t *p, afw_xctx_t *xctx) | |
Convert query criteria based on model. More... | |
Internal model API.
#define AFW_MODEL_ON_MAP | ( | XX | ) |
Definition at line 33 of file afw_model_internal.h.
AFW_ASSOCIATIVE_ARRAY_TEMPLATE | ( | afw_model_associative_array | , |
afw_model_object_type_t | |||
) |
Define afw_model_internal_object_type_associative_array template.
This defines afw_model_internal_object_type_associative_array_t and associated typesafe afw_associative_array functions.
See afw_associative_array_template.h for more information.
Pool used for model.
Model id.
The shared resources used by this model.
First loaded model.
Immutable object types for this model.
Model object
Model objectType. path
Hash table holding afw_model_object_type_t objects
Custom variables.
Definition at line 141 of file afw_model_internal.h.
afw_model_internal_complete_ctx_default_modify_object | ( | afw_model_internal_context_t * | ctx, |
afw_xctx_t * | xctx | ||
) |
Definition at line 1483 of file afw_model_adaptor.c.
afw_model_internal_convert_query_criteria | ( | const afw_model_object_type_t * | model_object_type, |
const afw_query_criteria_t * | criteria, | ||
const afw_pool_t * | p, | ||
afw_xctx_t * | xctx | ||
) |
Convert query criteria based on model.
model_object_type | to use. |
criteria | to convert. |
p | to use. |
xctx | of caller. |
Definition at line 733 of file afw_model_adaptor.c.
afw_model_internal_create_basic_to_adaptor_mapped_object | ( | afw_model_internal_context_t * | ctx, |
afw_xctx_t * | xctx | ||
) |
Definition at line 1287 of file afw_model_adaptor.c.