Debian Codegraph @

help/info/encode.html

raw symbols SCIP
1 <!--
2 Copyright (c) 2000-2021 Ericsson Telecom AB
3 All rights reserved. This program and the accompanying materials
4 are made available under the terms of the Eclipse Public License v2.0
5 which accompanies this distribution, and is available at
6 https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html
7
8 Contributors:
9 Baji, Laszlo
10 Balasko, Jeno
11 Farkas, Laszlo
12 Gecse, Roland
13 Szabados, Kristof
14 Zalanyi, Balazs Andor
15 -->
16 <html>
17 <head>
18 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
19 <meta http-equiv="Content-Language" content="en-us">
20 <title>encode</title>
21 </head>
22 <body bgcolor="#DAD3C5" vlink="#0094D2" link="#003258">
23 <table align="left" border="0" cellspacing="0" cellpadding="0" valign=top>
24 <tr>
25 <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>
26 </tr>
27 </table>
28 <table border="0" align="right" cellpadding="0" cellspacing="0">
29 <tr>
30 <td><a href="../titan_main.html" alt="contents"><img border="0" src="../images/ao.jpg" width="53" height="40"></a></td>
31 <td><a href="../titan_index.html" alt="index"><img border="0" src="../images/up.jpg" width="53" height="40"></a></td>
32 <td><a href="else.html" alt="previous"><img border="0" src="../images/left.jpg" width="53" height="40"></a></td>
33 <td><a href="encode_base64.html" alt="next"><img border="0" src="../images/right.jpg" width="53" height="40"></a></td>
34 </tr>
35 </table>
36 <p><br clear="all">
37 </p>
38 <hr>
39 <h1>encode</h1>
40 <hr align="left" width="75%">
41 <p>The attribute allows the association of some referenced encoding rule or encoding directive to be made to a TTCN-3 definition. The syntax for the argument of the statement (i.e. the actual
42 attributes) is defined as a free text string.
43 <p>Related keywords:</p>
44 <ul>
45 <li><a href="with.html"><b><font face="Courier New" color="#003258" size="4">with</font></b></a></li>
46 <li><a href="override.html"><b><font face="Courier New" color="#003258" size="4">override</font></b></a></li>
47 </ul>
48 <hr align="left" width="50%">
49 <div align="center">
50 <center>
51 <table border="0" width="90%" bgcolor="#FFB599" cellpadding="4">
52 <tr>
53 <td width="100%">
54 <h3 align="center"><font face="Courier New" color="#003258" size="5"><b>encode</b></font> [ <font face="Courier New" color="#003258" size="5"><b>override</b></font> ] [ <font
55 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
56 face="Courier New" color="#003258" size="5">&quot;</font></b></h3>
57 </td>
58 </tr>
59 </table>
60 </center>
61 </div>
62 <ul>
63 <li>
64 <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>
65 </li>
66 <li>
67 <p>the optional <i>qualifier</i> points out the entity for which the argument is valid.</p>
68 </li>
69 <li>
70 <p><i>argument</i> is a free-text string specifying the actual attribute. TITAN defines attributes RAW and TEXT for encoding TTCN-3 type definitions.</p>
71 </li>
72 </ul>
73 <hr align="left" width="50%">
74 <p>Example:</p>
75 <code> module MyModule {<BR>
76 /* Imagine module body here */<BR>
77 } with { encode "RAW" }<BR>
78 </code>
79 <p>Type definitions within MyModule are to be encoded using TITAN RAW encoder/decoder.
80 <hr align="left" width="25%">
81 <hr align="left" width="25%">
82 <p><a HREF="BNF.html#attribkeyword">BNF definition</a> of <font face="Courier New"> encode</font></p>
83 </body>
84 </html>