73 | | <h1>bdm::datalink Class Reference</h1><!-- doxytag: class="bdm::datalink" --> |
74 | | <p>DataLink is a connection between two data vectors Up and Down. |
75 | | <a href="#_details">More...</a></p> |
76 | | <hr/><a name="_details"></a><h2>Detailed Description</h2> |
77 | | <p>DataLink is a connection between two data vectors Up and Down. </p> |
78 | | <p>Up can be longer than Down. Down must be fully present in Up (TODO optional) See chart: </p> |
79 | | <div align="center"> |
| 70 | <h1>bdm::datalink Class Reference</h1><!-- doxytag: class="bdm::datalink" -->DataLink is a connection between two data vectors Up and Down. |
| 71 | <a href="#_details">More...</a> |
| 72 | <p> |
| 73 | <code>#include <<a class="el" href="bdmbase_8h_source.html">bdmbase.h</a>></code> |
| 74 | <p> |
| 75 | |
| 76 | <p> |
| 77 | <a href="classbdm_1_1datalink-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
| 78 | <tr><td></td></tr> |
| 79 | <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
| 80 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b8b5d5074fc1310a37c3713d58b900e2"></a><!-- doxytag: member="bdm::datalink::datalink" ref="b8b5d5074fc1310a37c3713d58b900e2" args="()" --> |
| 81 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1datalink.html#b8b5d5074fc1310a37c3713d58b900e2">datalink</a> ()</td></tr> |
| 82 | |
| 83 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <br></td></tr> |
| 84 | <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 &rv, const RV &rv_up)" --> |
| 85 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1datalink.html#4016403730eb742462614d60393565cd">datalink</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &rv, const <a class="el" href="classbdm_1_1RV.html">RV</a> &rv_up)</td></tr> |
| 86 | |
| 87 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Convenience constructor. <br></td></tr> |
| 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 &rv, const RV &rv_up)" --> |
| 89 | virtual void </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> &rv, const <a class="el" href="classbdm_1_1RV.html">RV</a> &rv_up)</td></tr> |
| 90 | |
| 91 | <tr><td class="mdescLeft"> </td><td class="mdescRight">set connection, rv must be fully present in rv_up <br></td></tr> |
| 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 &upind)" --> |
| 93 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1datalink.html#724486a37002e7a3a73366c3af9b82ad">set_connection</a> (int ds, int us, const ivec &upind)</td></tr> |
| 94 | |
| 95 | <tr><td class="mdescLeft"> </td><td class="mdescRight">set connection using indices <br></td></tr> |
| 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 &val_up)" --> |
| 97 | vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1datalink.html#5b5368c3899eed2f670d09142c2548e5">pushdown</a> (const vec &val_up)</td></tr> |
| 98 | |
| 99 | <tr><td class="mdescLeft"> </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="d49a14b65969f8fa1ae8ecab7ce77d6d"></a><!-- doxytag: member="bdm::datalink::filldown" ref="d49a14b65969f8fa1ae8ecab7ce77d6d" args="(const vec &val_up, vec &val_down)" --> |
| 101 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1datalink.html#d49a14b65969f8fa1ae8ecab7ce77d6d">filldown</a> (const vec &val_up, vec &val_down)</td></tr> |
| 102 | |
| 103 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get val for vector val_down from val of "Up". <br></td></tr> |
| 104 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="736ec57cb8efce5f58b8f776a2d30d30"></a><!-- doxytag: member="bdm::datalink::pushup" ref="736ec57cb8efce5f58b8f776a2d30d30" args="(vec &val_up, const vec &val)" --> |
| 105 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1datalink.html#736ec57cb8efce5f58b8f776a2d30d30">pushup</a> (vec &val_up, const vec &val)</td></tr> |
| 106 | |
| 107 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Fill val of "Up" by my pieces. <br></td></tr> |
| 108 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="340c5a253544a1dc2fd87932a5341c32"></a><!-- doxytag: member="bdm::datalink::_upsize" ref="340c5a253544a1dc2fd87932a5341c32" args="()" --> |
| 109 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1datalink.html#340c5a253544a1dc2fd87932a5341c32">_upsize</a> ()</td></tr> |
| 110 | |
| 111 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access functions <br></td></tr> |
| 112 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8f0cce4477e906f3090bb803e06d8698"></a><!-- doxytag: member="bdm::datalink::_downsize" ref="8f0cce4477e906f3090bb803e06d8698" args="()" --> |
| 113 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1datalink.html#8f0cce4477e906f3090bb803e06d8698">_downsize</a> ()</td></tr> |
| 114 | |
| 115 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access functions <br></td></tr> |
| 116 | <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> |
| 117 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bc8ff50395fc1066a1e486dea18d987c"></a><!-- doxytag: member="bdm::datalink::downsize" ref="bc8ff50395fc1066a1e486dea18d987c" args="" --> |
| 118 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1datalink.html#bc8ff50395fc1066a1e486dea18d987c">downsize</a></td></tr> |
| 119 | |
| 120 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Remember how long val should be. <br></td></tr> |
| 121 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0f0d0af6848114d96108d3a6af25a045"></a><!-- doxytag: member="bdm::datalink::upsize" ref="0f0d0af6848114d96108d3a6af25a045" args="" --> |
| 122 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1datalink.html#0f0d0af6848114d96108d3a6af25a045">upsize</a></td></tr> |
| 123 | |
| 124 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Remember how long val of "Up" should be. <br></td></tr> |
| 125 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="240b37d793c6bdc32824ed0a0541b1eb"></a><!-- doxytag: member="bdm::datalink::v2v_up" ref="240b37d793c6bdc32824ed0a0541b1eb" args="" --> |
| 126 | ivec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1datalink.html#240b37d793c6bdc32824ed0a0541b1eb">v2v_up</a></td></tr> |
| 127 | |
| 128 | <tr><td class="mdescLeft"> </td><td class="mdescRight">val-to-val link, indices of the upper val <br></td></tr> |
| 129 | </table> |
| 130 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
| 131 | DataLink is a connection between two data vectors Up and Down. |
| 132 | <p> |
| 133 | Up can be longer than Down. Down must be fully present in Up (TODO optional) See chart: <div align="center"> |
83 | | |
84 | | <p><code>#include <<a class="el" href="bdmbase_8h_source.html">bdmbase.h</a>></code></p> |
85 | | |
86 | | <p><a href="classbdm_1_1datalink-members.html">List of all members.</a></p> |
87 | | <table border="0" cellpadding="0" cellspacing="0"> |
88 | | <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> |
89 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab8b5d5074fc1310a37c3713d58b900e2"></a><!-- doxytag: member="bdm::datalink::datalink" ref="ab8b5d5074fc1310a37c3713d58b900e2" args="()" --> |
90 | | </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1datalink.html#ab8b5d5074fc1310a37c3713d58b900e2">datalink</a> ()</td></tr> |
91 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <br/></td></tr> |
92 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4016403730eb742462614d60393565cd"></a><!-- doxytag: member="bdm::datalink::datalink" ref="a4016403730eb742462614d60393565cd" args="(const RV &rv, const RV &rv_up)" --> |
93 | | </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1datalink.html#a4016403730eb742462614d60393565cd">datalink</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &rv, const <a class="el" href="classbdm_1_1RV.html">RV</a> &rv_up)</td></tr> |
94 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Convenience constructor. <br/></td></tr> |
95 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afb8337aac8329eb0ca96bfb3ff73ec67"></a><!-- doxytag: member="bdm::datalink::set_connection" ref="afb8337aac8329eb0ca96bfb3ff73ec67" args="(const RV &rv, const RV &rv_up)" --> |
96 | | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1datalink.html#afb8337aac8329eb0ca96bfb3ff73ec67">set_connection</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &rv, const <a class="el" href="classbdm_1_1RV.html">RV</a> &rv_up)</td></tr> |
97 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">set connection, rv must be fully present in rv_up <br/></td></tr> |
98 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a724486a37002e7a3a73366c3af9b82ad"></a><!-- doxytag: member="bdm::datalink::set_connection" ref="a724486a37002e7a3a73366c3af9b82ad" args="(int ds, int us, const ivec &upind)" --> |
99 | | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1datalink.html#a724486a37002e7a3a73366c3af9b82ad">set_connection</a> (int ds, int us, const ivec &upind)</td></tr> |
100 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">set connection using indices <br/></td></tr> |
101 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5b5368c3899eed2f670d09142c2548e5"></a><!-- doxytag: member="bdm::datalink::pushdown" ref="a5b5368c3899eed2f670d09142c2548e5" args="(const vec &val_up)" --> |
102 | | vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1datalink.html#a5b5368c3899eed2f670d09142c2548e5">pushdown</a> (const vec &val_up)</td></tr> |
103 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get val for myself from val of "Up". <br/></td></tr> |
104 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad49a14b65969f8fa1ae8ecab7ce77d6d"></a><!-- doxytag: member="bdm::datalink::filldown" ref="ad49a14b65969f8fa1ae8ecab7ce77d6d" args="(const vec &val_up, vec &val_down)" --> |
105 | | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1datalink.html#ad49a14b65969f8fa1ae8ecab7ce77d6d">filldown</a> (const vec &val_up, vec &val_down)</td></tr> |
106 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get val for vector val_down from val of "Up". <br/></td></tr> |
107 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a736ec57cb8efce5f58b8f776a2d30d30"></a><!-- doxytag: member="bdm::datalink::pushup" ref="a736ec57cb8efce5f58b8f776a2d30d30" args="(vec &val_up, const vec &val)" --> |
108 | | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1datalink.html#a736ec57cb8efce5f58b8f776a2d30d30">pushup</a> (vec &val_up, const vec &val)</td></tr> |
109 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Fill val of "Up" by my pieces. <br/></td></tr> |
110 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a340c5a253544a1dc2fd87932a5341c32"></a><!-- doxytag: member="bdm::datalink::_upsize" ref="a340c5a253544a1dc2fd87932a5341c32" args="()" --> |
111 | | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1datalink.html#a340c5a253544a1dc2fd87932a5341c32">_upsize</a> ()</td></tr> |
112 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">access functions <br/></td></tr> |
113 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8f0cce4477e906f3090bb803e06d8698"></a><!-- doxytag: member="bdm::datalink::_downsize" ref="a8f0cce4477e906f3090bb803e06d8698" args="()" --> |
114 | | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1datalink.html#a8f0cce4477e906f3090bb803e06d8698">_downsize</a> ()</td></tr> |
115 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">access functions <br/></td></tr> |
116 | | <tr><td colspan="2"><h2>Protected Attributes</h2></td></tr> |
117 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abc8ff50395fc1066a1e486dea18d987c"></a><!-- doxytag: member="bdm::datalink::downsize" ref="abc8ff50395fc1066a1e486dea18d987c" args="" --> |
118 | | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1datalink.html#abc8ff50395fc1066a1e486dea18d987c">downsize</a></td></tr> |
119 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Remember how long val should be. <br/></td></tr> |
120 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0f0d0af6848114d96108d3a6af25a045"></a><!-- doxytag: member="bdm::datalink::upsize" ref="a0f0d0af6848114d96108d3a6af25a045" args="" --> |
121 | | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1datalink.html#a0f0d0af6848114d96108d3a6af25a045">upsize</a></td></tr> |
122 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Remember how long val of "Up" should be. <br/></td></tr> |
123 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a240b37d793c6bdc32824ed0a0541b1eb"></a><!-- doxytag: member="bdm::datalink::v2v_up" ref="a240b37d793c6bdc32824ed0a0541b1eb" args="" --> |
124 | | ivec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1datalink.html#a240b37d793c6bdc32824ed0a0541b1eb">v2v_up</a></td></tr> |
125 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">val-to-val link, indices of the upper val <br/></td></tr> |
126 | | </table> |
127 | | <hr/>The documentation for this class was generated from the following files:<ul> |
128 | | <li><a class="el" href="bdmbase_8h_source.html">bdmbase.h</a></li> |
129 | | <li>bdmbase.cpp</li> |
130 | | </ul> |
| 137 | <hr>The documentation for this class was generated from the following files:<ul> |
| 138 | <li><a class="el" href="bdmbase_8h_source.html">bdmbase.h</a><li>bdmbase.cpp</ul> |