DTNMA Reference Tools v2.1.0 - 13.gc5c0bac
Delay-Tolerant Networking Management Architecture (DTNMA) Tool Suite
Loading...
Searching...
No Matches
refda_oper_eval_ctx_t Struct Reference

Context for OPER evaluation activities. More...

#include <oper_eval_ctx.h>

+ Collaboration diagram for refda_oper_eval_ctx_t:

Data Fields

refda_eval_ctx_tevalctx
 Parent production context.
 
const cace_amm_lookup_tderef
 Dereference result for OPER which led to this evaluation.
 
const refda_amm_oper_desc_toper
 Descriptor for the EDD being produced from.
 
cace_ari_itemized_t operands
 Operands which have already been popped from the stack and converted to the OPER-specific operand types.
 
cace_ari_t result
 Storage for the evaluation result.
 

Detailed Description

Context for OPER evaluation activities.

Field Documentation

◆ deref

const cace_amm_lookup_t* refda_oper_eval_ctx_t::deref

Dereference result for OPER which led to this evaluation.

This includes actual parameters for the evaluation. This will never be NULL.

Referenced by refda_oper_eval_ctx_deinit(), refda_oper_eval_ctx_get_aparam_index(), refda_oper_eval_ctx_get_aparam_name(), refda_oper_eval_ctx_has_aparam_undefined(), refda_oper_eval_ctx_init(), and refda_oper_eval_ctx_populate().

◆ evalctx

refda_eval_ctx_t* refda_oper_eval_ctx_t::evalctx

◆ oper

const refda_amm_oper_desc_t* refda_oper_eval_ctx_t::oper

Descriptor for the EDD being produced from.

This will never be null.

Referenced by refda_oper_eval_ctx_deinit(), refda_oper_eval_ctx_init(), and refda_oper_eval_ctx_populate().

◆ operands

cace_ari_itemized_t refda_oper_eval_ctx_t::operands

Operands which have already been popped from the stack and converted to the OPER-specific operand types.

Operands are different from parameters in deref. The order of these operands is the same as the OPER definition.

Referenced by refda_eval_oper(), refda_oper_eval_ctx_deinit(), refda_oper_eval_ctx_get_operand_index(), refda_oper_eval_ctx_get_operand_name(), refda_oper_eval_ctx_has_operand_undefined(), refda_oper_eval_ctx_init(), and refda_oper_eval_ctx_populate().

◆ result

cace_ari_t refda_oper_eval_ctx_t::result

Storage for the evaluation result.

This is initialized as undefined and must be set to any other value to indicate successful evaluation.

Referenced by refda_eval_oper(), refda_oper_eval_ctx_deinit(), refda_oper_eval_ctx_init(), refda_oper_eval_ctx_set_result_copy(), and refda_oper_eval_ctx_set_result_move().


The documentation for this struct was generated from the following file: