mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 16:40:05 +00:00
Expose additional fields from level 2 and level 3 files
This commit is contained in:
parent
8f362cc881
commit
3829b77994
4 changed files with 16 additions and 3 deletions
|
|
@ -72,6 +72,12 @@ uint32_t Ar2vFile::milliseconds() const
|
|||
{
|
||||
return p->milliseconds_;
|
||||
}
|
||||
|
||||
std::string Ar2vFile::icao() const
|
||||
{
|
||||
return p->icao_;
|
||||
}
|
||||
|
||||
std::chrono::system_clock::time_point Ar2vFile::start_time() const
|
||||
{
|
||||
return util::TimePoint(p->julianDate_, p->milliseconds_);
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
#include <scwx/wsr88d/level3_file.hpp>
|
||||
#include <scwx/awips/wmo_header.hpp>
|
||||
#include <scwx/wsr88d/rpg/ccb_header.hpp>
|
||||
#include <scwx/wsr88d/rpg/level3_message_factory.hpp>
|
||||
|
||||
|
|
@ -39,6 +38,11 @@ Level3File::~Level3File() = default;
|
|||
Level3File::Level3File(Level3File&&) noexcept = default;
|
||||
Level3File& Level3File::operator=(Level3File&&) noexcept = default;
|
||||
|
||||
std::shared_ptr<awips::WmoHeader> Level3File::wmo_header() const
|
||||
{
|
||||
return p->wmoHeader_;
|
||||
}
|
||||
|
||||
std::shared_ptr<rpg::Level3Message> Level3File::message() const
|
||||
{
|
||||
return p->message_;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue