Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Ada 2005
Ada 2005 support is available in the System Engineering and Ultimate editions of Enterprise Architect.
Enterprise Architect supports round trip engineering of Ada 2005, where the following conventions are used.
Stereotypes
Reference:
Stereotype |
Applies To |
Corresponds To |
---|---|---|
adaPackage |
Class |
A package specification in Ada 2005 without a tagged record. |
adaProcedure |
Class |
A procedure specification in Ada 2005. |
delegate |
Operation |
Access to a subprogram. |
enumeration |
Inner Class |
An enum type. |
struct |
Inner Class |
A record definition. |
typedef |
Inner Class |
A type definition, subtype definition, access type definition, renaming. |
Tagged Values
Reference:
Tag |
Applies To |
Corresponds To |
---|---|---|
Discriminant |
Inner Class with stereotype typedef |
The type's discriminant. |
IsAccess |
Parameter |
Determination of whether the parameter is an access variable. |
InstantiatedUnitType |
Inner Class with stereotype typedef |
The instantiated unit's type (Package / Procedure / Function). |
PartType |
Inner Class with stereotype typedef |
The part type (renames or new). |
Type |
Inner Class with stereotype typedef |
If Value = SubType, set subtype. If Value = Access, set access type. |
Topics:
Topic |
Detail |
See also |
---|---|---|
Other Conventions |
package HelloWorld is type HelloWorld is tagged record Att1: Natural; Att3: Integer; end record;
-- Public Functions function MyPublicFunction (P: HelloWorld) return String; procedure MyPublicFunction (P1: in out HelloWorld; AFlag: Boolean); private -- Private Functions function MyPrivateFunction (P: HelloWorld) return String; procedure MyPrivateFunction (P1: in out HelloWorld; AFlag: Boolean);
end HelloWorld; |
Learn More: