Adaptive Framework  0.9.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Modules | Data Structures | Macros | Typedefs

Modules

 afw_value
 

Data Structures

struct  afw_value_s
 Interface afw_value public struct. More...
 
struct  afw_value_inf_s
 Interface afw_value_inf_s struct. More...
 

Macros

#define AFW_VALUE_INTERFACE_NAME   "afw_value"
 define for interface afw_value name.
 
#define afw_value_optional_release(instance, xctx)
 Call method optional_release of interface afw_value. More...
 
#define afw_value_get_reference(instance, p, xctx)
 Call method get_reference of interface afw_value. More...
 
#define afw_value_optional_evaluate(instance, p, xctx)
 Call method optional_evaluate of interface afw_value. More...
 
#define afw_value_get_data_type(instance, xctx)
 Call method get_data_type of interface afw_value. More...
 
#define afw_value_get_evaluated_data_type(instance, xctx)
 Call method get_evaluated_data_type of interface afw_value. More...
 
#define afw_value_get_evaluated_data_type_parameter(instance, xctx)
 Call method get_evaluated_data_type_parameter of interface afw_value. More...
 
#define afw_value_get_evaluated_meta(instance, p, xctx)
 Call method get_evaluated_meta of interface afw_value. More...
 
#define afw_value_get_evaluated_metas(instance, p, xctx)
 Call method get_evaluated_metas of interface afw_value. More...
 
#define afw_value_produce_compiler_listing(instance, writer, xctx)
 Call method produce_compiler_listing of interface afw_value. More...
 
#define afw_value_decompile(instance, writer, xctx)
 Call method decompile of interface afw_value. More...
 
#define afw_value_get_info(instance, info, p, xctx)
 Call method get_info of interface afw_value. More...
 

Typedefs

typedef void(* afw_value_optional_release_t) (const afw_value_t *instance, afw_xctx_t *xctx)
 
typedef const afw_value_t *(* afw_value_get_reference_t) (const afw_value_t *instance, const afw_pool_t *p, afw_xctx_t *xctx)
 
typedef const afw_value_t *(* afw_value_optional_evaluate_t) (const afw_value_t *instance, const afw_pool_t *p, afw_xctx_t *xctx)
 
typedef const afw_data_type_t *(* afw_value_get_data_type_t) (const afw_value_t *instance, afw_xctx_t *xctx)
 
typedef const afw_data_type_t *(* afw_value_get_evaluated_data_type_t) (const afw_value_t *instance, afw_xctx_t *xctx)
 
typedef const afw_utf8_t *(* afw_value_get_evaluated_data_type_parameter_t) (const afw_value_t *instance, afw_xctx_t *xctx)
 
typedef const afw_value_t *(* afw_value_get_evaluated_meta_t) (const afw_value_t *instance, const afw_pool_t *p, afw_xctx_t *xctx)
 
typedef const afw_value_t *(* afw_value_get_evaluated_metas_t) (const afw_value_t *instance, const afw_pool_t *p, afw_xctx_t *xctx)
 
typedef void(* afw_value_produce_compiler_listing_t) (const afw_value_t *instance, const afw_writer_t *writer, afw_xctx_t *xctx)
 
typedef void(* afw_value_decompile_t) (const afw_value_t *instance, const afw_writer_t *writer, afw_xctx_t *xctx)
 
typedef void(* afw_value_get_info_t) (const afw_value_t *instance, afw_value_info_t *info, const afw_pool_t *p, afw_xctx_t *xctx)
 

Detailed Description

Adaptive value.

Macro Definition Documentation

◆ afw_value_decompile

#define afw_value_decompile (   instance,
  writer,
  xctx 
)
Value:
(instance)->inf->decompile( \
(instance), \
(writer), \
(xctx) \
)

Call method decompile of interface afw_value.

Parameters
instancePointer to this adaptive value instance.
writerPointer to writer instance.
xctxThis is the caller's xctx.

Definition at line 5430 of file afw_interface.h.

◆ afw_value_get_data_type

#define afw_value_get_data_type (   instance,
  xctx 
)
Value:
(instance)->inf->get_data_type( \
(instance), \
(xctx) \
)

Call method get_data_type of interface afw_value.

Parameters
instancePointer to this adaptive value instance.
xctxThis is the caller's xctx.

Definition at line 5332 of file afw_interface.h.

◆ afw_value_get_evaluated_data_type

#define afw_value_get_evaluated_data_type (   instance,
  xctx 
)
Value:
(instance)->inf->get_evaluated_data_type( \
(instance), \
(xctx) \
)

Call method get_evaluated_data_type of interface afw_value.

Parameters
instancePointer to this adaptive value instance.
xctxThis is the caller's xctx.

Definition at line 5346 of file afw_interface.h.

◆ afw_value_get_evaluated_data_type_parameter

#define afw_value_get_evaluated_data_type_parameter (   instance,
  xctx 
)
Value:
(instance)->inf->get_evaluated_data_type_parameter( \
(instance), \
(xctx) \
)

Call method get_evaluated_data_type_parameter of interface afw_value.

Parameters
instancePointer to this adaptive value instance.
xctxThis is the caller's xctx.

Definition at line 5360 of file afw_interface.h.

◆ afw_value_get_evaluated_meta

#define afw_value_get_evaluated_meta (   instance,
  p,
  xctx 
)
Value:
(instance)->inf->get_evaluated_meta( \
(instance), \
(p), \
(xctx) \
)

Call method get_evaluated_meta of interface afw_value.

Parameters
instancePointer to this adaptive value instance.
IMPORTANT: Do not evaluate instance before calling since meta is harvested from the value's inf.
pPool to use for result.
xctxThis is the caller's xctx.

Definition at line 5377 of file afw_interface.h.

◆ afw_value_get_evaluated_metas

#define afw_value_get_evaluated_metas (   instance,
  p,
  xctx 
)
Value:
(instance)->inf->get_evaluated_metas( \
(instance), \
(p), \
(xctx) \
)

Call method get_evaluated_metas of interface afw_value.

Parameters
instancePointer to this adaptive value instance.
NOTE: Always evaluate instance before calling so that right value inf is used.
pPool to use for result.
xctxThis is the caller's xctx.

Definition at line 5396 of file afw_interface.h.

◆ afw_value_get_info

#define afw_value_get_info (   instance,
  info,
  p,
  xctx 
)
Value:
(instance)->inf->get_info( \
(instance), \
(info), \
(p), \
(xctx) \
)

Call method get_info of interface afw_value.

Parameters
instancePointer to this adaptive value instance.
infoStruct that will be filled by this method with info about this value.
pPool to use if needed.
xctxThis is the caller's xctx.

Definition at line 5449 of file afw_interface.h.

◆ afw_value_get_reference

#define afw_value_get_reference (   instance,
  p,
  xctx 
)
Value:
(instance)->inf->get_reference( \
(instance), \
(p), \
(xctx) \
)

Call method get_reference of interface afw_value.

Parameters
instancePointer to this adaptive value instance.
pPool for result.
xctxThis is the caller's xctx.

Definition at line 5299 of file afw_interface.h.

◆ afw_value_optional_evaluate

#define afw_value_optional_evaluate (   instance,
  p,
  xctx 
)
Value:
(instance)->inf->optional_evaluate( \
(instance), \
(p), \
(xctx) \
)

Call method optional_evaluate of interface afw_value.

Parameters
instancePointer to this adaptive value instance.
pPool for result.
xctxThis is the caller's xctx.

Definition at line 5316 of file afw_interface.h.

◆ afw_value_optional_release

#define afw_value_optional_release (   instance,
  xctx 
)
Value:
(instance)->inf->optional_release( \
(instance), \
(xctx) \
)

Call method optional_release of interface afw_value.

Parameters
instancePointer to this pool instance.
xctxThis is the caller's xctx.

Definition at line 5284 of file afw_interface.h.

◆ afw_value_produce_compiler_listing

#define afw_value_produce_compiler_listing (   instance,
  writer,
  xctx 
)
Value:
(instance)->inf->produce_compiler_listing( \
(instance), \
(writer), \
(xctx) \
)

Call method produce_compiler_listing of interface afw_value.

Parameters
instancePointer to this adaptive value instance.
writerPointer to writer instance.
xctxThis is the caller's xctx.

Definition at line 5413 of file afw_interface.h.

Typedef Documentation

◆ afw_value_decompile_t

typedef void(* afw_value_decompile_t) (const afw_value_t *instance, const afw_writer_t *writer, afw_xctx_t *xctx)
See also
afw_value_decompile()

Definition at line 5247 of file afw_interface.h.

◆ afw_value_get_data_type_t

typedef const afw_data_type_t*(* afw_value_get_data_type_t) (const afw_value_t *instance, afw_xctx_t *xctx)
See also
afw_value_get_data_type()

Definition at line 5208 of file afw_interface.h.

◆ afw_value_get_evaluated_data_type_parameter_t

typedef const afw_utf8_t*(* afw_value_get_evaluated_data_type_parameter_t) (const afw_value_t *instance, afw_xctx_t *xctx)

◆ afw_value_get_evaluated_data_type_t

typedef const afw_data_type_t*(* afw_value_get_evaluated_data_type_t) (const afw_value_t *instance, afw_xctx_t *xctx)
See also
afw_value_get_evaluated_data_type()

Definition at line 5214 of file afw_interface.h.

◆ afw_value_get_evaluated_meta_t

typedef const afw_value_t*(* afw_value_get_evaluated_meta_t) (const afw_value_t *instance, const afw_pool_t *p, afw_xctx_t *xctx)
See also
afw_value_get_evaluated_meta()

Definition at line 5226 of file afw_interface.h.

◆ afw_value_get_evaluated_metas_t

typedef const afw_value_t*(* afw_value_get_evaluated_metas_t) (const afw_value_t *instance, const afw_pool_t *p, afw_xctx_t *xctx)
See also
afw_value_get_evaluated_metas()

Definition at line 5233 of file afw_interface.h.

◆ afw_value_get_info_t

typedef void(* afw_value_get_info_t) (const afw_value_t *instance, afw_value_info_t *info, const afw_pool_t *p, afw_xctx_t *xctx)
See also
afw_value_get_info()

Definition at line 5254 of file afw_interface.h.

◆ afw_value_get_reference_t

typedef const afw_value_t*(* afw_value_get_reference_t) (const afw_value_t *instance, const afw_pool_t *p, afw_xctx_t *xctx)
See also
afw_value_get_reference()

Definition at line 5194 of file afw_interface.h.

◆ afw_value_optional_evaluate_t

typedef const afw_value_t*(* afw_value_optional_evaluate_t) (const afw_value_t *instance, const afw_pool_t *p, afw_xctx_t *xctx)
See also
afw_value_optional_evaluate()

Definition at line 5201 of file afw_interface.h.

◆ afw_value_optional_release_t

typedef void(* afw_value_optional_release_t) (const afw_value_t *instance, afw_xctx_t *xctx)
See also
afw_value_optional_release()

Definition at line 5188 of file afw_interface.h.

◆ afw_value_produce_compiler_listing_t

typedef void(* afw_value_produce_compiler_listing_t) (const afw_value_t *instance, const afw_writer_t *writer, afw_xctx_t *xctx)
See also
afw_value_produce_compiler_listing()

Definition at line 5240 of file afw_interface.h.