/** * @author STF 340 * @version $Id: AtsDpmr_Types.ttcn 87 2008-02-22 15:53:29Z petersenj $ * @desc Data type definitions for information elements for digital Public * Mobile Radio (dPMR) messages */ module functionalityTest { import from Examplemodule {group ExampleGroup}; import from Examplemodule {function ExampleFunction, ExampleFunction; const con2}; import from Examplemodule {const con1}; import from Examplemodule all except {const con1, con2; function all}; import from Examplemodule recursive all; group types{ group Structured{ type component Comp{}; type record Rec{}; type integer Int; type set of Rec SetOfRec; type port Port message{ in Rec; out Rec; }; type enumerated Enum{ Rec, Int}; type set Set{}; type record of Rec RecordOfRec; type union Union{RecordOfRec un1, SetOfRec un2}; } group subtype{ type Rec RecType; type integer IntType; } } group functions{ function f_1(Comp par1, Rec par2, boolean par3) runs on Rec{ var Port var1; if(par3){ } else{ } } } group constants{ const integer c1 := 1, c2 := 2; } }