Skip to main content

Module type_map

Module type_map 

Source
Expand description

Mapping IDL-Primitive → C++-Type-Strings.

Folgt OMG IDL4-CPP-Mapping §7.4 Tabelle 7.5 und Tabelle 7.6 (formal/2018-07-01). Nur die Foundation-Subset (Block B): primitive Skalare, Strings, sowie die Foundation-Container [std::vector], std::array, [std::variant], [std::optional].

Functions§

check_identifier
Pruefen + Fehler-Konversion: liefert Err, wenn name reserviert ist.
floating_to_cpp
Mapping fuer Floating-Subtypen. long double wird als CppGenError::UnsupportedConstruct gemeldet (Block-E-außerhalb des aktuellen Scopes).
integer_to_cpp
Mapping fuer Integer-Subtypen.
is_reserved
Prueft, ob ein Identifier ein C++-Keyword ist.
primitive_to_cpp
Mappt eine PrimitiveType auf den C++-Typ-Ausdruck (als &'static str).