Commit 18ed6ad9 authored by yoogx's avatar yoogx
Browse files

* Add new properties to Data_Model, per latest errata

parent b6d85419
...@@ -24,25 +24,33 @@ property set Data_Model is ...@@ -24,25 +24,33 @@ property set Data_Model is
-- types (10**(-scale) is the precision). -- types (10**(-scale) is the precision).
Data_Representation : enumeration Data_Representation : enumeration
(Array, Boolean, Character, Enum, Float, (Array, Boolean, Character, Enum, Float,
Fixed, Integer, String, Struct, Union) Fixed, Integer, String, Struct, Union)
applies to ( data ); applies to ( data );
-- The Data_Representation property may be used to specify the -- The Data_Representation property may be used to specify the
-- representation of simple or composite data types within the -- representation of simple or composite data types within the
-- programming language source code. -- programming language source code.
-- Note: An implementation is allowed to support only a subset of -- Note: An implementation is allowed to support only a subset of
-- these structures. -- these structures.
Dimension : list of aadlinteger applies to ( data ); Dimension : list of aadlinteger applies to ( data );
-- The Dimension property is used to specify the dimensions of a -- The Dimension property is used to specify the dimensions of a
-- multi-dimensional array, ordered. This property shall be used -- multi-dimensional array, ordered. This property shall be used
-- in conjunction with the Data_Representation property. -- in conjunction with the Data_Representation property.
Indefinite_Dimension : constant aadlinteger => -1;
-- Use this constant to indicate that one of the dimension of your
-- array is non definite for now
Infinite_Dimension : constant aadlinteger => -2;
-- Use this constant to indicate that this array is (potentially) of
-- unbounded size.
Element_Names : list of aadlstring applies to ( data ); Element_Names : list of aadlstring applies to ( data );
-- The Element_Names provides the names of a struct or union -- The Element_Names provides the names of a struct or union
-- members in order of appearance as defined by the Base_Type -- members in order of appearance as defined by the Base_Type
-- property. -- property.
Enumerators : list of aadlstring applies to ( data ); Enumerators : list of aadlstring applies to ( data );
-- The Enumerators provides the list of enumeration litterals -- The Enumerators provides the list of enumeration litterals
-- attached to an enumeration data component. -- attached to an enumeration data component.
...@@ -82,9 +90,8 @@ property set Data_Model is ...@@ -82,9 +90,8 @@ property set Data_Model is
-- data component. This property is used to represent real range -- data component. This property is used to represent real range
-- constraints on data that is of some real type. -- constraints on data that is of some real type.
Representation : list of aadlstring applies to ( data ); Representation : list of aadlstring applies to ( data );
-- Representation specifies the actual representation of -- Representation specifies the actual representation of
-- enumerators value. -- enumerators value.
end Data_Model; end Data_Model;
...@@ -26,6 +26,8 @@ data) ...@@ -26,6 +26,8 @@ data)
Dimension : list of aadlinteger Dimension : list of aadlinteger
applies to (data); applies to (data);
Indefinite_Dimension : constant aadlinteger => -1;
Infinite_Dimension : constant aadlinteger => -2;
Element_Names : list of aadlstring Element_Names : list of aadlstring
applies to (data); applies to (data);
......
...@@ -26,6 +26,8 @@ data) ...@@ -26,6 +26,8 @@ data)
Dimension : list of aadlinteger Dimension : list of aadlinteger
applies to (data); applies to (data);
Indefinite_Dimension : constant aadlinteger => -1;
Infinite_Dimension : constant aadlinteger => -2;
Element_Names : list of aadlstring Element_Names : list of aadlstring
applies to (data); applies to (data);
......
...@@ -26,6 +26,8 @@ data) ...@@ -26,6 +26,8 @@ data)
Dimension : list of aadlinteger Dimension : list of aadlinteger
applies to (data); applies to (data);
Indefinite_Dimension : constant aadlinteger => -1;
Infinite_Dimension : constant aadlinteger => -2;
Element_Names : list of aadlstring Element_Names : list of aadlstring
applies to (data); applies to (data);
......
...@@ -26,6 +26,8 @@ data) ...@@ -26,6 +26,8 @@ data)
Dimension : list of aadlinteger Dimension : list of aadlinteger
applies to (data); applies to (data);
Indefinite_Dimension : constant aadlinteger => -1;
Infinite_Dimension : constant aadlinteger => -2;
Element_Names : list of aadlstring Element_Names : list of aadlstring
applies to (data); applies to (data);
......
...@@ -26,6 +26,8 @@ data) ...@@ -26,6 +26,8 @@ data)
Dimension : list of aadlinteger Dimension : list of aadlinteger
applies to (data); applies to (data);
Indefinite_Dimension : constant aadlinteger => -1;
Infinite_Dimension : constant aadlinteger => -2;
Element_Names : list of aadlstring Element_Names : list of aadlstring
applies to (data); applies to (data);
......
------------------------------------------
------ Ocarina Petri Nets Generator ------
------------------------------------------
Backends: fatal error : Petri Net backend : incomplete AADL model Backends: fatal error : Petri Net backend : incomplete AADL model
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment