blob: b2411dc1d91deed32432b18213c9176020ce503d [file] [log] [blame]
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>MappingLoop</title>
<link href="book.css" rel="stylesheet" type="text/css">
<meta content="DocBook XSL Stylesheets V1.75.1" name="generator">
<link rel="home" href="index.html" title="QVT Declarative Documentation">
<link rel="up" href="qvtimperative.html" title="qvtimperative">
<link rel="prev" href="MappingCall.html" title="MappingCall">
<link rel="next" href="MappingParameter.html" title="MappingParameter">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<h1 xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
MappingLoop
</h1>
<div class="section" title="MappingLoop">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both">
<a name="MappingLoop"></a>
<span class="bold"><strong>
<code class="code">MappingLoop</code>
</strong></span>
</h2>
</div>
</div>
</div>
<p>A MappingLoop supports an iteration of mapping invocations.</p>
<p>syntax:
<code class="code">for name : type in expression {...}</code>
</p>
<p>conformsTo
<a class="link" href="MappingStatement.html" title="MappingStatement">
<code class="code">MappingStatement</code>
</a>,
<a class="link" href="ObservableStatement.html" title="ObservableStatement">
<code class="code">ObservableStatement</code>
</a>
</p>
<p>
<span class="bold"><strong>Attributes</strong></span>
</p>
<p>
<code class="code">ownedIterators : OrderedSet(qvtimperative::LoopVariable)[*|1]</code>
</p>
<p>The iterator loop variable.</p>
<p>
<code class="code">ownedMappingStatements : OrderedSet(qvtimperative::MappingStatement)[*|1]</code>
</p>
<p>The statements to be iterated, typically a single MappingCall.</p>
<p>
<span class="bold"><strong>Associations</strong></span>
</p>
<p>
<code class="code">ownedExpression : OCLExpression[1]</code>
</p>
<p>The expression whose values provide the iterator values.</p>
</div>
</body>
</html>