Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 00862db86d46065a3a8f965b33c95850 > files > 30

echolib-devel-0.13.1-5.fc14.i686.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>EchoLib: EchoLink::StationData Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.2-20100208 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespaceEchoLink.html">EchoLink</a>::<a class="el" href="classEchoLink_1_1StationData.html">StationData</a>
  </div>
</div>
<div class="contents">
<h1>EchoLink::StationData Class Reference</h1><!-- doxytag: class="EchoLink::StationData" -->
<p>A class for representing data for a station.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="EchoLinkStationData_8h_source.html">EchoLinkStationData.h</a>&gt;</code></p>

<p><a href="classEchoLink_1_1StationData-members.html">List of all members.</a></p>
<h2>Public Types</h2>
<ul>
<li>enum <a class="el" href="classEchoLink_1_1StationData.html#a1655d3dd8609fadfb3f2eddfd870f684">Status</a> { <a class="el" href="classEchoLink_1_1StationData.html#a1655d3dd8609fadfb3f2eddfd870f684afd910401f4f57e9d6ac8a9f469a7ea41">STAT_UNKNOWN</a>, 
<a class="el" href="classEchoLink_1_1StationData.html#a1655d3dd8609fadfb3f2eddfd870f684ad73fb2ccce81d3ef29b8c1aac431da2a">STAT_OFFLINE</a>, 
<a class="el" href="classEchoLink_1_1StationData.html#a1655d3dd8609fadfb3f2eddfd870f684a14aa520f15fc225929a6459994c245a4">STAT_ONLINE</a>, 
<a class="el" href="classEchoLink_1_1StationData.html#a1655d3dd8609fadfb3f2eddfd870f684ab4fee38e75af36a2da6935a05e3554b0">STAT_BUSY</a>
 }
</ul>
<h2>Public Member Functions</h2>
<ul>
<li><a class="el" href="classEchoLink_1_1StationData.html#a841bdd8c2e8d6453889ab02717989b51">StationData</a> (void)
<dl class="el"><dd class="mdescRight">Default constructor.  <a href="#a841bdd8c2e8d6453889ab02717989b51"></a><br/></dl><li><a class="el" href="classEchoLink_1_1StationData.html#a7817352ee32bdccf59fa575c8edc766b">StationData</a> (const <a class="el" href="classEchoLink_1_1StationData.html">StationData</a> &amp;rhs)
<dl class="el"><dd class="mdescRight">Copy constructor.  <a href="#a7817352ee32bdccf59fa575c8edc766b"></a><br/></dl><li>void <a class="el" href="classEchoLink_1_1StationData.html#aa92848cbd65933bc97d9c259ec696997">clear</a> (void)
<dl class="el"><dd class="mdescRight">Clear the contents and reset to default values.  <a href="#aa92848cbd65933bc97d9c259ec696997"></a><br/></dl><li>void <a class="el" href="classEchoLink_1_1StationData.html#a1a567489708199b6669addda85a5b3d4">setCallsign</a> (const std::string &amp;callsign)
<dl class="el"><dd class="mdescRight">Set the callsign.  <a href="#a1a567489708199b6669addda85a5b3d4"></a><br/></dl><li>const std::string &amp; <a class="el" href="classEchoLink_1_1StationData.html#a20023fd053d5aac2390ef0c2c2ff84d0">callsign</a> (void) const 
<dl class="el"><dd class="mdescRight">Get the callsign.  <a href="#a20023fd053d5aac2390ef0c2c2ff84d0"></a><br/></dl><li>void <a class="el" href="classEchoLink_1_1StationData.html#ae00c666f638eba9381c0ce159d6c493e">setData</a> (const char *data)
<dl class="el"><dd class="mdescRight">Set station data from a string as represented in the directory server.  <a href="#ae00c666f638eba9381c0ce159d6c493e"></a><br/></dl><li>void <a class="el" href="classEchoLink_1_1StationData.html#ac2d1270a90cbdf10f5eb9a520bee6f65">setStatus</a> (<a class="el" href="classEchoLink_1_1StationData.html#a1655d3dd8609fadfb3f2eddfd870f684">Status</a> status)
<dl class="el"><dd class="mdescRight">Set the status.  <a href="#ac2d1270a90cbdf10f5eb9a520bee6f65"></a><br/></dl><li><a class="el" href="classEchoLink_1_1StationData.html#a1655d3dd8609fadfb3f2eddfd870f684">Status</a> <a class="el" href="classEchoLink_1_1StationData.html#af05a337a549b33d944be2335d1e1cf22">status</a> (void) const 
<dl class="el"><dd class="mdescRight">Get the status.  <a href="#af05a337a549b33d944be2335d1e1cf22"></a><br/></dl><li>std::string <a class="el" href="classEchoLink_1_1StationData.html#a42fbfddcca09a603be8da20246451b97">statusStr</a> (void) const 
<dl class="el"><dd class="mdescRight">Return the string representation of the status.  <a href="#a42fbfddcca09a603be8da20246451b97"></a><br/></dl><li>void <a class="el" href="classEchoLink_1_1StationData.html#aa835b839b20c1d30ef9a9b6688e0dd57">setTime</a> (const std::string &amp;time)
<dl class="el"><dd class="mdescRight">Set the time.  <a href="#aa835b839b20c1d30ef9a9b6688e0dd57"></a><br/></dl><li>const std::string &amp; <a class="el" href="classEchoLink_1_1StationData.html#aabd87724760a8033bee8330790e1333b">time</a> (void) const 
<dl class="el"><dd class="mdescRight">Get the time.  <a href="#aabd87724760a8033bee8330790e1333b"></a><br/></dl><li>void <a class="el" href="classEchoLink_1_1StationData.html#a2973108b052a76e9ead3ea7c0bb500a7">setDescription</a> (const std::string &amp;desc)
<dl class="el"><dd class="mdescRight">Set the description/location string.  <a href="#a2973108b052a76e9ead3ea7c0bb500a7"></a><br/></dl><li>const std::string &amp; <a class="el" href="classEchoLink_1_1StationData.html#a0ddbfc9c1481e71cd76554a8371f3cfc">description</a> (void) const 
<dl class="el"><dd class="mdescRight">Get the description/location string.  <a href="#a0ddbfc9c1481e71cd76554a8371f3cfc"></a><br/></dl><li>void <a class="el" href="classEchoLink_1_1StationData.html#a29bbece5ba8c8b279e845ca7610e5c81">setId</a> (int id)
<dl class="el"><dd class="mdescRight">Set the <a class="el" href="namespaceEchoLink.html" title="Namespace to encapsulate EchoLink communication classes.">EchoLink</a> ID number.  <a href="#a29bbece5ba8c8b279e845ca7610e5c81"></a><br/></dl><li>int <a class="el" href="classEchoLink_1_1StationData.html#a023bdfa62ef4903f6cb06620cea8ef10">id</a> (void) const 
<dl class="el"><dd class="mdescRight">Get the <a class="el" href="namespaceEchoLink.html" title="Namespace to encapsulate EchoLink communication classes.">EchoLink</a> ID number.  <a href="#a023bdfa62ef4903f6cb06620cea8ef10"></a><br/></dl><li>void <a class="el" href="classEchoLink_1_1StationData.html#a04ad1710bba0953f3c6de4e226180d60">setIp</a> (const Async::IpAddress &amp;ip)
<dl class="el"><dd class="mdescRight">Set the IP address.  <a href="#a04ad1710bba0953f3c6de4e226180d60"></a><br/></dl><li>const Async::IpAddress <a class="el" href="classEchoLink_1_1StationData.html#a0c75c2fecd54d13358a2671eeee995fe">ip</a> (void) const 
<dl class="el"><dd class="mdescRight">Get the IP address.  <a href="#a0c75c2fecd54d13358a2671eeee995fe"></a><br/></dl><li>std::string <a class="el" href="classEchoLink_1_1StationData.html#acd54b9aed669e5a32eaed5e406a95b44">ipStr</a> (void) const 
<dl class="el"><dd class="mdescRight">Get the string representation of the IP address.  <a href="#acd54b9aed669e5a32eaed5e406a95b44"></a><br/></dl><li>std::string <a class="el" href="classEchoLink_1_1StationData.html#ad3ede47a69b122491567560b57f2ff0e">code</a> (void) const 
<dl class="el"><dd class="mdescRight">Get the code representation of the callsign.  <a href="#ad3ede47a69b122491567560b57f2ff0e"></a><br/></dl><li><a class="el" href="classEchoLink_1_1StationData.html">StationData</a> &amp; <a class="el" href="classEchoLink_1_1StationData.html#a11c8c345e0690151390b7f900a403703">operator=</a> (const <a class="el" href="classEchoLink_1_1StationData.html">StationData</a> &amp;rhs)
<dl class="el"><dd class="mdescRight">Assignment operator.  <a href="#a11c8c345e0690151390b7f900a403703"></a><br/></dl></ul>
<h2>Static Public Member Functions</h2>
<ul>
<li>static std::string <a class="el" href="classEchoLink_1_1StationData.html#a923060ee76a2a02071f70315cca2da64">statusStr</a> (<a class="el" href="classEchoLink_1_1StationData.html#a1655d3dd8609fadfb3f2eddfd870f684">Status</a> status)
<dl class="el"><dd class="mdescRight">Translate a status code to a string.  <a href="#a923060ee76a2a02071f70315cca2da64"></a><br/></dl></ul>
<h2>Static Public Attributes</h2>
<ul>
<li>static const int <a class="el" href="classEchoLink_1_1StationData.html#ac6b2dc651fd4028de47bea5dd260f0a3">MAXCALL</a> = 15
<dl class="el"><dd class="mdescRight">The maximum length of a callsign.  <a href="#ac6b2dc651fd4028de47bea5dd260f0a3"></a><br/></dl><li>static const int <a class="el" href="classEchoLink_1_1StationData.html#ab33f6fa14165f26f8a5ae614f1d733a0">MAXDATA</a> = 45
<dl class="el"><dd class="mdescRight">The maximum length of the data field.  <a href="#ab33f6fa14165f26f8a5ae614f1d733a0"></a><br/></dl><li>static const int <a class="el" href="classEchoLink_1_1StationData.html#a17b97c51ca07fe153e53aba1261c1551">MAXDESC</a> = 27
<dl class="el"><dd class="mdescRight">The maximum length of a description.  <a href="#a17b97c51ca07fe153e53aba1261c1551"></a><br/></dl><li>static const int <a class="el" href="classEchoLink_1_1StationData.html#a9f2dd0fe0e3efa908ed28c2d736c0ab1">MAXID</a> = 7
<dl class="el"><dd class="mdescRight">The maximum length of the id field.  <a href="#a9f2dd0fe0e3efa908ed28c2d736c0ab1"></a><br/></dl><li>static const int <a class="el" href="classEchoLink_1_1StationData.html#a0f48cb1ee95f647529959545022dee44">MAXIP</a> = 20
<dl class="el"><dd class="mdescRight">The maximum length of the ip address.  <a href="#a0f48cb1ee95f647529959545022dee44"></a><br/></dl></ul>
<h2>Friends</h2>
<ul>
<li>std::ostream &amp; <a class="el" href="classEchoLink_1_1StationData.html#ac5b51e86d758abe2064bd75e4501c0f9">operator&lt;&lt;</a> (std::ostream &amp;os, const <a class="el" href="classEchoLink_1_1StationData.html">StationData</a> &amp;station)
<dl class="el"><dd class="mdescRight">Output stream operator.  <a href="#ac5b51e86d758abe2064bd75e4501c0f9"></a><br/></dl></ul>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>A class for representing data for a station. </p>
<dl class="author"><dt><b>Author:</b></dt><dd>Tobias Blomberg </dd></dl>
<dl class="date"><dt><b>Date:</b></dt><dd>2003-04-13</dd></dl>
<p>This class is used to represent data about a station. </p>
<dl><dt><b>Examples: </b></dt><dd>
<p><a class="el" href="EchoLinkDirectory__demo_8cpp-example.html#_a1">EchoLinkDirectory_demo.cpp</a>.</p>
</dd>
</dl>
<p>Definition at line <a class="el" href="EchoLinkStationData_8h_source.html#l00108">108</a> of file <a class="el" href="EchoLinkStationData_8h_source.html">EchoLinkStationData.h</a>.</p>
<hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="a1655d3dd8609fadfb3f2eddfd870f684"></a><!-- doxytag: member="EchoLink::StationData::Status" ref="a1655d3dd8609fadfb3f2eddfd870f684" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classEchoLink_1_1StationData.html#a1655d3dd8609fadfb3f2eddfd870f684">EchoLink::StationData::Status</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>The status of the station in the directory server </p>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a1655d3dd8609fadfb3f2eddfd870f684afd910401f4f57e9d6ac8a9f469a7ea41"></a><!-- doxytag: member="STAT_UNKNOWN" ref="a1655d3dd8609fadfb3f2eddfd870f684afd910401f4f57e9d6ac8a9f469a7ea41" args="" -->STAT_UNKNOWN</em>&nbsp;</td><td>
<p>The state is unknown. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a1655d3dd8609fadfb3f2eddfd870f684ad73fb2ccce81d3ef29b8c1aac431da2a"></a><!-- doxytag: member="STAT_OFFLINE" ref="a1655d3dd8609fadfb3f2eddfd870f684ad73fb2ccce81d3ef29b8c1aac431da2a" args="" -->STAT_OFFLINE</em>&nbsp;</td><td>
<p>The state is offline. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a1655d3dd8609fadfb3f2eddfd870f684a14aa520f15fc225929a6459994c245a4"></a><!-- doxytag: member="STAT_ONLINE" ref="a1655d3dd8609fadfb3f2eddfd870f684a14aa520f15fc225929a6459994c245a4" args="" -->STAT_ONLINE</em>&nbsp;</td><td>
<p>The state is online. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a1655d3dd8609fadfb3f2eddfd870f684ab4fee38e75af36a2da6935a05e3554b0"></a><!-- doxytag: member="STAT_BUSY" ref="a1655d3dd8609fadfb3f2eddfd870f684ab4fee38e75af36a2da6935a05e3554b0" args="" -->STAT_BUSY</em>&nbsp;</td><td>
<p>The state is busy. </p>
</td></tr>
</table>
</dd>
</dl>

<p>Definition at line <a class="el" href="EchoLinkStationData_8h_source.html#l00114">114</a> of file <a class="el" href="EchoLinkStationData_8h_source.html">EchoLinkStationData.h</a>.</p>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a841bdd8c2e8d6453889ab02717989b51"></a><!-- doxytag: member="EchoLink::StationData::StationData" ref="a841bdd8c2e8d6453889ab02717989b51" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">EchoLink::StationData::StationData </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Default constructor. </p>

</div>
</div>
<a class="anchor" id="a7817352ee32bdccf59fa575c8edc766b"></a><!-- doxytag: member="EchoLink::StationData::StationData" ref="a7817352ee32bdccf59fa575c8edc766b" args="(const StationData &amp;rhs)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">EchoLink::StationData::StationData </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classEchoLink_1_1StationData.html">StationData</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>rhs</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Copy constructor. </p>

<p>Definition at line <a class="el" href="EchoLinkStationData_8h_source.html#l00143">143</a> of file <a class="el" href="EchoLinkStationData_8h_source.html">EchoLinkStationData.h</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a20023fd053d5aac2390ef0c2c2ff84d0"></a><!-- doxytag: member="EchoLink::StationData::callsign" ref="a20023fd053d5aac2390ef0c2c2ff84d0" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const std::string&amp; EchoLink::StationData::callsign </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the callsign. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the callsign </dd></dl>

<p>Definition at line <a class="el" href="EchoLinkStationData_8h_source.html#l00160">160</a> of file <a class="el" href="EchoLinkStationData_8h_source.html">EchoLinkStationData.h</a>.</p>

</div>
</div>
<a class="anchor" id="aa92848cbd65933bc97d9c259ec696997"></a><!-- doxytag: member="EchoLink::StationData::clear" ref="aa92848cbd65933bc97d9c259ec696997" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void EchoLink::StationData::clear </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Clear the contents and reset to default values. </p>

</div>
</div>
<a class="anchor" id="ad3ede47a69b122491567560b57f2ff0e"></a><!-- doxytag: member="EchoLink::StationData::code" ref="ad3ede47a69b122491567560b57f2ff0e" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string EchoLink::StationData::code </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the code representation of the callsign. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the code representation of the callsign</dd></dl>
<p>The code representation is the callsign mapped to digits only. The mapping is done using the "phone method". ABC=2, DEF=3, GHI=4, JKL=5, MNO=6, PQRS=7, TUV=8, WXYZ=9. Digits are mapped to its corresponding digit. Star is ignored. All other characters are mapped to digit 1. </p>

<p>Definition at line <a class="el" href="EchoLinkStationData_8h_source.html#l00259">259</a> of file <a class="el" href="EchoLinkStationData_8h_source.html">EchoLinkStationData.h</a>.</p>

</div>
</div>
<a class="anchor" id="a0ddbfc9c1481e71cd76554a8371f3cfc"></a><!-- doxytag: member="EchoLink::StationData::description" ref="a0ddbfc9c1481e71cd76554a8371f3cfc" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const std::string&amp; EchoLink::StationData::description </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the description/location string. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the description/location string </dd></dl>

<p>Definition at line <a class="el" href="EchoLinkStationData_8h_source.html#l00215">215</a> of file <a class="el" href="EchoLinkStationData_8h_source.html">EchoLinkStationData.h</a>.</p>

</div>
</div>
<a class="anchor" id="a023bdfa62ef4903f6cb06620cea8ef10"></a><!-- doxytag: member="EchoLink::StationData::id" ref="a023bdfa62ef4903f6cb06620cea8ef10" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int EchoLink::StationData::id </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the <a class="el" href="namespaceEchoLink.html" title="Namespace to encapsulate EchoLink communication classes.">EchoLink</a> ID number. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the <a class="el" href="namespaceEchoLink.html" title="Namespace to encapsulate EchoLink communication classes.">EchoLink</a> ID number </dd></dl>

<p>Definition at line <a class="el" href="EchoLinkStationData_8h_source.html#l00227">227</a> of file <a class="el" href="EchoLinkStationData_8h_source.html">EchoLinkStationData.h</a>.</p>

</div>
</div>
<a class="anchor" id="a0c75c2fecd54d13358a2671eeee995fe"></a><!-- doxytag: member="EchoLink::StationData::ip" ref="a0c75c2fecd54d13358a2671eeee995fe" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const Async::IpAddress EchoLink::StationData::ip </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the IP address. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the IP address </dd></dl>

<p>Definition at line <a class="el" href="EchoLinkStationData_8h_source.html#l00239">239</a> of file <a class="el" href="EchoLinkStationData_8h_source.html">EchoLinkStationData.h</a>.</p>

</div>
</div>
<a class="anchor" id="acd54b9aed669e5a32eaed5e406a95b44"></a><!-- doxytag: member="EchoLink::StationData::ipStr" ref="acd54b9aed669e5a32eaed5e406a95b44" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string EchoLink::StationData::ipStr </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the string representation of the IP address. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the string representation of the IP address </dd></dl>

<p>Definition at line <a class="el" href="EchoLinkStationData_8h_source.html#l00245">245</a> of file <a class="el" href="EchoLinkStationData_8h_source.html">EchoLinkStationData.h</a>.</p>

</div>
</div>
<a class="anchor" id="a11c8c345e0690151390b7f900a403703"></a><!-- doxytag: member="EchoLink::StationData::operator=" ref="a11c8c345e0690151390b7f900a403703" args="(const StationData &amp;rhs)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classEchoLink_1_1StationData.html">StationData</a>&amp; EchoLink::StationData::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classEchoLink_1_1StationData.html">StationData</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>rhs</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Assignment operator. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>rhs</em>&nbsp;</td><td>Right Hand Side expression </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns a reference to this object </dd></dl>

</div>
</div>
<a class="anchor" id="a1a567489708199b6669addda85a5b3d4"></a><!-- doxytag: member="EchoLink::StationData::setCallsign" ref="a1a567489708199b6669addda85a5b3d4" args="(const std::string &amp;callsign)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void EchoLink::StationData::setCallsign </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&nbsp;</td>
          <td class="paramname"> <em>callsign</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the callsign. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>callsign</em>&nbsp;</td><td>The callsign to set </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ae00c666f638eba9381c0ce159d6c493e"></a><!-- doxytag: member="EchoLink::StationData::setData" ref="ae00c666f638eba9381c0ce159d6c493e" args="(const char *data)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void EchoLink::StationData::setData </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>data</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set station data from a string as represented in the directory server. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>data</em>&nbsp;</td><td>The data to set</td></tr>
  </table>
  </dd>
</dl>
<p>This function is used to set status, time and description from a string that have a representation like in the reply from the directory server. The only use for this function is probably when parsing a reply from the directory server. Use setStatus, setTime and setDescription for normal use. </p>

</div>
</div>
<a class="anchor" id="a2973108b052a76e9ead3ea7c0bb500a7"></a><!-- doxytag: member="EchoLink::StationData::setDescription" ref="a2973108b052a76e9ead3ea7c0bb500a7" args="(const std::string &amp;desc)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void EchoLink::StationData::setDescription </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&nbsp;</td>
          <td class="paramname"> <em>desc</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the description/location string. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>desc</em>&nbsp;</td><td>The description string to set </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="EchoLinkStationData_8h_source.html#l00209">209</a> of file <a class="el" href="EchoLinkStationData_8h_source.html">EchoLinkStationData.h</a>.</p>

</div>
</div>
<a class="anchor" id="a29bbece5ba8c8b279e845ca7610e5c81"></a><!-- doxytag: member="EchoLink::StationData::setId" ref="a29bbece5ba8c8b279e845ca7610e5c81" args="(int id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void EchoLink::StationData::setId </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>id</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the <a class="el" href="namespaceEchoLink.html" title="Namespace to encapsulate EchoLink communication classes.">EchoLink</a> ID number. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>id</em>&nbsp;</td><td>The new id </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="EchoLinkStationData_8h_source.html#l00221">221</a> of file <a class="el" href="EchoLinkStationData_8h_source.html">EchoLinkStationData.h</a>.</p>

</div>
</div>
<a class="anchor" id="a04ad1710bba0953f3c6de4e226180d60"></a><!-- doxytag: member="EchoLink::StationData::setIp" ref="a04ad1710bba0953f3c6de4e226180d60" args="(const Async::IpAddress &amp;ip)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void EchoLink::StationData::setIp </td>
          <td>(</td>
          <td class="paramtype">const Async::IpAddress &amp;&nbsp;</td>
          <td class="paramname"> <em>ip</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the IP address. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>ip</em>&nbsp;</td><td>The IP address to set </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="EchoLinkStationData_8h_source.html#l00233">233</a> of file <a class="el" href="EchoLinkStationData_8h_source.html">EchoLinkStationData.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac2d1270a90cbdf10f5eb9a520bee6f65"></a><!-- doxytag: member="EchoLink::StationData::setStatus" ref="ac2d1270a90cbdf10f5eb9a520bee6f65" args="(Status status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void EchoLink::StationData::setStatus </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classEchoLink_1_1StationData.html#a1655d3dd8609fadfb3f2eddfd870f684">Status</a>&nbsp;</td>
          <td class="paramname"> <em>status</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the status. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>The new status to set </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="EchoLinkStationData_8h_source.html#l00179">179</a> of file <a class="el" href="EchoLinkStationData_8h_source.html">EchoLinkStationData.h</a>.</p>

</div>
</div>
<a class="anchor" id="aa835b839b20c1d30ef9a9b6688e0dd57"></a><!-- doxytag: member="EchoLink::StationData::setTime" ref="aa835b839b20c1d30ef9a9b6688e0dd57" args="(const std::string &amp;time)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void EchoLink::StationData::setTime </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&nbsp;</td>
          <td class="paramname"> <em>time</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the time. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>time</em>&nbsp;</td><td>The time to set </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="EchoLinkStationData_8h_source.html#l00197">197</a> of file <a class="el" href="EchoLinkStationData_8h_source.html">EchoLinkStationData.h</a>.</p>

</div>
</div>
<a class="anchor" id="af05a337a549b33d944be2335d1e1cf22"></a><!-- doxytag: member="EchoLink::StationData::status" ref="af05a337a549b33d944be2335d1e1cf22" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classEchoLink_1_1StationData.html#a1655d3dd8609fadfb3f2eddfd870f684">Status</a> EchoLink::StationData::status </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the status. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the status </dd></dl>

<p>Definition at line <a class="el" href="EchoLinkStationData_8h_source.html#l00185">185</a> of file <a class="el" href="EchoLinkStationData_8h_source.html">EchoLinkStationData.h</a>.</p>

</div>
</div>
<a class="anchor" id="a42fbfddcca09a603be8da20246451b97"></a><!-- doxytag: member="EchoLink::StationData::statusStr" ref="a42fbfddcca09a603be8da20246451b97" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string EchoLink::StationData::statusStr </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return the string representation of the status. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns a string representation of the status </dd></dl>

<p>Definition at line <a class="el" href="EchoLinkStationData_8h_source.html#l00191">191</a> of file <a class="el" href="EchoLinkStationData_8h_source.html">EchoLinkStationData.h</a>.</p>

<p>References <a class="el" href="EchoLinkStationData_8h_source.html#l00191">statusStr()</a>.</p>

<p>Referenced by <a class="el" href="EchoLinkStationData_8h_source.html#l00191">statusStr()</a>.</p>

</div>
</div>
<a class="anchor" id="a923060ee76a2a02071f70315cca2da64"></a><!-- doxytag: member="EchoLink::StationData::statusStr" ref="a923060ee76a2a02071f70315cca2da64" args="(Status status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static std::string EchoLink::StationData::statusStr </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classEchoLink_1_1StationData.html#a1655d3dd8609fadfb3f2eddfd870f684">Status</a>&nbsp;</td>
          <td class="paramname"> <em>status</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Translate a status code to a string. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>The status code to translate </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the string representation of the given status code </dd></dl>

</div>
</div>
<a class="anchor" id="aabd87724760a8033bee8330790e1333b"></a><!-- doxytag: member="EchoLink::StationData::time" ref="aabd87724760a8033bee8330790e1333b" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const std::string&amp; EchoLink::StationData::time </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the time. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the time </dd></dl>

<p>Definition at line <a class="el" href="EchoLinkStationData_8h_source.html#l00203">203</a> of file <a class="el" href="EchoLinkStationData_8h_source.html">EchoLinkStationData.h</a>.</p>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="ac5b51e86d758abe2064bd75e4501c0f9"></a><!-- doxytag: member="EchoLink::StationData::operator&lt;&lt;" ref="ac5b51e86d758abe2064bd75e4501c0f9" args="(std::ostream &amp;os, const StationData &amp;station)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::ostream&amp; operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype">std::ostream &amp;&nbsp;</td>
          <td class="paramname"> <em>os</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classEchoLink_1_1StationData.html">StationData</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>station</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Output stream operator. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>os</em>&nbsp;</td><td>The stream to output data to </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>station</em>&nbsp;</td><td>The station data to output to the stream </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="ac6b2dc651fd4028de47bea5dd260f0a3"></a><!-- doxytag: member="EchoLink::StationData::MAXCALL" ref="ac6b2dc651fd4028de47bea5dd260f0a3" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const int <a class="el" href="classEchoLink_1_1StationData.html#ac6b2dc651fd4028de47bea5dd260f0a3">EchoLink::StationData::MAXCALL</a> = 15<code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The maximum length of a callsign. </p>

<p>Definition at line <a class="el" href="EchoLinkStationData_8h_source.html#l00122">122</a> of file <a class="el" href="EchoLinkStationData_8h_source.html">EchoLinkStationData.h</a>.</p>

</div>
</div>
<a class="anchor" id="ab33f6fa14165f26f8a5ae614f1d733a0"></a><!-- doxytag: member="EchoLink::StationData::MAXDATA" ref="ab33f6fa14165f26f8a5ae614f1d733a0" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const int <a class="el" href="classEchoLink_1_1StationData.html#ab33f6fa14165f26f8a5ae614f1d733a0">EchoLink::StationData::MAXDATA</a> = 45<code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The maximum length of the data field. </p>

<p>Definition at line <a class="el" href="EchoLinkStationData_8h_source.html#l00123">123</a> of file <a class="el" href="EchoLinkStationData_8h_source.html">EchoLinkStationData.h</a>.</p>

</div>
</div>
<a class="anchor" id="a17b97c51ca07fe153e53aba1261c1551"></a><!-- doxytag: member="EchoLink::StationData::MAXDESC" ref="a17b97c51ca07fe153e53aba1261c1551" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const int <a class="el" href="classEchoLink_1_1StationData.html#a17b97c51ca07fe153e53aba1261c1551">EchoLink::StationData::MAXDESC</a> = 27<code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The maximum length of a description. </p>

<p>Definition at line <a class="el" href="EchoLinkStationData_8h_source.html#l00124">124</a> of file <a class="el" href="EchoLinkStationData_8h_source.html">EchoLinkStationData.h</a>.</p>

</div>
</div>
<a class="anchor" id="a9f2dd0fe0e3efa908ed28c2d736c0ab1"></a><!-- doxytag: member="EchoLink::StationData::MAXID" ref="a9f2dd0fe0e3efa908ed28c2d736c0ab1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const int <a class="el" href="classEchoLink_1_1StationData.html#a9f2dd0fe0e3efa908ed28c2d736c0ab1">EchoLink::StationData::MAXID</a> = 7<code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The maximum length of the id field. </p>

<p>Definition at line <a class="el" href="EchoLinkStationData_8h_source.html#l00125">125</a> of file <a class="el" href="EchoLinkStationData_8h_source.html">EchoLinkStationData.h</a>.</p>

</div>
</div>
<a class="anchor" id="a0f48cb1ee95f647529959545022dee44"></a><!-- doxytag: member="EchoLink::StationData::MAXIP" ref="a0f48cb1ee95f647529959545022dee44" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const int <a class="el" href="classEchoLink_1_1StationData.html#a0f48cb1ee95f647529959545022dee44">EchoLink::StationData::MAXIP</a> = 20<code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The maximum length of the ip address. </p>

<p>Definition at line <a class="el" href="EchoLinkStationData_8h_source.html#l00126">126</a> of file <a class="el" href="EchoLinkStationData_8h_source.html">EchoLinkStationData.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="EchoLinkStationData_8h_source.html">EchoLinkStationData.h</a></li>
</ul>
</div>
<hr class="footer"/><address style="text-align: right;"><small>Generated by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2-20100208 </small></address>
</body>
</html>