navit  0.5.3-trunk
result Struct Reference

Data Fields

struct attr attr
 
double val
 
const char * var
 
int varlen
 
const char * attrn
 
int attrnlen
 
int allocated
 

Detailed Description

The result, or interim result, of evaluating a saved command.

Field Documentation

◆ allocated

int result::allocated

Whether the result has been calculated

Referenced by command_call_function(), command_get_attr(), command_set_attr(), result_free(), result_op(), and result_set().

◆ attr

struct attr result::attr

The attribute. If

int allocated
Definition: command.c:50

is true, it stores an object that was successfully retrieved. Else it is either a placeholder or a constant value.

Referenced by command_attr_type(), command_call_function(), command_evaluate_single(), command_evaluate_to_boolean(), command_get_attr(), command_register_callbacks(), command_set_attr(), eval_list(), eval_postfix(), get_int_bool(), get_next_object(), get_string(), resolve_object(), result_free(), result_op(), result_set(), set_double(), and set_int().

◆ attrn

const char* result::attrn

The name of an object that has been resolved but not yet retrieved,

NULL

otherwise. Only the first

int attrnlen
Definition: command.c:49

characters are significant.

Referenced by command_attr_type(), command_call_function(), command_get_attr(), command_set_attr(), eval_postfix(), eval_value(), resolve(), and resolve_object().

◆ attrnlen

int result::attrnlen

Number of significant characters in

const char * attrn
Definition: command.c:45


Referenced by command_attr_type(), command_call_function(), command_get_attr(), command_set_attr(), eval_postfix(), eval_value(), and resolve_object().

◆ val

double result::val

Referenced by get_double(), result_set(), and set_double().

◆ var

const char* result::var

If

is false, the name of the object to be resolved. Else, it is the name of the object successfully retrieved and stored in

Definition: attr.h:157

, or

NULL

if retrieval failed. Only the first

int varlen
Definition: command.c:44

characters are significant.

Referenced by command_attr_type(), command_call_function(), command_get_attr(), command_register_callbacks(), eval_postfix(), eval_value(), resolve_object(), and result_set().

◆ varlen

int result::varlen

Number of significant characters in

const char * var
Definition: command.c:39


Referenced by command_attr_type(), command_call_function(), command_get_attr(), eval_postfix(), eval_value(), get_next_object(), resolve_object(), and result_set().


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