DTNMA Reference Tools v2.0.0 - 7.g88e232c
Delay-Tolerant Networking Management Architecture (DTNMA) Tool Suite
|
Defines a general-purpose ARI structure. More...
#include <base.h>
Data Fields | ||
bool | is_ref | |
Determine which member struct contains the value. | ||
union { | ||
cace_ari_lit_t as_lit | ||
Used when is_ref is false. | ||
cace_ari_ref_t as_ref | ||
Used when is_ref is true. | ||
}; | ||
Defines a general-purpose ARI structure.
The ARI being captured here can be either literal-value, using the cace_ari_lit_t struct, or an object or namespace reference value, using the cace_ari_ref_t struct, consistent with the cace_ari_s::is_ref value.
bool cace_ari_t::is_ref |
Determine which member struct contains the value.
If true the as_ref is the value, if false the as_lit is the value.
Referenced by cace_amm_semtype_cnst_is_valid(), cace_ari_cbor_encode_stream(), cace_ari_cget_bstr(), cace_ari_cget_tstr(), cace_ari_cmp(), cace_ari_equal(), cace_ari_get_bool(), cace_ari_get_byte(), cace_ari_get_int(), cace_ari_get_uint(), cace_ari_get_uvast(), cace_ari_get_vast(), cace_ari_init_lit(), cace_ari_init_objref(), cace_ari_is_bool(), cace_ari_is_lit_typed(), cace_ari_is_null(), cace_ari_is_undefined(), and cace_ari_not_undefined().