root/doc/html/classbdm_1_1datalink.html @ 323

Revision 323, 8.5 kB (checked in by smidl, 16 years ago)

doc

RevLine 
[275]1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
3<title>mixpp: bdm::datalink Class Reference</title>
4<link href="tabs.css" rel="stylesheet" type="text/css">
[290]5<link href="doxygen.css" rel="stylesheet" type="text/css">
[275]6</head><body>
[290]7<!-- Generated by Doxygen 1.5.8 -->
[275]8<script type="text/javascript">
9<!--
10function changeDisplayState (e){
11  var num=this.id.replace(/[^[0-9]/g,'');
12  var button=this.firstChild;
13  var sectionDiv=document.getElementById('dynsection'+num);
14  if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
15    sectionDiv.style.display='block';
16    button.src='open.gif';
17  }else{
18    sectionDiv.style.display='none';
19    button.src='closed.gif';
20  }
21}
22function initDynSections(){
23  var divs=document.getElementsByTagName('div');
24  var sectionCounter=1;
25  for(var i=0;i<divs.length-1;i++){
26    if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
27      var header=divs[i];
28      var section=divs[i+1];
29      var button=header.firstChild;
30      if (button!='IMG'){
31        divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
32        button=document.createElement('img');
33        divs[i].insertBefore(button,divs[i].firstChild);
34      }
35      header.style.cursor='pointer';
36      header.onclick=changeDisplayState;
37      header.id='dynheader'+sectionCounter;
38      button.src='closed.gif';
39      section.id='dynsection'+sectionCounter;
40      section.style.display='none';
41      section.style.marginLeft='14px';
42      sectionCounter++;
43    }
44  }
45}
46window.onload = initDynSections;
47-->
48</script>
49<div class="navigation" id="top">
50  <div class="tabs">
51    <ul>
52      <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
53      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
54      <li><a href="modules.html"><span>Modules</span></a></li>
[290]55      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
[275]56      <li><a href="files.html"><span>Files</span></a></li>
57    </ul>
58  </div>
59  <div class="tabs">
60    <ul>
61      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
[290]62      <li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
[275]63      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
64      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
65    </ul>
66  </div>
67  <div class="navpath"><b>bdm</b>::<a class="el" href="classbdm_1_1datalink.html">datalink</a>
68  </div>
69</div>
70<div class="contents">
[290]71<h1>bdm::datalink Class Reference</h1><!-- doxytag: class="bdm::datalink" -->DataLink is a connection between two data vectors Up and Down. 
72<a href="#_details">More...</a>
[275]73<p>
[290]74<code>#include &lt;<a class="el" href="libBM_8h-source.html">libBM.h</a>&gt;</code>
75<p>
[275]76
77<p>
[290]78<a href="classbdm_1_1datalink-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
[275]79<tr><td></td></tr>
80<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
81<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b8b5d5074fc1310a37c3713d58b900e2"></a><!-- doxytag: member="bdm::datalink::datalink" ref="b8b5d5074fc1310a37c3713d58b900e2" args="()" -->
82&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1datalink.html#b8b5d5074fc1310a37c3713d58b900e2">datalink</a> ()</td></tr>
83
84<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor. <br></td></tr>
85<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4016403730eb742462614d60393565cd"></a><!-- doxytag: member="bdm::datalink::datalink" ref="4016403730eb742462614d60393565cd" args="(const RV &amp;rv, const RV &amp;rv_up)" -->
86&nbsp;</td><td class="memItemRight" valign="bottom"><b>datalink</b> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;rv, const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;rv_up)</td></tr>
87
88<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fb8337aac8329eb0ca96bfb3ff73ec67"></a><!-- doxytag: member="bdm::datalink::set_connection" ref="fb8337aac8329eb0ca96bfb3ff73ec67" args="(const RV &amp;rv, const RV &amp;rv_up)" -->
89void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1datalink.html#fb8337aac8329eb0ca96bfb3ff73ec67">set_connection</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;rv, const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;rv_up)</td></tr>
90
91<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">set connection, rv must be fully present in rv_up <br></td></tr>
[290]92<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="724486a37002e7a3a73366c3af9b82ad"></a><!-- doxytag: member="bdm::datalink::set_connection" ref="724486a37002e7a3a73366c3af9b82ad" args="(int ds, int us, const ivec &amp;upind)" -->
93void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1datalink.html#724486a37002e7a3a73366c3af9b82ad">set_connection</a> (int ds, int us, const ivec &amp;upind)</td></tr>
94
95<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">set connection using indeces <br></td></tr>
[275]96<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5b5368c3899eed2f670d09142c2548e5"></a><!-- doxytag: member="bdm::datalink::pushdown" ref="5b5368c3899eed2f670d09142c2548e5" args="(const vec &amp;val_up)" -->
97vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1datalink.html#5b5368c3899eed2f670d09142c2548e5">pushdown</a> (const vec &amp;val_up)</td></tr>
98
99<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get val for myself from val of "Up". <br></td></tr>
100<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="610e966f2edb1fcd6a5b28267c571793"></a><!-- doxytag: member="bdm::datalink::pushup" ref="610e966f2edb1fcd6a5b28267c571793" args="(vec &amp;val_up, const vec &amp;val)" -->
101void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1datalink.html#610e966f2edb1fcd6a5b28267c571793">pushup</a> (vec &amp;val_up, const vec &amp;val)</td></tr>
102
103<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Fill val of "Up" by my pieces. <br></td></tr>
104<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
105<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bc8ff50395fc1066a1e486dea18d987c"></a><!-- doxytag: member="bdm::datalink::downsize" ref="bc8ff50395fc1066a1e486dea18d987c" args="" -->
106int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1datalink.html#bc8ff50395fc1066a1e486dea18d987c">downsize</a></td></tr>
107
108<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Remember how long val should be. <br></td></tr>
109<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0f0d0af6848114d96108d3a6af25a045"></a><!-- doxytag: member="bdm::datalink::upsize" ref="0f0d0af6848114d96108d3a6af25a045" args="" -->
110int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1datalink.html#0f0d0af6848114d96108d3a6af25a045">upsize</a></td></tr>
111
112<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Remember how long val of "Up" should be. <br></td></tr>
113<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="240b37d793c6bdc32824ed0a0541b1eb"></a><!-- doxytag: member="bdm::datalink::v2v_up" ref="240b37d793c6bdc32824ed0a0541b1eb" args="" -->
114ivec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1datalink.html#240b37d793c6bdc32824ed0a0541b1eb">v2v_up</a></td></tr>
115
116<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">val-to-val link, indeces of the upper val <br></td></tr>
117</table>
[290]118<hr><a name="_details"></a><h2>Detailed Description</h2>
119DataLink is a connection between two data vectors Up and Down.
120<p>
121Up can be longer than Down. Down must be fully present in Up (TODO optional) See chart: <div align="center">
122<img src="inline_dotgraph_4.dot.png" alt="inline_dotgraph_4.dot" border="0" usemap="#inline_dotgraph_4.dot.map">
123<map name="inline_dotgraph_4.dot.map"></map>
124</div>
125 <hr>The documentation for this class was generated from the following file:<ul>
[275]126<li><a class="el" href="libBM_8h-source.html">libBM.h</a></ul>
127</div>
[323]128<hr size="1"><address style="text-align: right;"><small>Generated on Thu Apr 23 21:06:45 2009 for mixpp by&nbsp;
[275]129<a href="http://www.doxygen.org/index.html">
[290]130<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
[275]131</body>
132</html>
Note: See TracBrowser for help on using the browser.