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

Adaptive Framework model adaptor. More...

#include "afw_internal.h"

Go to the source code of this file.

Macros

#define __IMPL_DIRECT_MAPPED_CALLS_MODIFY_
 
#define IMPL_INCLUDE_MASK_OBJECT_LEVEL   1
 
#define IMPL_INCLUDE_MASK_PROPERTY_LEVEL   2
 
#define IMPL_INCLUDE_MASK_EITHER   3
 

Functions

 afw_model_internal_get_current_adaptorId (const afw_runtime_object_map_property_t *prop, const void *internal, const afw_pool_t *p, afw_xctx_t *xctx)
 
 afw_model_internal_get_current_adaptorTypeSpecific (const afw_runtime_object_map_property_t *prop, const void *internal, const afw_pool_t *p, afw_xctx_t *xctx)
 
 afw_model_internal_get_current_mapBackObject (const afw_runtime_object_map_property_t *prop, const void *internal, const afw_pool_t *p, afw_xctx_t *xctx)
 
 afw_model_internal_get_current_mapObject (const afw_runtime_object_map_property_t *prop, const void *internal, const afw_pool_t *p, afw_xctx_t *xctx)
 
 afw_model_internal_get_current_mappedAdaptorId (const afw_runtime_object_map_property_t *prop, const void *internal, const afw_pool_t *p, afw_xctx_t *xctx)
 
 afw_model_internal_get_current_mappedObject (const afw_runtime_object_map_property_t *prop, const void *internal, const afw_pool_t *p, afw_xctx_t *xctx)
 
 afw_model_internal_get_current_mappedObjectId (const afw_runtime_object_map_property_t *prop, const void *internal, const afw_pool_t *p, afw_xctx_t *xctx)
 
 afw_model_internal_get_current_mappedObjectType (const afw_runtime_object_map_property_t *prop, const void *internal, const afw_pool_t *p, afw_xctx_t *xctx)
 
 afw_model_internal_get_current_mappedPropertyName (const afw_runtime_object_map_property_t *prop, const void *internal, const afw_pool_t *p, afw_xctx_t *xctx)
 
 afw_model_internal_get_current_mappedValue (const afw_runtime_object_map_property_t *prop, const void *internal, const afw_pool_t *p, afw_xctx_t *xctx)
 
 afw_model_internal_get_current_modifyEntries (const afw_runtime_object_map_property_t *prop, const void *internal, const afw_pool_t *p, afw_xctx_t *xctx)
 
 afw_model_internal_get_current_object (const afw_runtime_object_map_property_t *prop, const void *internal, const afw_pool_t *p, afw_xctx_t *xctx)
 
 afw_model_internal_get_current_objectId (const afw_runtime_object_map_property_t *prop, const void *internal, const afw_pool_t *p, afw_xctx_t *xctx)
 
 afw_model_internal_get_current_objectType (const afw_runtime_object_map_property_t *prop, const void *internal, const afw_pool_t *p, afw_xctx_t *xctx)
 
 afw_model_internal_get_current_propertyName (const afw_runtime_object_map_property_t *prop, const void *internal, const afw_pool_t *p, afw_xctx_t *xctx)
 
 afw_model_internal_get_current_queryCriteria (const afw_runtime_object_map_property_t *prop, const void *internal, const afw_pool_t *p, afw_xctx_t *xctx)
 
 afw_model_internal_get_current_returnObject (const afw_runtime_object_map_property_t *prop, const void *internal, const afw_pool_t *p, afw_xctx_t *xctx)
 
 afw_model_internal_get_current_useDefaultProcessing (const afw_runtime_object_map_property_t *prop, const void *internal, const afw_pool_t *p, afw_xctx_t *xctx)
 
 afw_model_internal_get_current_value (const afw_runtime_object_map_property_t *prop, const void *internal, const afw_pool_t *p, afw_xctx_t *xctx)
 
void afw_model_internal_register_context_type_model (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 *session_self, 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)
 

Variables

const afw_value_null_t impl_useDefaultProcessing
 
 afw_model_internal_context_current_property_to_mapped []
 
 afw_model_internal_context_current_add_object []
 
 afw_model_internal_context_current_delete_object []
 
 afw_model_internal_context_current_get_object []
 
 afw_model_internal_context_current_modify_object []
 
 afw_model_internal_context_current_replace_object []
 
 afw_model_internal_context_current_retrieve_objects []
 
 afw_model_internal_context_current_property_from_mapped []
 
 afw_model_internal_context_current_for_initial_object_id []
 
 afw_model_internal_context_current_runtime_ctx []
 

Detailed Description

Adaptive Framework model adaptor.

Definition in file afw_model_context.c.

Variable Documentation

◆ afw_model_internal_context_current_add_object

afw_model_internal_context_current_add_object[]
Initial value:
= {
&impl_current_variable_adaptorId,
&impl_current_variable_object,
&impl_current_variable_objectId,
&impl_current_variable_objectType,
&impl_current_variable_useDefaultProcessing,
NULL
}

Definition at line 1058 of file afw_model_context.c.

◆ afw_model_internal_context_current_delete_object

afw_model_internal_context_current_delete_object[]
Initial value:
= {
&impl_current_variable_adaptorId,
&impl_current_variable_objectId,
&impl_current_variable_objectType,
&impl_current_variable_useDefaultProcessing,
NULL
}

Definition at line 1069 of file afw_model_context.c.

◆ afw_model_internal_context_current_for_initial_object_id

afw_model_internal_context_current_for_initial_object_id[]
Initial value:
= {
&impl_current_variable_mappedAdaptorId,
&impl_current_variable_mappedObject,
&impl_current_variable_mappedObjectId,
&impl_current_variable_mappedObjectType,
&impl_current_variable_mappedPropertyName,
&impl_current_variable_mappedValue,
&impl_current_variable_adaptorId,
&impl_current_variable_object,
&impl_current_variable_objectId,
&impl_current_variable_objectType,
&impl_current_variable_propertyName,
&impl_current_variable_value,
NULL
}

Definition at line 1143 of file afw_model_context.c.

◆ afw_model_internal_context_current_get_object

afw_model_internal_context_current_get_object[]
Initial value:
= {
&impl_current_variable_adaptorId,
&impl_current_variable_adaptorTypeSpecific,
&impl_current_variable_mapBackObject,
&impl_current_variable_objectId,
&impl_current_variable_objectType,
&impl_current_variable_useDefaultProcessing,
&impl_current_variable_mappedAdaptorId,
&impl_current_variable_mappedObjectType,
NULL
}

Definition at line 1079 of file afw_model_context.c.

◆ afw_model_internal_context_current_modify_object

afw_model_internal_context_current_modify_object[]
Initial value:
= {
&impl_current_variable_modifyEntries,
&impl_current_variable_adaptorId,
&impl_current_variable_object,
&impl_current_variable_objectId,
&impl_current_variable_objectType,
&impl_current_variable_useDefaultProcessing,
NULL
}

Definition at line 1093 of file afw_model_context.c.

◆ afw_model_internal_context_current_property_from_mapped

afw_model_internal_context_current_property_from_mapped[]
Initial value:
= {
&impl_current_variable_mappedAdaptorId,
&impl_current_variable_mappedObject,
&impl_current_variable_mappedObjectId,
&impl_current_variable_mappedObjectType,
&impl_current_variable_mappedPropertyName,
&impl_current_variable_mappedValue,
NULL
}

Definition at line 1131 of file afw_model_context.c.

◆ afw_model_internal_context_current_property_to_mapped

afw_model_internal_context_current_property_to_mapped[]
Initial value:
= {
&impl_current_variable_adaptorId,
&impl_current_variable_object,
&impl_current_variable_objectId,
&impl_current_variable_objectType,
&impl_current_variable_propertyName,
&impl_current_variable_value,
NULL
}

Definition at line 1046 of file afw_model_context.c.

◆ afw_model_internal_context_current_replace_object

afw_model_internal_context_current_replace_object[]
Initial value:
= {
&impl_current_variable_adaptorId,
&impl_current_variable_object,
&impl_current_variable_objectId,
&impl_current_variable_objectType,
&impl_current_variable_useDefaultProcessing,
NULL
}

Definition at line 1105 of file afw_model_context.c.

◆ afw_model_internal_context_current_retrieve_objects

afw_model_internal_context_current_retrieve_objects[]
Initial value:
= {
&impl_current_variable_adaptorId,
&impl_current_variable_adaptorTypeSpecific,
&impl_current_variable_returnObject,
&impl_current_variable_mapBackObject,
&impl_current_variable_objectType,
&impl_current_variable_queryCriteria,
&impl_current_variable_useDefaultProcessing,
&impl_current_variable_mappedAdaptorId,
&impl_current_variable_mappedObjectType,
NULL
}

Definition at line 1116 of file afw_model_context.c.

◆ afw_model_internal_context_current_runtime_ctx

afw_model_internal_context_current_runtime_ctx[]
Initial value:
= {
&impl_current_variable_mappedAdaptorId,
&impl_current_variable_mappedObject,
&impl_current_variable_mappedObjectId,
&impl_current_variable_mappedObjectType,
&impl_current_variable_mappedPropertyName,
&impl_current_variable_mappedValue,
&impl_current_variable_adaptorId,
&impl_current_variable_object,
&impl_current_variable_objectId,
&impl_current_variable_objectType,
&impl_current_variable_propertyName,
&impl_current_variable_value,
NULL
}

Definition at line 1160 of file afw_model_context.c.

◆ impl_useDefaultProcessing

const afw_value_null_t impl_useDefaultProcessing
Initial value:
= {
}
afw_value_evaluated_null_inf
Unmanaged evaluated value inf for data type null.

Definition at line 33 of file afw_model_context.c.