libdballe  6.8
Public Member Functions | Data Fields
dballe::memdb::Station Struct Reference

Station information. More...

#include <station.h>

Public Member Functions

 Station (size_t id, const Coord &coords, const std::string &report)
 
 Station (size_t id, double lat, double lon, const std::string &report)
 
 Station (size_t id, const Coord &coords, const std::string &ident, const std::string &report)
 
 Station (size_t id, double lat, double lon, const std::string &ident, const std::string &report)
 
msg::Contextfill_msg (Msg &msg) const
 Fill lat, lon, report information, message type (from report) and identifier in msg. More...
 
bool operator< (const Station &o) const
 
bool operator> (const Station &o) const
 
bool operator== (const Station &o) const
 
bool operator!= (const Station &o) const
 

Data Fields

size_t id
 
Coord coords
 
bool mobile
 
std::string ident
 
std::string report
 

Detailed Description

Station information.

Member Function Documentation

msg::Context& dballe::memdb::Station::fill_msg ( Msg msg) const

Fill lat, lon, report information, message type (from report) and identifier in msg.

Return the station level in msg, so further changes to msg will not need to look it up again.


The documentation for this struct was generated from the following file: