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, channel, connectorin, connectorout, coreaffinity,
driver, driver-index, enumeration, float32, float64, from, identifier, import, int16, int32, int64, int8, irq,
module-index, oneshottimer, periodictimer, priority, protocol, range, root, stacksize, startupController,
timeslice, to, uint16, uint32, uint64, uint8, variabletimer, loglevel
Element specific reserved keywords
For certain elements, additional keywords are reserved:
This includes System, System Component, Active Container, Active Part and Active Interrupt.:
For protocols, the following additional names are reserved:
For enumerations, the following additional names are reserved:
This Article has been written based on V1.6.1 of the DATAFLOW Designer software.
Latest update 2021-09-24 by WUM.