coriolis/stratus1/doc/patterns/latex/patterns/node3.html

67 lines
2.3 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!--Converted with LaTeX2HTML 2012 (1.2)
original version by: Nikos Drakos, CBLU, University of Leeds
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
<TITLE>Declaration part</TITLE>
<META NAME="description" CONTENT="Declaration part">
<META NAME="keywords" CONTENT="patterns">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<META NAME="Generator" CONTENT="LaTeX2HTML v2012">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
<LINK REL="STYLESHEET" HREF="SoC.css">
<LINK REL="next" HREF="node4.html">
<LINK REL="previous" HREF="node2.html">
<LINK REL="up" HREF="node2.html">
<LINK REL="next" HREF="node4.html">
</HEAD>
<BODY >
<DIV CLASS="navigation">
<table align="center" width="100%" cellpadding="0" cellspacing="2">
<tr><td class="navigation" align="left" width="33%"><B>Previous</B></td>
<td class="navigation" align="center" width="34%"><B>Up</B></td>
<td class="navigation" align="right" width="33%"><B>Next</B></td>
</tr><tr>
<td class="navigation" align="left" width="33%"><A HREF="node2.html">Syntax</A></td>
<td class="navigation" align="center" width="34%"><A HREF="node2.html">Syntax</A></td>
<td class="navigation" align="right" width="33%"><A HREF="node4.html">Description part</A></td>
</tr></table>
<hr>
<br>
</DIV>
<!--End of Navigation Panel-->
<H2><A NAME="SECTION00021000000000000000">
Declaration part</A>
</H2>
The first thing you should do in this part is to instantiate the class
<code>Patwrite</code> to have access to all patterns declaration and description
methods. The constructor of this class take as parameters the name of pattern
output file and the <SPAN CLASS="textit">Stratus</SPAN> cell that is described (see <code>PatWrite</code>
<A HREF="node6.html#patwrite">3.1</A>).
<BR>
Then, this part allows you to declare the inputs, the outputs, and internal
observing points (see <code>declar</code><A HREF="node9.html#declar">3.4</A> and <code>declar_interface</code>
<A HREF="node8.html#declar_interface">3.3</A>).
<P>
<BR> <HR>
<ADDRESS>
Sophie B<small>ELLOEIL</small><br>20051116.1
</ADDRESS>
</BODY>
</HTML>