Adaptive Framework  0.9.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
afw_model.c
Go to the documentation of this file.
1 // See the 'COPYING' file in the project root for licensing information.
2 /*
3  * Adaptive Framework Model Support
4  *
5  * Copyright (c) 2010-2023 Clemson University
6  *
7  */
8 
9 
15 #include "afw_internal.h"
16 
17 
18 
19 /* Get the model object type for an object type id from model. */
22  const afw_utf8_t *object_type_id, afw_xctx_t *xctx)
23 {
24  return apr_hash_get(model->model_object_types,
25  object_type_id->s, object_type_id->len);
26 }
AFW_DEFINE(const afw_object_t *)
Adaptive Framework Core Internal.
struct afw_model_internal_s afw_model_t
afw_model_get_object_type(const afw_model_t *model, const afw_utf8_t *object_type_id, afw_xctx_t *xctx)
Get the model object type for an object type id from model.
Definition: afw_model.c:21
Struct for afw_model_object_type_t property_type_other member.
NFC normalized UTF-8 string.
Definition: afw_common.h:545
Interface afw_xctx public struct.