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

Implementation of afw_object interface for in-memory objects. 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.

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   "memory"
 

Functions

 afw_object_create_with_options (int options, const afw_pool_t *p, afw_xctx_t *xctx)
 Create an empty entity object with options. More...
 
 afw_object_create_embedded (const afw_object_t *embedding_object, const afw_utf8_t *property_name, afw_xctx_t *xctx)
 Create an empty embedded object in a memory object. More...
 
 afw_object_insure_embedded_exists (const afw_object_t *embedding_object, const afw_utf8_t *property_name, afw_xctx_t *xctx)
 Insure embedded object exists creating if necessary. 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_timpl_afw_object_get_property (const afw_object_t *instance, const afw_utf8_t *property_name, afw_xctx_t *xctx)
 
const afw_value_timpl_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_timpl_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)
 

Detailed Description

Implementation of afw_object interface for in-memory objects.

Definition in file afw_object_memory.c.