Data Type Editor
The
Data
Type Editor supports you in creating Data Types.
Open Data Type Editor |
CTRL+SHIFT+D, T |
Open Editor
To open the Data Type Editor, expand your DaVinci Adaptive project in
the DaVinci Project Explorer and
double click on
Open Project Dashboard. The Project Frame
opens showing the Project Home. You can then
open the Data Type Editor as follows:
-
Open the
Editor menu on
the top right of the Project Frame and click
the
Data
Type Editor command. -
Alternatively, use the context menu command
Open Data
Type Editor of the
Open Project Dashboard node in the
DaVinci Project Explorer. -
Alternatively, on the Dashboard page of the Project Home, click
Data Type
Editor in the Comfort Editors area.
The Data Type Editor opens in a new tab of the Project Frame.
Editor Toolbar
Besides the general editor functionalities (see Editor Concept ), the toolbar on the left side of the Data Type Editor provides the following feature:
Clone
Data Type: Clones an already available Data Type. A wizard will be
opened where the name, package, and file can be adapted.
Data Types
The Data Type editor is used to manage the following CPP Implementation Data Types supported by AUTOSAR Adaptive:
-
Value
types (for example, bool, float, double, int, uint) -
Strings -
Arrays -
Vectors -
Maps -
Structs -
Enums -
Type Refs -
Application Errors
CPP Implementation Data Types are used to model abstractions of C++ Data Types. In AUTOSAR modeling, this is most commonly used to define what kind of information is expected to be consumed or provided in a Service Interface, for example, what type of data (uint8, string, array, etc.).
Functionality
The Data Type Editor provides the functionalities listed below. If not
otherwise mentioned, the functionalities available in the
Form mode are described. If you want to manage the properties of an
element textually, switch to the
DML mode via
the toolbar and refer to
DaVinci Modeling Language
Editor for more information.
| Tree View Structure | Description of Functionalities |
|---|---|
|
Select a Value type in the tree view on the left side of the editor. The form page provides the following options:
|
|
Select a String in the tree view on the left side of the editor. The form page provides the following options:
|
|
Select an Array in the tree view on the left side of the editor. The form page provides the following options:
Array Parameters Area
|
|
Select a Vector in the tree view on the left side of the editor. The form page provides the following options:
Vector Parameters Area
|
|
Select a Map in the tree view on the left side of the editor. The form page provides the following options:
Map Parameters Area
|
|
Select a Struct in the tree view on the left side of the editor. The form page provides the following options:
Struct Parameters Area
|
|
Select an Enum in the tree view on the left side of the editor. The form page provides the following options:
Enum Parameters Area
|
|
Select an ApApplicationErrorDomain in the tree view on the left side of the editor. The form page provides the following options:
|
|
Select an ApApplicationErrorSet in the tree view on the left side of the editor. The form page provides the following options:
|
|
Select an ApApplicationError in the tree view on the left side of the editor. The form page provides the following options:
|








