30 #ifndef ECHOLINK_STATION_DATA_INCLUDED
31 #define ECHOLINK_STATION_DATA_INCLUDED
40 #include <netinet/in.h>
51 #include <AsyncIpAddress.h>
160 const std::string&
callsign(
void)
const {
return m_callsign; }
203 const std::string&
time(
void)
const {
return m_time; }
215 const std::string&
description(
void)
const {
return m_description; }
227 int id(
void)
const {
return m_id; }
239 const Async::IpAddress
ip(
void)
const {
return m_ip; }
245 std::string
ipStr(
void)
const {
return m_ip.toString(); }
259 std::string
code(
void)
const {
return m_code; }
270 return m_callsign < rhs.m_callsign;
278 friend std::ostream&
operator<<(std::ostream& os,
285 std::string m_callsign;
288 std::string m_description;
290 Async::IpAddress m_ip;
293 void removeTrailingSpaces(std::string& str);
294 std::string callToCode(
const std::string& call);