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

From TASTE
Jump to: navigation, search
(Created page with "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 ope...")
 
Line 7: Line 7:
  
  
INTEGER types
+
= INTEGER types =
===
 
  
  

Revision as of 09:42, 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)

=