3 type COMPLETION_CODE
is (SUCCESS
, FAILURE
, NONE
);
5 type T_SW_TYPE
is (NONE
, COMPLETION_CODE_TYPE
);
7 type T_COMPLETION_CODE_RANGE
(CONSTRAINED
: BOOLEAN := FALSE) is
11 FIRST
: COMPLETION_CODE
:= SUCCESS
;
12 LAST
: COMPLETION_CODE
:= FAILURE
;
18 type T_SW_DIMENSIONS
is range 0 .. 3;
20 type T_SW_INDEX_LIST
is array (T_SW_DIMENSIONS
range <>) of POSITIVE;
22 type T_SW_TYPE_DESCRIPTOR
(SW_TYPE
: T_SW_TYPE
:= NONE
;
23 DIMENSION
: T_SW_DIMENSIONS
:= 0) is
25 BOUNDS
: T_SW_INDEX_LIST
(1 .. DIMENSION
);
29 when COMPLETION_CODE_TYPE
=>
30 COMPLETION_CODE_RANGE
: T_COMPLETION_CODE_RANGE
;
38 type SW_TYPE_INFO
is access T_SW_TYPE_DESCRIPTOR
;
40 procedure ASSIGN
(TARGET
: in out SW_TYPE_INFO
; SOURCE
: in SW_TYPE_INFO
) ;