<p>A mandar.</p>
<p>Todos empezamos así. ;-)<br>
</p>
<div class="gmail_quote">El 30/05/2012 22:22, "Jesse Sanabria" <<a href="mailto:jessesazo@yahoo.com">jessesazo@yahoo.com</a>> escribió:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Gracias por el dato, tienes toda la razon, <br>
<br>
Moito obrigado<br>
<br>
<blockquote type="cite">
<div>Hola</div>
<div> </div>
<div>Asi por encima un par de cosas:</div>
<div> </div>
<div>1º </div>
<div>Nodo::Nodo(std::string xsjcl,int xnpos, std::string xslogico,
std::string xsfisico, int xntipo)</div>
<div>{ </div>
<div>
<font color="#ff0000"> getJcl(xsjcl); </font></div>
<div><font color="#ff0000"> getPos(xnpos);</font></div>
<div><font color="#ff0000"> getLogico(xslogico);</font></div>
<div><font color="#ff0000"> getFisico(xsfisico);</font></div>
<div><font color="#ff0000"> getTipo(xntipo);</font></div>
<div> return;</div>
<div>}</div>
<div>Imagino que quieres usar set...., no get porque esos metodos
no los tienes definidos.</div>
<div> </div>
<div>2º Lo unicos metodos que no devuelven nada son los
constructores y destructores</div>
<div>El resto tienen que devolver algo, aunq sea vacio. Como no
pones nada, te esta toamndo por defecto que devuelve un int.</div>
<div><font color="#ff0000">void </font>setJcl(const std::string
);</div>
<div><font color="#ff0000">void </font>Nodo::setJcl(const
std::string xsjcl)</div>
<div>{</div>
<div> jcl = xsjcl;</div>
<div> return;</div>
<div>}</div>
<div> </div>
<div>3º Si lo defines</div>
<div> setTipo(const int );</div>
<div> </div>
<div>Nodo::setTipo(<font color="#ff0000">const</font> int xntipo)</div>
<div>{ </div>
<div> tipo = xntipo;</div>
<div> return;</div>
<div>}</div>
<div><br>
Fijate mas en las definiciones y en los paramametros</div>
<div> </div>
<div>Un saludo<br>
</div>
<div class="gmail_quote">2012/5/28 Jesse Sanabria <span dir="ltr"><<a href="mailto:jessesazo@yahoo.com" target="_blank">jessesazo@yahoo.com</a>></span><br>
<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">
<div bgcolor="#FFFFFF" text="#000000"> Hola a todos<br>
<br>
Tengo los siguientes mensajes de error y no encuentro como
corregir el error<br>
¿Me pueden echar un cable?, Muchas gracias<br>
<br>
Asumo que el error debe ser sencillo pero la verdad es que
no lo veo. <br>
<br>
Mensaje de error<br>
<br>
<span style="color:rgb(170,0,0)">..\grafos\/nodo.h:17:
error: ISO C++ forbids declaration of 'setTipo' with no
type</span>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(170,0,0)">..\grafos\nodo.cpp: In
constructor 'Nodo::Nodo(std::string, int, std::string,
std::string, int)':</span></p>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(170,0,0)">..\grafos\nodo.cpp:10: error:
no matching function for call to
'Nodo::getJcl(std::string&)'</span></p>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(170,0,0)">..\grafos\/nodo.h:18: note:
candidates are: std::string Nodo::getJcl()</span></p>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(170,0,0)">..\grafos\nodo.cpp:11: error:
no matching function for call to
'Nodo::getPos(int&)'</span></p>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(170,0,0)">..\grafos\/nodo.h:19: note:
candidates are: int Nodo::getPos()</span></p>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(170,0,0)">..\grafos\nodo.cpp:12: error:
no matching function for call to
'Nodo::getLogico(std::string&)'</span></p>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(170,0,0)">..\grafos\/nodo.h:20: note:
candidates are: std::string Nodo::getLogico()</span></p>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(170,0,0)">..\grafos\nodo.cpp:13: error:
no matching function for call to
'Nodo::getFisico(std::string&)'</span></p>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(170,0,0)">..\grafos\/nodo.h:21: note:
candidates are: std::string Nodo::getFisico()</span></p>
<span style="color:rgb(170,0,0)">..\grafos\nodo.cpp:18:
error: ISO C++ forbids declaration of 'setJcl' with no
type</span>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(170,0,0)">..\grafos\nodo.cpp: In member
function 'int Nodo::setJcl(std::string)':</span></p>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(170,0,0)">..\grafos\nodo.cpp:21: error:
return-statement with no value, in function returning
'int'</span></p>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(170,0,0)">..\grafos\nodo.cpp:22:
warning: no return statement in function returning
non-void</span></p>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(170,0,0)">..\grafos\nodo.cpp: At global
scope:</span></p>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(170,0,0)">..\grafos\nodo.cpp:24: error:
ISO C++ forbids declaration of 'setPos' with no type</span></p>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(170,0,0)">..\grafos\nodo.cpp: In member
function 'int Nodo::setPos(int)':</span></p>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(170,0,0)">..\grafos\nodo.cpp:27: error:
return-statement with no value, in function returning
'int'</span></p>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(170,0,0)">..\grafos\nodo.cpp:28:
warning: no return statement in function returning
non-void</span></p>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(170,0,0)">..\grafos\nodo.cpp: At global
scope:</span></p>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(170,0,0)">..\grafos\nodo.cpp:30: error:
ISO C++ forbids declaration of 'setLogico' with no type</span></p>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(170,0,0)">..\grafos\nodo.cpp: In member
function 'int Nodo::setLogico(std::string)':</span></p>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(170,0,0)">..\grafos\nodo.cpp:33: error:
return-statement with no value, in function returning
'int'</span></p>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(170,0,0)">..\grafos\nodo.cpp:34:
warning: no return statement in function returning
non-void</span></p>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(170,0,0)">..\grafos\nodo.cpp: At global
scope:</span></p>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(170,0,0)">..\grafos\nodo.cpp:36: error:
ISO C++ forbids declaration of 'setFisico' with no type</span></p>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(170,0,0)">..\grafos\nodo.cpp: In member
function 'int Nodo::setFisico(std::string)':</span></p>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(170,0,0)">..\grafos\nodo.cpp:39: error:
return-statement with no value, in function returning
'int'</span></p>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(170,0,0)">..\grafos\nodo.cpp:40:
warning: no return statement in function returning
non-void</span></p>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(170,0,0)">..\grafos\nodo.cpp: At global
scope:</span></p>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(170,0,0)">..\grafos\nodo.cpp:42: error:
ISO C++ forbids declaration of 'setTipo' with no type</span></p>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(170,0,0)">..\grafos\nodo.cpp: In member
function 'int Nodo::setTipo(int)':</span></p>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(170,0,0)">..\grafos\nodo.cpp:45: error:
return-statement with no value, in function returning
'int'</span></p>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(170,0,0)">..\grafos\nodo.cpp:46:
warning: no return statement in function returning
non-void</span></p>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(170,0,0)">mingw32-make[1]: ***
[debug/nodo.o] Error 1</span></p>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(170,0,0)">mingw32-make: *** [debug]
Error 2</span></p>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(170,0,0);font-weight:600">The process
"C:\QtSDK\mingw\bin\mingw32-make.exe" exited with code
2.</span></p>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(170,0,0)">Error while building project
grafos (target: Desktop)</span></p>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(170,0,0)">When executing build step
'Make'</span></p>
<br>
<br>
<br>
<br>
Codigo:<br>
<br>
<span style="color:rgb(0,0,128)">#ifndef</span><span style="color:rgb(192,192,192)"> </span>NODO_H
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(0,0,128)">#define</span><span style="color:rgb(192,192,192)"> </span>NODO_H</pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(0,0,128)">#include</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)"><string></span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(128,128,0)">using</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,128)">std</span><span>::</span><span style="color:rgb(128,0,128)">string</span><span>;</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(128,128,0)">class</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,128)">Nodo</span></pre>
<pre style="margin:0px;text-indent:0px"><span>{</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(128,128,0)">public</span><span>:</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,128)">Nodo</span><span>(</span><span style="color:rgb(128,128,0)">void</span><span>);</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,128)">Nodo</span><span>(</span><span style="color:rgb(128,0,128)">std</span><span>::</span><span style="color:rgb(128,0,128)">string</span><span>,</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,128,0)">int</span><span>,</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,128)">std</span><span>::</span><span style="color:rgb(128,0,128)">string</span><span>,</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,128)">std</span><span>::</span><span style="color:rgb(128,0,128)">string</span><span>,</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,128,0)">int</span><s>);</s></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span>setJcl<span>(</span><span style="color:rgb(128,128,0)">const</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,128)">std</span><span>::</span><span style="color:rgb(128,0,128)">string</span><span style="color:rgb(192,192,192)"> </span><span>);</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span>setPos<span>(</span><span style="color:rgb(128,128,0)">const</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,128,0)">int</span><span style="color:rgb(192,192,192)"> </span><span>);</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span>setLogico<span>(</span><span style="color:rgb(128,128,0)">const</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,128)">std</span><span>::</span><span style="color:rgb(128,0,128)">string</span><span style="color:rgb(192,192,192)"> </span><span>);</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span>setFisico<span>(</span><span style="color:rgb(128,128,0)">const</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,128)">std</span><span>::</span><span style="color:rgb(128,0,128)">string</span><span style="color:rgb(192,192,192)"> </span><span>);</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span>setTipo<span>(</span><span style="color:rgb(128,128,0)">const</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,128,0)">int</span><span style="color:rgb(192,192,192)"> </span><span>);</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span>string<span style="color:rgb(192,192,192)"> </span>getJcl<span>();</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,128,0)">int</span><span style="color:rgb(192,192,192)"> </span>getPos<span>();</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,128)">std</span><span>::</span><span style="color:rgb(128,0,128)">string</span><span style="color:rgb(192,192,192)"> </span>getLogico<span>();</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,128)">std</span><span>::</span><span style="color:rgb(128,0,128)">string</span><span style="color:rgb(192,192,192)"> </span>getFisico<span>();</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,128,0)">int</span><span style="color:rgb(192,192,192)"> </span>getTipo<span>();</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(128,128,0)">private</span><span>:</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,128,0)">int</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,0)">pos</span><span>;</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,128,0)">int</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,0)">tipo</span><span>;</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,128)">std</span><span>::</span><span style="color:rgb(128,0,128)">string</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,0)">jcl</span><span>;</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,128)">std</span><span>::</span><span style="color:rgb(128,0,128)">string</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,0)">logico</span><span>;</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,128)">std</span><span>::</span><span style="color:rgb(128,0,128)">string</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,0)">fisico</span><span>;</span></pre>
<pre style="margin:0px;text-indent:0px"><span>};</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(0,0,128)">#endif</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">//</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">NODO_H</span></pre>
<span style="color:rgb(0,0,128)">#include</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">"nodo.h"</span>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(128,0,128)">Nodo</span><span>::</span><span style="color:rgb(128,0,128)">Nodo</span><span>()</span></pre>
<pre style="margin:0px;text-indent:0px"><span>{</span></pre>
<pre style="margin:0px;text-indent:0px"><span>}</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(128,0,128)">Nodo</span><span>::</span><span style="color:rgb(128,0,128)">Nodo</span><span>(</span><span style="color:rgb(128,0,128)">std</span><span>::</span><span style="color:rgb(128,0,128)">string</span><span style="color:rgb(192,192,192)"> </span><span>xsjcl</span><span>,</span><span style="color:rgb(128,128,0)">int</span><span style="color:rgb(192,192,192)"> </span><span>xnpos</span><span>,</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,128)">std</span><span>::</span><span style="color:rgb(128,0,128)">string</span><span style="color:rgb(192,192,192)"> </span><span>xslogico</span><span>,</span><span style="color:rgb(192,192,192)"> <span style="color:rgb(128,0,128)">std</span><span style="color:rgb(0,0,0)">::</span><span style="color:rgb(128,0,128)">string</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,0,0)">xsfisico</span><span>,</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,128,0)">int</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,0,0)">xntipo</span><span style="color:rgb(0,0,0)">)</span></span></pre>
<pre style="margin:0px;text-indent:0px"><span>{</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span>getJcl<span>(</span><span>xsjcl</span><span>);</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span>getPos<span>(</span><span>xnpos</span><span>);</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span>getLogico<span>(</span><span>xslogico</span><span>);</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span>getFisico<span>(</span><span>xsfisico</span><span>);</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span>getTipo<span>(</span>xntipo<span>);</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,128,0)">return</span><span>;</span></pre>
<pre style="margin:0px;text-indent:0px"><span>}</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(128,0,128)">Nodo</span><span>::</span>setJcl<span>(</span><span style="color:rgb(128,128,0)">const</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,128)">std</span><span>::</span><span style="color:rgb(128,0,128)">string</span><span style="color:rgb(192,192,192)"> </span><span>xsjcl</span><span>)</span></pre>
<pre style="margin:0px;text-indent:0px"><span>{</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,0)">jcl</span><span style="color:rgb(192,192,192)"> </span><span>=</span><span style="color:rgb(192,192,192)"> </span><span>xsjcl</span><span>;</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,128,0)">return</span><span>;</span></pre>
<pre style="margin:0px;text-indent:0px"><span>}</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(128,0,128)">Nodo</span><span>::</span>setPos<span>(</span><span style="color:rgb(128,128,0)">const</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,128,0)">int</span><span style="color:rgb(192,192,192)"> </span><span>xnpos</span><span>)</span></pre>
<pre style="margin:0px;text-indent:0px"><span>{</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,0)">pos</span><span style="color:rgb(192,192,192)"> </span><span>=</span><span style="color:rgb(192,192,192)"> </span><span>xnpos</span><span>;</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,128,0)">return</span><span>;</span></pre>
<pre style="margin:0px;text-indent:0px"><span>}</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(128,0,128)">Nodo</span><span>::</span>setLogico<span>(</span><span style="color:rgb(128,128,0)">const</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,128)">std</span><span>::</span><span style="color:rgb(128,0,128)">string</span><span style="color:rgb(192,192,192)"> </span><span>xslogico</span><span>)</span></pre>
<pre style="margin:0px;text-indent:0px"><span>{</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,0)">logico</span><span style="color:rgb(192,192,192)"> </span><span>=</span><span style="color:rgb(192,192,192)"> </span><span>xslogico</span><span>;</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,128,0)">return</span><span>;</span></pre>
<pre style="margin:0px;text-indent:0px"><span>}</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(128,0,128)">Nodo</span><span>::</span>setFisico<span>(</span><span style="color:rgb(128,128,0)">const</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,128)">std</span><span>::</span><span style="color:rgb(128,0,128)">string</span><span style="color:rgb(192,192,192)"> </span><span>xsfisico</span><span>)</span></pre>
<pre style="margin:0px;text-indent:0px"><span>{</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,0)">fisico</span><span style="color:rgb(192,192,192)"> </span><span>=</span><span style="color:rgb(192,192,192)"> </span><span>xsfisico</span><span>;</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,128,0)">return</span><span>;</span></pre>
<pre style="margin:0px;text-indent:0px"><span>}</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(128,0,128)">Nodo</span><span>::</span>setTipo<span>(</span><span style="color:rgb(128,128,0)">int</span><span style="color:rgb(192,192,192)"> </span><span>xntipo</span><span>)</span></pre>
<pre style="margin:0px;text-indent:0px"><span>{</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,0)">tipo</span><span style="color:rgb(192,192,192)"> </span><span>=</span><span style="color:rgb(192,192,192)"> </span><span>xntipo</span><span>;</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,128,0)">return</span><span>;</span></pre>
<pre style="margin:0px;text-indent:0px"><span>}</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(128,0,128)">std</span><span>::</span><span style="color:rgb(128,0,128)">string</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,128)">Nodo</span><span>::</span>getJcl<span>()</span></pre>
<pre style="margin:0px;text-indent:0px"><span>{</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,128,0)">return</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,0)">jcl</span><span>;</span></pre>
<pre style="margin:0px;text-indent:0px"><span>}</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(128,128,0)">int</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,128)">Nodo</span><span>::</span>getPos<span>()</span></pre>
<pre style="margin:0px;text-indent:0px"><span>{</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,128,0)">return</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,0)">pos</span><span>;</span></pre>
<pre style="margin:0px;text-indent:0px"><span>}</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(128,0,128)">std</span><span>::</span><span style="color:rgb(128,0,128)">string</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,128)">Nodo</span><span>::</span>getLogico<span>()</span></pre>
<pre style="margin:0px;text-indent:0px"><span>{</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,128,0)">return</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,0)">logico</span><span>;</span></pre>
<pre style="margin:0px;text-indent:0px"><span>}</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(128,0,128)">std</span><span>::</span><span style="color:rgb(128,0,128)">string</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,128)">Nodo</span><span>::</span>getFisico<span>()</span></pre>
<pre style="margin:0px;text-indent:0px"><span>{</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,128,0)">return</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,0)">fisico</span><span>;</span></pre>
<pre style="margin:0px;text-indent:0px"><span>}</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(128,128,0)">int</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,128)">Nodo</span><span>::</span>getTipo<span>()</span></pre>
<pre style="margin:0px;text-indent:0px"><span>{</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,128,0)">return</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,0)">tipo</span><span>;</span></pre>
<pre style="margin:0px;text-indent:0px"><span>}</span></pre>
</div>
<br>
_______________________________________________<br>
Lista de correo Cconclase <a href="mailto:Cconclase@listas.conclase.net" target="_blank">Cconclase@listas.conclase.net</a><br>
<a href="http://listas.conclase.net/mailman/listinfo/cconclase_listas.conclase.net" target="_blank">http://listas.conclase.net/mailman/listinfo/cconclase_listas.conclase.net</a><br>
Bajas: <a href="http://listas.conclase.net/index.php?gid=2&mnu=FAQ" target="_blank">http://listas.conclase.net/index.php?gid=2&mnu=FAQ</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<br>
Roberto Valseca Vián<br>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Lista de correo Cconclase <a href="mailto:Cconclase@listas.conclase.net" target="_blank">Cconclase@listas.conclase.net</a>
<a href="http://listas.conclase.net/mailman/listinfo/cconclase_listas.conclase.net" target="_blank">http://listas.conclase.net/mailman/listinfo/cconclase_listas.conclase.net</a>
Bajas: <a href="http://listas.conclase.net/index.php?gid=2&mnu=FAQ" target="_blank">http://listas.conclase.net/index.php?gid=2&mnu=FAQ</a></pre>
</blockquote>
<br>
</div>
<br>_______________________________________________<br>
Lista de correo Cconclase <a href="mailto:Cconclase@listas.conclase.net">Cconclase@listas.conclase.net</a><br>
<a href="http://listas.conclase.net/mailman/listinfo/cconclase_listas.conclase.net" target="_blank">http://listas.conclase.net/mailman/listinfo/cconclase_listas.conclase.net</a><br>
Bajas: <a href="http://listas.conclase.net/index.php?gid=2&mnu=FAQ" target="_blank">http://listas.conclase.net/index.php?gid=2&mnu=FAQ</a><br></blockquote></div>