COSMOS core  1.0.2 (beta)
Comprehensive Open-architecture Solution for Mission Operations Systems
jsonoperand Struct Reference

JSON equation operand. More...

#include <jsondef.h>

Collaboration diagram for jsonoperand:

Public Attributes

uint16_t type
 JSON Operand Type. More...
 
union {
   double   value
 
   jsonhandle   data
 
}; 
 JSON Operand data: CONSTANT uses value, EQUATION and NAME use jsonhandle. More...
 

Detailed Description

JSON equation operand.

Structure representing a single operand of a JSON equation. Each operand can be one of: JSON_OPERAND_NULL, no operand; JSON_OPERAND_EQUATION, another equation; JSON_OPERAND_CONSTANT, a constant value; or JSON_OPERAND_NAME, a Namespace name.

Member Data Documentation

uint16_t jsonoperand::type

JSON Operand Type.

double jsonoperand::value
jsonhandle jsonoperand::data
union { ... }

JSON Operand data: CONSTANT uses value, EQUATION and NAME use jsonhandle.


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