Reserved Keywords (DATAFLOW Designer)

by Marco Wuelser

 

This Reference Article has been written for Version 2.1 of the DATAFLOW Software. For Previous Releases use the version selection in the navigation bar at the top of this page.

 

Certain keywords must not be used as element names in the DATAFLOW Designer. If such a name is used, an error is generated during the Model Validation and no code can be generated.

The reserved keywords ensure that no identifier in the generated code will have the same name as a reserved keyword of a supported programming language.

NOTE: All keywords are given in lower case. Because names are normalized, the reserved keywords are case insensitive. For example, the name 'for' 'For' and 'FOR' are all reserved keywords and must not be used.

C++ Reserved Keywords

For the C++ language, the list of keywords is based on the C++ standard.

The following keywords must not be used for any element name in the DATAFLOW model:

alignas, alignof, and, and_eq, asm, atomic_cancel, atomic_commit, atomic_noexcept, auto, _alignas, _alignof,
_atomic, bitand, bitor, bool, bool_t, break, _bool, case, catch, char, char_t, char8_t, char16_t, char32_t,
class, compl, concept, const, consteval, constexpr, const_cast, continue, co_await, co_return, co_yield,
_complex, decltype, default, define, defined, delete, do, double, dynamic_cast, else, elif, endif, enum, error,
explicit, export, extern, false, final, float, float32_t, float64_t, for, fortran, friend, goto, generic,
_has_include, _has_cpp_attribute, if, ifdef, ifndef, include, inline, int, int16_t, int32_t, int64_t, int8_t,
irq, _imaginary, line, long, max, message, min, module, mutable, namespace, new, noexcept, not, not_eq, nullptr,
_noreturn, operator, or, or_eq, pragma, private, priority, protected, protocol, public, _pragma, reflexpr,
register, reinterpret_cast, requires, return, short, signed, size, sizeof, static, static_assert, static_cast,
string, struct, switch, synchronized, _static_assert, template, this, thread_local, throw, transaction_safe,
transaction_safe_dynamic, true, try, type, typedef, typeid, typename, _thread_local, uint16_t, uint32_t,
uint64_t, uint8_t, undef, union, unsigned, using, virtual, void, volatile, weak, wchar_t, while, xor, xor_eq

Internal Reserved Keywords

The DATAFLOW toolchain uses certain identifiers in configuration files that must not be used for any element name:

activepart, activepartcontainer, activepartirq, array, asserthandler, channel, connectorin, connectorout, const,
coreaffinity, driver, driver-index, enumeration, eventpoolcapacitycallback, float32, float64, freerunningtimer,
from, function, identifier, idlecallback, import, int16, int32, int64, int8, irq, module-index, mut, oneshottimer,
parameter,
periodictimer, priority, protocol, range, remotepools, root, runtimeeventpools, runtimepools,
runtimestackpools,
stacksize, stateobject, statisticscalibration, struct, startupController, testbase, timeslice,
to, type, uint16, uint32, uint64, uint8, var, variabletimer, loglevel

Element specific reserved keywords

For certain elements, additional keywords are reserved:

Software Component

This includes System, System Component, Active Container, Active Part and Active Interrupt.:

system


Protocol

For protocols, the following additional names are reserved:

portin, portout


Enumeration

For enumerations, the following additional names are reserved:

enumerator, count

 

Required Module: DATAFLOW Designer

This Article has been written based on V2.1.1 of the DATAFLOW software. 
Latest update 2023-05-31 by WUM.

Go back