Adaptive Framework
0.9.0
|
Interface helpers for afw_object. More...
#include "afw_internal.h"
#include "afw_object_impl_declares.h"
#include "afw_object_setter_impl_declares.h"
Go to the source code of this file.
Data Structures | |
struct | impl_get_next_property_iterator_t |
Macros | |
#define | impl_afw_object_get_meta afw_object_impl_internal_get_meta |
#define | impl_afw_object_get_property_meta afw_object_impl_internal_get_property_meta |
#define | impl_afw_object_get_next_property_meta afw_object_impl_internal_get_next_property_meta |
#define | AFW_IMPLEMENTATION_ID "object_meta" |
#define | IMPL_ASSERT_META_MUTABLE(instance, xctx) |
Functions | |
afw_object_meta_add_needed_object_type (const afw_object_t *instance, const afw_object_t *object_type, afw_xctx_t *xctx) | |
Add a needed object type object. More... | |
afw_object_meta_clone_and_set (const afw_object_t *instance, const afw_object_t *from, afw_xctx_t *xctx) | |
Set object's meta using a clone of the meta of another object. More... | |
afw_object_meta_get_object_id_value (const afw_object_t *instance, afw_xctx_t *xctx) | |
Get entity object's object id value. More... | |
afw_object_meta_add_parent_path (const afw_object_t *instance, const afw_utf8_t *parent_path, afw_xctx_t *xctx) | |
Add a parent path to instance's meta. More... | |
afw_object_meta_get_parent_paths_value (const afw_object_t *instance, afw_xctx_t *xctx) | |
Get meta parentPaths property value. More... | |
afw_object_meta_get_object_id (const afw_object_t *instance, afw_xctx_t *xctx) | |
Get entity object's object id. More... | |
afw_object_meta_get_property_name (const afw_object_t *instance, afw_xctx_t *xctx) | |
Get object's property name in embedding object. More... | |
afw_object_meta_get_path (const afw_object_t *instance, afw_xctx_t *xctx) | |
Get an object's path. More... | |
afw_object_meta_get_property_type (const afw_object_t *instance, const afw_utf8_t *property_name, afw_xctx_t *xctx) | |
Get the property type object for an object's property from the meta of an object, creating it if needed. More... | |
afw_object_meta_set_meta_object (const afw_object_t *instance, const afw_object_t *meta, afw_xctx_t *xctx) | |
Set an object's meta from a meta object. More... | |
afw_object_meta_set_empty (const afw_object_t *instance, afw_xctx_t *xctx) | |
Create and set object's meta to an empty object and return delta. More... | |
afw_object_meta_get_nonempty_meta_object (const afw_object_t *instance, afw_xctx_t *xctx) | |
Return meta object for an object creating an empty one if needed. More... | |
afw_object_meta_get_nonempty_delta (const afw_object_t *instance, afw_xctx_t *xctx) | |
Return meta delta object for an object creating an empty one if needed. More... | |
afw_object_meta_set_object_type (const afw_object_t *instance, const afw_object_type_t *object_type, afw_xctx_t *xctx) | |
Set object's object type id. More... | |
afw_object_meta_set_object_type_id (const afw_object_t *instance, const afw_utf8_t *object_type_id, afw_xctx_t *xctx) | |
Set object's object type id. More... | |
afw_object_meta_set_parent_paths (const afw_object_t *instance, const afw_value_list_t *parent_paths, afw_xctx_t *xctx) | |
Set meta parentPaths property. More... | |
afw_object_meta_set_ids (const afw_object_t *instance, const afw_utf8_t *adaptor_id, const afw_utf8_t *object_type_id, const afw_utf8_t *object_id, afw_xctx_t *xctx) | |
Set object's ids. More... | |
afw_object_meta_set_ids_using_path (const afw_object_t *instance, const afw_utf8_t *path, afw_xctx_t *xctx) | |
Set object's ids using path. More... | |
afw_object_meta_set_read_only (const afw_object_t *instance, afw_xctx_t *xctx) | |
Set object's meta to indicate object is read-only. More... | |
afw_object_meta_add_error (const afw_object_t *instance, const afw_utf8_t *message, afw_xctx_t *xctx) | |
Add an error message to instance's meta. More... | |
afw_object_meta_has_errors (const afw_object_t *instance, afw_xctx_t *xctx) | |
Check if object flagged for errors. More... | |
afw_object_meta_log_errors (const afw_object_t *instance, const afw_utf8_t *source_location, afw_xctx_t *xctx) | |
Log meta errors. More... | |
afw_object_meta_add_thrown_error (const afw_object_t *instance, const afw_error_t *error, afw_xctx_t *xctx) | |
Add a thrown error to instance's meta. More... | |
afw_object_meta_add_property_error (const afw_object_t *instance, const afw_utf8_t *property_name, const afw_utf8_t *message, afw_xctx_t *xctx) | |
Add an error message for a property to instance's meta. More... | |
afw_object_meta_add_thrown_property_error (const afw_object_t *instance, const afw_utf8_t *property_name, afw_integer_t index, const afw_error_t *error, afw_xctx_t *xctx) | |
Add a thrown error for a property to instance's meta. More... | |
void | impl_afw_object_release (const afw_object_t *instance, afw_xctx_t *xctx) |
void | impl_afw_object_add_reference (const afw_object_t *instance, afw_xctx_t *xctx) |
afw_size_t | impl_afw_object_get_count (const afw_object_t *instance, afw_xctx_t *xctx) |
const afw_value_t * | impl_afw_object_get_property (const afw_object_t *instance, const afw_utf8_t *property_name, afw_xctx_t *xctx) |
const afw_value_t * | impl_afw_object_get_next_property (const afw_object_t *instance, const afw_iterator_t **iterator, const afw_utf8_t **property_name, afw_xctx_t *xctx) |
afw_boolean_t | impl_afw_object_has_property (const afw_object_t *instance, const afw_utf8_t *property_name, afw_xctx_t *xctx) |
const afw_object_setter_t * | impl_afw_object_get_setter (const afw_object_t *instance, afw_xctx_t *xctx) |
void | impl_afw_object_setter_set_immutable (const afw_object_setter_t *instance, afw_xctx_t *xctx) |
void | impl_afw_object_setter_set_property (const afw_object_setter_t *instance, const afw_utf8_t *property_name, const afw_value_t *value, afw_xctx_t *xctx) |
Interface helpers for afw_object.
Definition in file afw_object_meta.c.
#define IMPL_ASSERT_META_MUTABLE | ( | instance, | |
xctx | |||
) |
Definition at line 33 of file afw_object_meta.c.