Sync with 5.4.0
[deliverable/titan.core.git] / help / info / extension.html
1 <!--
2 Copyright (c) 2000-2015 Ericsson Telecom AB
3
4 All rights reserved. This program and the accompanying materials
5 are made available under the terms of the Eclipse Public License v1.0
6 which accompanies this distribution, and is available at
7 http://www.eclipse.org/legal/epl-v10.html
8 -->
9 <html>
10 <head>
11 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
12 <meta http-equiv="Content-Language" content="en-us">
13 <title>extension</title>
14 </head>
15 <body bgcolor="#DAD3C5" vlink="#0094D2" link="#003258">
16 <table align="left" border="0" cellspacing="0" cellpadding="0" valign=top>
17 <tr>
18 <td width=105 height=40><a href="https://projects.eclipse.org/projects/tools.titan"><img src="../images/titan_transparent.gif" border=0 width=105 height=40 align="left" alt="Titan"></a></td>
19 </tr>
20 </table>
21 <table border="0" align="right" cellpadding="0" cellspacing="0">
22 <tr>
23 <td><a href="../titan_main.html" alt="contents"><img border="0" src="../images/ao.jpg" width="53" height="40"></a></td>
24 <td><a href="../titan_index.html" alt="index"><img border="0" src="../images/up.jpg" width="53" height="40"></a></td>
25 <td><a href="execute.html" alt="previous"><img border="0" src="../images/left.jpg" width="53" height="40"></a></td>
26 <td><a href="external.html" alt="next"><img border="0" src="../images/right.jpg" width="53" height="40"></a></td>
27 </tr>
28 </table>
29 <p><br clear="all">
30 </p>
31 <hr>
32 <h1>extension</h1>
33 <hr align="left" width="75%">
34 <p>The attribute is specified by the user.&nbsp;
35 <p>In TITAN the following three arguments are specified:.&nbsp;
36 <ul>
37 <li>
38 <p>internal<br>
39 &nbsp; &nbsp;is appended to the port type definition if all instances of a TTCN–3 port type are intended to be used for internal communication only (i.e. between two TTCN–3 test components).</p>
40 </li>
41 <li>
42 <p>address<br>
43 &nbsp;&nbsp;is appended to the port type definition if the user wants to use <b><font face="Courier New"> address</font></b> values in TTCN–3 port operations.</p>
44 </li>
45 <li>
46 <p>done<br>
47 &nbsp;&nbsp; is appended to a function with <b><font face="Courier New"> runs</font></b> <b><font face="Courier New"> on</font></b> clause if the return value of that function must be retrieved
48 after the corresponding component was stopped.</p>
49 </li>
50 </ul>
51 <p>Related keywords:</p>
52 <ul>
53 <li><a href="with.html"><b><font face="Courier New" color="#003258" size="4">with</font></b></a></li>
54 <li><a href="override.html"><b><font face="Courier New" color="#003258" size="4">override</font></b></a></li>
55 </ul>
56 <hr align="left" width="50%">
57 <div align="center">
58 <center>
59 <table border="0" width="90%" bgcolor="#FFB599" cellpadding="4">
60 <tr>
61 <td width="100%">
62 <h3 align="center"><font face="Courier New" color="#003258" size="5"><b>extension</b></font> [ <font face="Courier New" color="#003258" size="5"><b>override</b></font> ] [ <font
63 face="Courier New" color="#003258" size="5"><b>(</b></font><i>qualifier</i><font face="Courier New" color="#003258" size="5"><b>)</b></font> ] <font face="Courier New" color="#003258" size="5"><b>&quot;</b></font><i>argument</i><b><font
64 face="Courier New" color="#003258" size="5">&quot;</font></b></h3>
65 </td>
66 </tr>
67 </table>
68 </center>
69 </div>
70 <ul>
71 <li>
72 <p>the optional <b><font face="Courier New">override</font></b> directive forces all contained types at all lower scopes to be forced to the specified attribute.</p>
73 </li>
74 <li>
75 <p>the optional <i>qualifier</i> points out the entity for which the argument is valid.</p>
76 </li>
77 <li>
78 <p><i>argument</i> is a free-text string specifying the actual attribute.</p>
79 </li>
80 </ul>
81 <hr align="left" width="50%">
82 <p>Example:
83 <p><font face="Courier New">type port Vnitrni_PT message { inout octetstring } with { extension &quot;internal&quot;}</font></p>
84 <p>The port called&nbsp; Vnitrni_PT both sends and receives octetstrings and is used for internal communication only.</p>
85 <hr align="left" width="25%">
86 <hr align="left" width="25%">
87 <p><a HREF="BNF.html#attribkeyword">BNF definition</a> of <font face="Courier New"> extension</font></p>
88 </body>
89 </html>
This page took 0.052011 seconds and 5 git commands to generate.