Difference between revisions of "Technical topic: OpenGEODE - SDL Operators: How to work with data"

From TASTE
Jump to: navigation, search
Line 1: Line 1:
Introduction
+
= Introduction =
===
 
  
 
The SDL language primarily targets the description of a system's behaviour. It is however also possible to manipulate data using a collection of built-in operators. This can be convenient to avoid depending on external, manually-written code to process the parameters of messages during the execution of a state machine transition.
 
The SDL language primarily targets the description of a system's behaviour. It is however also possible to manipulate data using a collection of built-in operators. This can be convenient to avoid depending on external, manually-written code to process the parameters of messages during the execution of a state machine transition.
Line 10: Line 9:
  
  
REAL types
+
= REAL types =  
===
 
  
  
ENUMERATED types
+
= ENUMERATED types =
===
 
  
CHOICE types
+
= CHOICE types =
===
 
  
  
SEQUENCE OF types (arrays)
+
= SEQUENCE OF types (arrays) =
===
 
  
 
+
= SEQUENCE types (records) =
SEQUENCE types (records)
 
===
 

Revision as of 09:44, 7 February 2019

Introduction

The SDL language primarily targets the description of a system's behaviour. It is however also possible to manipulate data using a collection of built-in operators. This can be convenient to avoid depending on external, manually-written code to process the parameters of messages during the execution of a state machine transition.

Variables are defined in the ASN.1 language and can express simple types (boolean, numbers and enumerated values) as well as complex data structures (records, arrays, and choices). Each type comes with some dedicated operators which are described in this page.


INTEGER types

REAL types

ENUMERATED types

CHOICE types

SEQUENCE OF types (arrays)

SEQUENCE types (records)